SHA256
1
0
forked from pool/mvapich2
mvapich2/macros.hpc-mvapich2
Nicolas Morey-Chaisemartin 7365998b51 Accepting request 532074 from science:HPC:EnvMod
- Add BuildRequires to libibmad-devel for older release (SLE <= 12.2, Leap <= 42.2)

- Add HPC specific build targets using environment modules
  (FATE#321712).

OBS-URL: https://build.opensuse.org/request/show/532074
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=23
2017-10-06 06:44:19 +00:00

21 lines
578 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}
# We may have to add a version here.
%hpc_setup_mvapich2 \
module load mvapich2
%hpc_mvapich2_requires \
Requires: mvapich2%{hpc_mvapich2_dep_version}-%{compiler_family}%{hpc_cf_pack_version}-hpc
%hpc_mvapich2_requires_devel \
Requires: mvapich2%{hpc_mvapich2_dep_version}-%{compiler_family}%{hpc_cf_pack_version}-hpc-devel