From 530cb069568c9bf66115257541a71beb3e82c5abf62f171c4930f7518e61684d Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Wed, 18 Oct 2017 11:17:46 +0000 Subject: [PATCH] Accepting request 534924 from home:eeich:hpc_alt - As it looks like, we need to exclude mvapich2 from the OBS ring as well. OBS-URL: https://build.opensuse.org/request/show/534924 OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=48 --- hdf5.changes | 2 +- hdf5.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hdf5.changes b/hdf5.changes index 5aa00ac..c4d63f3 100644 --- a/hdf5.changes +++ b/hdf5.changes @@ -2,7 +2,7 @@ Tue Oct 17 14:07:15 UTC 2017 - eich@suse.com - Add magic to limit the number of flavors built in the OBS ring - to non-HPC builds. + to non-HPC and mvapich2 builds. - Fix %libname() for non-HPC builds. ------------------------------------------------------------------- diff --git a/hdf5.spec b/hdf5.spec index 93cf20e..2eec40d 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -100,12 +100,15 @@ ExclusiveArch: do_not_build %{?with_mpi:%global my_suffix -%{mpi_flavor}} -%if %{with hpc} # Magic for OBS Staging. Only build the flavors required by # other packages in the ring. %if %{with ringdisabled} + %if %{with hpc} || "%{?mpi_flavor}" == "mvapich2" ExclusiveArch: do_not_build + %endif %endif + +%if %{with hpc} %{hpc_init -c %compiler_family %{?with_mpi:-m %mpi_flavor} %{?c_f_ver:-v %{c_f_ver}} %{?mpi_ver:-V %{mpi_ver}} %{?ext:-e %{ext}}} %{?with_mpi:%global hpc_module_pname p%{pname}} %define my_prefix %hpc_prefix