forked from pool/openmpi4
Nicolas Morey
ef280a72e3
- Add openmpi4-C99.diff to fix the most egregious type violations that not only prevent building the standard flavor with GCC 14 opn i586 but that are just bugs too. If the request looks OK, please forward it to Factory soon so that we can switch the default compiler. Thanks! OBS-URL: https://build.opensuse.org/request/show/1190305 OBS-URL: https://build.opensuse.org/package/show/science:HPC/openmpi4?expand=0&rev=36
22 lines
679 B
Plaintext
22 lines
679 B
Plaintext
#
|
|
# openmpi
|
|
#
|
|
|
|
%hpc_openmpi_init(V:) \
|
|
%{-V: %define _mf_ver %{-V*}} \
|
|
%{expand: %%global hpc_openmpi_dep_version %%{?_mf_ver}%%{?!_mf_ver:3}} \
|
|
%{expand: %%global hpc_openmpi_dir openmpi%{hpc_openmpi_dep_version}} \
|
|
%{expand: %%global hpc_openmpi_pack_version %{hpc_openmpi_dep_version}} \
|
|
%{expand: %%global _hpc_openmpi_modules openmpi}
|
|
|
|
# We may have to add a version here.
|
|
%hpc_setup_openmpi \
|
|
module load openmpi
|
|
|
|
%hpc_openmpi_requires \
|
|
Requires: libopenmpi%{hpc_openmpi_dep_version}-%{hpc_compiler_family}%{hpc_cf_pack_version}-hpc
|
|
|
|
%hpc_openmpi_requires_devel \
|
|
Requires: openmpi%{hpc_openmpi_dep_version}-%{hpc_compiler_family}%{hpc_cf_pack_version}-hpc-devel
|
|
|