Accepting request 563894 from home:eeich:branches:fix-compilers-hpc
- Disable the openmpi3 flavor in some products. OBS-URL: https://build.opensuse.org/request/show/563894 OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=60
This commit is contained in:
10
hdf5.spec
10
hdf5.spec
@@ -18,6 +18,12 @@
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
|
||||
%if 0%{?is_opensuse} || 0%{?is_backports}
|
||||
%undefine DisOMPI3
|
||||
%else
|
||||
%define DisOMPI3 ExclusiveArch: do_not_build
|
||||
%endif
|
||||
|
||||
#
|
||||
%define _do_check 1
|
||||
%define use_sz2 0
|
||||
@@ -58,6 +64,7 @@ ExclusiveArch: do_not_build
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu-openmpi-hpc"
|
||||
%{?DisOMPI1}
|
||||
%bcond_without hpc
|
||||
%define compiler_family gnu
|
||||
%undefine c_f_ver
|
||||
@@ -73,6 +80,7 @@ ExclusiveArch: do_not_build
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu-openmpi3-hpc"
|
||||
%{?DisOMPI3}
|
||||
%bcond_without hpc
|
||||
%define compiler_family gnu
|
||||
%undefine c_f_ver
|
||||
@@ -95,6 +103,7 @@ ExclusiveArch: do_not_build
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu7-openmpi-hpc"
|
||||
%{?DisOMPI1}
|
||||
%bcond_without hpc
|
||||
%define compiler_family gnu
|
||||
%define c_f_ver 7
|
||||
@@ -110,6 +119,7 @@ ExclusiveArch: do_not_build
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu7-openmpi3-hpc"
|
||||
%{?DisOMPI3}
|
||||
%bcond_without hpc
|
||||
%define compiler_family gnu
|
||||
%define c_f_ver 7
|
||||
|
Reference in New Issue
Block a user