SHA256
1
0
forked from pool/openmpi4
openmpi4/macros.hpc-openmpi
Nicolas Morey ef280a72e3 Accepting request 1190305 from home:jamborm:gcc14test-m
- 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
2024-08-05 15:10:24 +00:00

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