Accepting request 818263 from home:ealin:branches:science
- add openmpi4 packages to build and disable build for leap OBS-URL: https://build.opensuse.org/request/show/818263 OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=133
This commit is contained in:
20
hdf5.spec
20
hdf5.spec
@@ -25,6 +25,10 @@
|
||||
%define DisOMPI3 ExclusiveArch: do_not_build
|
||||
%endif
|
||||
|
||||
%if 0%{?sle_version:1} && 0%{?sle_version} < 150300
|
||||
%define DisOMPI4 ExclusiveArch: do_not_build
|
||||
%endif
|
||||
|
||||
# Disable until resource issue is resolved.
|
||||
%bcond_with check
|
||||
|
||||
@@ -67,6 +71,13 @@ ExclusiveArch: do_not_build
|
||||
%bcond_with hpc
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "openmpi4"
|
||||
%{?DisOMPI4}
|
||||
%global mpi_flavor openmpi
|
||||
%define mpi_vers 4
|
||||
%bcond_with hpc
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "mvapich2"
|
||||
%global mpi_flavor %{flavor}
|
||||
%bcond_with hpc
|
||||
@@ -112,6 +123,15 @@ ExclusiveArch: do_not_build
|
||||
%define mpi_vers 3
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu-openmpi4-hpc"
|
||||
%{?DisOMPI4}
|
||||
%bcond_without hpc
|
||||
%define compiler_family gnu
|
||||
%undefine c_f_ver
|
||||
%global mpi_flavor openmpi
|
||||
%define mpi_vers 4
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu-mpich-hpc"
|
||||
%bcond_without hpc
|
||||
%define compiler_family gnu
|
||||
|
Reference in New Issue
Block a user