!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
|
Summary: A high-performance implementation of MPI
|
||||||
Name: mpich
|
Name: mpich
|
||||||
Version: 3.2.1
|
Version: 3.2.1
|
||||||
Release: 14
|
Release: 15
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.mpich.org/
|
URL: http://www.mpich.org/
|
||||||
Source0: http://www.mpich.org/static/downloads/%{version}/mpich-%{version}.tar.gz
|
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
|
Patch3: 0003-soften-version-check.patch
|
||||||
Patch4: fix-hwloc-undeclared.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
|
BuildRequires: python3-devel automake
|
||||||
|
|
||||||
|
%ifarch %valgrind_arches
|
||||||
|
BuildRequires: valgrind-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
Provides: mpi
|
Provides: mpi
|
||||||
Provides: mpich2 = %{version}
|
Provides: mpich2 = %{version}
|
||||||
Obsoletes: mpich2 < 3.0
|
Obsoletes: mpich2 < 3.0
|
||||||
@ -67,7 +72,7 @@ mpich support for Python 3.
|
|||||||
%{!?opt_fc_fflags: %global opt_fc_fflags %{optflags}}
|
%{!?opt_fc_fflags: %global opt_fc_fflags %{optflags}}
|
||||||
%{!?opt_f77_fflags: %global opt_f77_fflags %{optflags}}
|
%{!?opt_f77_fflags: %global opt_f77_fflags %{optflags}}
|
||||||
|
|
||||||
%ifarch aarch64
|
%ifarch aarch64 sw_64 loongarch64
|
||||||
%global m_option ""
|
%global m_option ""
|
||||||
%else
|
%else
|
||||||
%global m_option -m64
|
%global m_option -m64
|
||||||
@ -203,6 +208,9 @@ make check V=1
|
|||||||
%{python3_sitearch}/mpich.pth
|
%{python3_sitearch}/mpich.pth
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jun 17 2022 baizhonggui <baizhonggui@h-partners.com> - 3.2.1-14
|
||||||
- Fix hwloc undeclared
|
- Fix hwloc undeclared
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user