- Add magic to limit the number of flavors built in the
in the OBS ring. OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=56
This commit is contained in:
parent
48de63cb9e
commit
fcc6124211
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 17 13:38:47 UTC 2017 - eich@suse.com
|
||||||
|
|
||||||
|
- Add magic to limit the number of flavors built in the
|
||||||
|
in the OBS ring.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 12 10:01:10 UTC 2017 - eich@suse.com
|
Thu Oct 12 10:01:10 UTC 2017 - eich@suse.com
|
||||||
|
|
||||||
|
@ -22,11 +22,21 @@
|
|||||||
%define vers 0.2.20
|
%define vers 0.2.20
|
||||||
%define pname openblas
|
%define pname openblas
|
||||||
|
|
||||||
|
%bcond_with ringdisabled
|
||||||
|
|
||||||
%if "%flavor" == ""
|
%if "%flavor" == ""
|
||||||
%define package_name %{pname}
|
%define package_name %{pname}
|
||||||
ExclusiveArch: do_not_build
|
ExclusiveArch: do_not_build
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Magic for OBS Staging. Only build the flavors required by
|
||||||
|
# other packages in the ring.
|
||||||
|
%if %{with ringdisabled}
|
||||||
|
%if "%flavor" != "serial"
|
||||||
|
ExclusiveArch: do_not_build
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%global build_flags USE_THREAD=1 USE_OPENMP=1
|
%global build_flags USE_THREAD=1 USE_OPENMP=1
|
||||||
|
|
||||||
%if "%flavor" == "serial"
|
%if "%flavor" == "serial"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user