first check if Valgrind supports the architecture
This commit is contained in:
parent
7d3b7f398c
commit
622c4b1362
10
mpich.spec
10
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: 4.0.3
|
Version: 4.0.3
|
||||||
Release: 4
|
Release: 5
|
||||||
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
|
||||||
@ -10,7 +10,10 @@ Source2: mpich.pth.py3
|
|||||||
Patch0: mpich-modules.patch
|
Patch0: mpich-modules.patch
|
||||||
Patch1: remove_json_c_conflict_glibc.patch
|
Patch1: remove_json_c_conflict_glibc.patch
|
||||||
|
|
||||||
BuildRequires: gcc gcc-c++ gcc-gfortran hwloc-devel >= 1.8 valgrind-devel
|
BuildRequires: gcc gcc-c++ gcc-gfortran hwloc-devel >= 1.8
|
||||||
|
%ifarch "%{valgrind_arches}"
|
||||||
|
BuildRequires: valgrind-devel
|
||||||
|
%endif
|
||||||
BuildRequires: python3-devel automake
|
BuildRequires: python3-devel automake
|
||||||
Provides: mpi
|
Provides: mpi
|
||||||
Provides: mpich2 = %{version}
|
Provides: mpich2 = %{version}
|
||||||
@ -201,6 +204,9 @@ make check V=1
|
|||||||
%{python3_sitearch}/mpich.pth
|
%{python3_sitearch}/mpich.pth
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Apr 28 2024 yinsist <jianhui.oerv@isrc.iscas.ac.cn> - 4.0.3-5
|
||||||
|
- Valgrind does not support certain architectures like RISC-V, Before depending on Valgrind, first check if Valgrind supports the architecture
|
||||||
|
|
||||||
* Thu Jul 27 2023 misaka00251 <liuxin@iscas.ac.cn> - 4.0.3-4
|
* Thu Jul 27 2023 misaka00251 <liuxin@iscas.ac.cn> - 4.0.3-4
|
||||||
- Fix build error on riscv64
|
- Fix build error on riscv64
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user