Fix build error on riscv64
Signed-off-by: misaka00251 <liuxin@iscas.ac.cn>
This commit is contained in:
parent
2cd42dabd3
commit
6e4bbda1ef
@ -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: 3
|
Release: 4
|
||||||
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 loongarch64
|
%ifarch aarch64 loongarch64 riscv64
|
||||||
%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
|
||||||
|
* Thu Jul 27 2023 misaka00251 <liuxin@iscas.ac.cn> - 4.0.3-4
|
||||||
|
- Fix build error on riscv64
|
||||||
|
|
||||||
* Tue May 23 2023 huajingyun <huajingyun@loongson.cn> - 4.0.3-3
|
* Tue May 23 2023 huajingyun <huajingyun@loongson.cn> - 4.0.3-3
|
||||||
- Fix build error on loongarch64
|
- Fix build error on loongarch64
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user