!34 [sync] PR-33: add loongarch64 and sw_64 support
From: @openeuler-sync-bot Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
ee494dc8b4
14
mpich.spec
14
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 <panchenbo@kylinsec.com.cn> - 3.2.1-15
|
||||
- add loongarch64 and sw_64 support
|
||||
|
||||
* Fri Jun 17 2022 baizhonggui <baizhonggui@h-partners.com> - 3.2.1-14
|
||||
- Fix hwloc undeclared
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user