Switch to use %{valgrind_arches}

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-06-01 14:32:33 +02:00
parent 3f7c9a8456
commit 302cec0581
Signed by: davidlt
GPG Key ID: 7108702C938B13C1
1 changed files with 6 additions and 3 deletions

View File

@ -21,7 +21,7 @@
Name: openmpi%{?_cc_name_suffix}
Version: 2.1.1
Release: 11%{?dist}
Release: 11.0.riscv64%{?dist}
Summary: Open Message Passing Interface
Group: Development/Libraries
License: BSD and MIT and Romio
@ -40,7 +40,7 @@ Source4: macros.openmpi
Patch0: openmpi-2.1.1-disable-fifo-test.patch
BuildRequires: gcc-gfortran
%ifnarch s390 s390x
%ifarch %{valgrind_arches}
BuildRequires: valgrind-devel
%endif
%ifnarch s390 s390x %{arm}
@ -167,7 +167,7 @@ OpenMPI support for Python 3.
%endif
--enable-mpi-java \
--with-sge \
%ifnarch s390 s390x
%ifarch %{valgrind_arches}
--with-valgrind \
--enable-memchecker \
%endif
@ -315,6 +315,9 @@ make check
%changelog
* Fri Jun 01 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 2.1.1-11.0.riscv64
- Switch to use %{valgrind_arches}
* Thu May 10 2018 Troy Dawson <tdawson@redhat.com> - 2.1.1-11
- Build with rdma-core-devel instead of libibcm-devel