diff --git a/hdf5.changes b/hdf5.changes index 2552a3c..f9cfe7c 100644 --- a/hdf5.changes +++ b/hdf5.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 20 14:48:42 UTC 2020 - Egbert Eich + +- Add missing openmpi4 flavors. +- Enable build of non-HPC flavors for all non-HPC builds. + ------------------------------------------------------------------- Wed Jun 24 07:32:58 UTC 2020 - Alin M Elena diff --git a/hdf5.spec b/hdf5.spec index a7a8af9..ea1b977 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -180,6 +180,15 @@ ExclusiveArch: do_not_build %define mpi_vers 3 %endif +%if "%{flavor}" == "gnu7-openmpi4-hpc" +%{?DisOMPI4} +%bcond_without hpc +%define compiler_family gnu +%define c_f_ver 7 +%global mpi_flavor openmpi +%define mpi_vers 4 +%endif + %if "%{flavor}" == "gnu7-mpich-hpc" %bcond_without hpc %define compiler_family gnu @@ -221,6 +230,15 @@ ExclusiveArch: do_not_build %define mpi_vers 3 %endif +%if "%{flavor}" == "gnu8-openmpi4-hpc" +%{?DisOMPI4} +%bcond_without hpc +%define compiler_family gnu +%define c_f_ver 8 +%global mpi_flavor openmpi +%define mpi_vers 4 +%endif + %if "%{flavor}" == "gnu8-mvapich2-hpc" %bcond_without hpc %define compiler_family gnu @@ -269,6 +287,15 @@ ExclusiveArch: do_not_build %define mpi_vers 3 %endif +%if "%{flavor}" == "gnu9-openmpi4-hpc" +%{?DisOMPI4} +%bcond_without hpc +%define compiler_family gnu +%define c_f_ver 9 +%global mpi_flavor openmpi +%define mpi_vers 4 +%endif + %if "%{flavor}" == "gnu9-mvapich2-hpc" %bcond_without hpc %define compiler_family gnu @@ -283,11 +310,6 @@ ExclusiveArch: do_not_build %global mpi_flavor mpich %endif -# Don't build non-HPC on SLE -%if !0%{?is_opensuse} && !0%{?with_hpc:1} -ExclusiveArch: do_not_build -%endif - %{?mpi_flavor:%{bcond_without mpi}}%{!?mpi_flavor:%{bcond_with mpi}} %{?with_hpc:%{!?compiler_family:%global compiler_family gnu}} %{?with_mpi:%{!?mpi_flavor:error "No MPI family specified!"}}