diff --git a/mpich.spec b/mpich.spec index e7f7ad5040cebfca063807c8ebd67972436452ee..19366f8e7e74e2892e94a8d07425bb367a88a8c5 100644 --- a/mpich.spec +++ b/mpich.spec @@ -1,7 +1,7 @@ Summary: A high-performance implementation of MPI Name: mpich Version: 4.0.3 -Release: 5 +Release: 6 License: MIT URL: http://www.mpich.org/ Source0: http://www.mpich.org/static/downloads/%{version}/mpich-%{version}.tar.gz @@ -10,7 +10,10 @@ Source2: mpich.pth.py3 Patch0: mpich-modules.patch Patch1: remove_json_c_conflict_glibc.patch -BuildRequires: gcc gcc-c++ gcc-gfortran hwloc-devel >= 1.8 valgrind-devel +BuildRequires: gcc gcc-c++ gcc-gfortran hwloc-devel >= 1.8 +%ifarch %{valgrind_arches} +BuildRequires: valgrind-devel +%endif BuildRequires: python3-devel automake Provides: mpi Provides: mpich2 = %{version} @@ -208,6 +211,9 @@ make check V=1 %{python3_sitearch}/mpich.pth %changelog +* Sat Sep 28 2024 laokz - 4.0.3-6 +- Let buildrequire:valgrind depend on system macros + * Tue Jul 23 2024 yuanlipeng - 4.0.3-5 - Fix build failure due to automake upgrade