diff --git a/mpich.spec b/mpich.spec index 703062c9c5e845c9e50f44387dcfed74dacc2144..e3a61b7edaa7970dcd32d029fdefbb0171c8e268 100644 --- a/mpich.spec +++ b/mpich.spec @@ -1,7 +1,7 @@ Summary: A high-performance implementation of MPI Name: mpich Version: 3.2.1 -Release: 14 +Release: 15 License: MIT URL: http://www.mpich.org/ Source0: http://www.mpich.org/static/downloads/%{version}/mpich-%{version}.tar.gz @@ -11,8 +11,13 @@ Patch0: mpich-modules.patch Patch3: 0003-soften-version-check.patch Patch4: fix-hwloc-undeclared.patch -BuildRequires: gcc gcc-c++ gcc-gfortran hwloc-devel >= 1.8 valgrind-devel +BuildRequires: gcc gcc-c++ gcc-gfortran hwloc-devel >= 1.8 BuildRequires: python3-devel automake + +%ifarch %valgrind_arches +BuildRequires: valgrind-devel +%endif + Provides: mpi Provides: mpich2 = %{version} Obsoletes: mpich2 < 3.0 @@ -67,7 +72,7 @@ mpich support for Python 3. %{!?opt_fc_fflags: %global opt_fc_fflags %{optflags}} %{!?opt_f77_fflags: %global opt_f77_fflags %{optflags}} -%ifarch aarch64 +%ifarch aarch64 sw_64 loongarch64 %global m_option "" %else %global m_option -m64 @@ -203,6 +208,9 @@ make check V=1 %{python3_sitearch}/mpich.pth %changelog +* Tue Aug 22 2023 panchenbo - 3.2.1-15 +- add loongarch64 and sw_64 support + * Fri Jun 17 2022 baizhonggui - 3.2.1-14 - Fix hwloc undeclared