- Add magic to limit the number of flavors built in the

in the OBS ring.

OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpiP?expand=0&rev=4
This commit is contained in:
Egbert Eich 2017-10-17 13:56:29 +00:00 committed by Git OBS Bridge
parent 4c38cc68e4
commit 5bb5c57a69
3 changed files with 17 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<multibuild>
<!-- <package>gnu-openmpi-hpc</package> -->
<package>gnu-openmpi-hpc</package>
<package>gnu-mvapich2-hpc</package>
</multibuild>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 17 13:55:39 UTC 2017 - eich@suse.com
- Add magic to limit the number of flavors built in the
in the OBS ring.
-------------------------------------------------------------------
Fri Oct 13 11:20:18 UTC 2017 - jengelh@inai.de

View File

@ -22,10 +22,20 @@
%define vers 3.4.1
%define _vers 3_4_1
%bcond_with ringdisabled
%if "%flavor" == ""
ExclusiveArch: do_not_build
%endif
# Magic for OBS Staging. Only build the flavors required by
# other packages in the ring.
%if %{with ringdisabled}
%if "%flavor" != "standard"
ExclusiveArch: do_not_build
%endif
%endif
%if "%{flavor}" == "gnu-openmpi-hpc"
%global compiler_family gnu
%undefine c_f_ver