!31 fix build error for loongarch64

From: @huajingyun 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-07-18 12:42:07 +00:00 committed by Gitee
commit 2cd42dabd3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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