Switch to use %{valgrind_arches}
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
3f7c9a8456
commit
302cec0581
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue