Fix build error on loongarch64
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
This commit is contained in:
parent
404c7e8a36
commit
876d1e8180
@ -1,7 +1,7 @@
|
|||||||
Summary: A high-performance implementation of MPI
|
Summary: A high-performance implementation of MPI
|
||||||
Name: mpich
|
Name: mpich
|
||||||
Version: 4.0.3
|
Version: 4.0.3
|
||||||
Release: 2
|
Release: 3
|
||||||
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
|
||||||
@ -66,7 +66,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 loongarch64
|
||||||
%global m_option ""
|
%global m_option ""
|
||||||
%else
|
%else
|
||||||
%global m_option -m64
|
%global m_option -m64
|
||||||
@ -201,6 +201,9 @@ make check V=1
|
|||||||
%{python3_sitearch}/mpich.pth
|
%{python3_sitearch}/mpich.pth
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 23 2023 huajingyun <huajingyun@loongson.cn> - 4.0.3-3
|
||||||
|
- Fix build error on loongarch64
|
||||||
|
|
||||||
* Mon Feb 06 2023 wulei <wulei80@h-partners.com> - 4.0.3-2
|
* Mon Feb 06 2023 wulei <wulei80@h-partners.com> - 4.0.3-2
|
||||||
- Add /usr/lib64/mpich/bin/mpif77 /usr/lib64/mpich/bin/mpif90 /usr/lib64/mpich/bin/mpifort
|
- Add /usr/lib64/mpich/bin/mpif77 /usr/lib64/mpich/bin/mpif90 /usr/lib64/mpich/bin/mpifort
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user