Properly check for valgrind arch

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-03-23 10:26:47 +02:00
parent db223e3554
commit d52283e195
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Summary: A high-performance implementation of MPI
Name: mpich
Version: 4.0.3
Release: %autorelease
Release: %autorelease -e 0.riscv64
License: MIT
URL: https://www.mpich.org/
@ -35,7 +35,7 @@ BuildRequires: ucx-devel
%endif
# For ./maint/extractcvars
BuildRequires: perl(lib)
%ifnarch s390 %{mips}
%ifarch %{valgrind_arches}
BuildRequires: valgrind-devel
%endif
# For %%{python3_sitearch}