let BuildRequire valgrind depend on system %{valgrind_arches}
This commit is contained in:
parent
5b0ef2ca48
commit
3eb32945aa
13
openmpi.spec
13
openmpi.spec
@ -1,6 +1,6 @@
|
||||
Name: openmpi
|
||||
Version: 4.1.5
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: Open Source High Performance Computing
|
||||
License: BSD-3-Clause
|
||||
URL: http://www.open-mpi.org/
|
||||
@ -14,7 +14,10 @@ Patch1001: 0001-add-loongarch64-support-for-openmpi.patch
|
||||
%endif
|
||||
|
||||
BuildRequires: gcc-c++, gcc-gfortran
|
||||
BuildRequires: valgrind-devel, hwloc-devel, java-devel, libfabric-devel, papi-devel
|
||||
%ifarch %{valgrind_arches}
|
||||
BuildRequires: valgrind-devel
|
||||
%endif
|
||||
BuildRequires: hwloc-devel, java-devel, libfabric-devel, papi-devel
|
||||
BuildRequires: libibverbs-devel >= 1.1.3, opensm-devel > 3.3.0
|
||||
BuildRequires: librdmacm librdmacm-devel, rdma-core-devel, pmix-devel
|
||||
BuildRequires: hwloc-gui chrpath
|
||||
@ -92,14 +95,15 @@ This contains man files for the using of openmpi.
|
||||
--sysconfdir=%{_sysconfdir}/%{name_all} \
|
||||
--disable-silent-rules \
|
||||
--enable-builtin-atomics \
|
||||
--enable-memchecker \
|
||||
--enable-mpi-thread-multiple \
|
||||
--enable-mpi-cxx \
|
||||
--enable-mpi-java \
|
||||
--enable-mpi1-compatibility \
|
||||
--with-sge \
|
||||
%ifarch %{valgrind_arches}
|
||||
--with-valgrind \
|
||||
--enable-memchecker \
|
||||
%endif
|
||||
--with-hwloc=/usr \
|
||||
--with-pmix=external \
|
||||
--with-libevent=external \
|
||||
@ -226,6 +230,9 @@ make check
|
||||
%{_mandir}/%{name_all}/man*/*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 05 2024 laokz <zhangkai@iscas.ac.cn> - 4.1.5-5
|
||||
- let BuildRequire valgrind depend on system %{valgrind_arches}
|
||||
|
||||
* Tue Jan 16 2024 peng.zou <peng.zou@shingroup.cn> - 4.1.5-4
|
||||
- Add ppc64le support
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user