- 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:
parent
4c38cc68e4
commit
5bb5c57a69
@ -1,4 +1,4 @@
|
||||
<multibuild>
|
||||
<!-- <package>gnu-openmpi-hpc</package> -->
|
||||
<package>gnu-openmpi-hpc</package>
|
||||
<package>gnu-mvapich2-hpc</package>
|
||||
</multibuild>
|
||||
|
@ -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
|
||||
|
||||
|
10
mpiP.spec
10
mpiP.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user