SHA256
1
0
forked from pool/mvapich2
mvapich2/macros.hpc-mvapich2
Nicolas Morey 13e60bd8b4 - Add patches to fix compilation errors with GCC >= 14:
- mrail-fix-incompatible-pointer-issues.patch
  - util-add-missing-include.patch
  - psm-add-missing-declaration.patch
- Refresh 0001-Drop-real128.patch to work with patch -p0
- Switch to autopatch

OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=103
2024-09-05 10:05:51 +00:00

22 lines
640 B
Plaintext

#
# mvapich2
#
%hpc_mvapich2_init(V:) \
%{-V: %define _mf_ver %{-V*}} \
%{expand: %%global hpc_mvapich2_dep_version %%{?_mf_ver}} \
%{expand: %%global hpc_mvapich2_dir mvapich2} \
%global hpc_mvapich2_pack_version %{hpc_mvapich2_dep_version} \
%{expand: %%global _hpc_mvapich2_modules mvapich2}
# We may have to add a version here.
%hpc_setup_mvapich2 \
module load mvapich2
%hpc_mvapich2_requires \
Requires: mvapich2%{hpc_mvapich2_dep_version}-%{hpc_compiler_family}%{hpc_cf_pack_version}-hpc
%hpc_mvapich2_requires_devel \
Requires: mvapich2%{hpc_mvapich2_dep_version}-%{hpc_compiler_family}%{hpc_cf_pack_version}-hpc-devel