forked from pool/opencv
Accepting request 745039 from home:StefanBruens:branches:science
- Limit build parallelism with limit_build, some ARM and PPC workers have a high SMP/memory ratio and run out of memory otherwise. - Apply memory constraints (3GB) to all architectures, avoid being scheduled on very weak workers. OBS-URL: https://build.opensuse.org/request/show/745039 OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=9
This commit is contained in:
parent
d08e234098
commit
9b0034c185
14
_constraints
14
_constraints
@ -5,16 +5,8 @@
|
|||||||
<!-- build uses 20GB in maintenance projects currently 201502 -->
|
<!-- build uses 20GB in maintenance projects currently 201502 -->
|
||||||
<size unit="G">13</size>
|
<size unit="G">13</size>
|
||||||
</disk>
|
</disk>
|
||||||
|
<memory>
|
||||||
|
<size unit="M">3000</size>
|
||||||
|
</memory>
|
||||||
</hardware>
|
</hardware>
|
||||||
<overwrite>
|
|
||||||
<conditions>
|
|
||||||
<arch>i586</arch>
|
|
||||||
<arch>x86_64</arch>
|
|
||||||
</conditions>
|
|
||||||
<hardware>
|
|
||||||
<memory>
|
|
||||||
<size unit="M">2500</size>
|
|
||||||
</memory>
|
|
||||||
</hardware>
|
|
||||||
</overwrite>
|
|
||||||
</constraints>
|
</constraints>
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 3 19:50:04 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Limit build parallelism with limit_build, some ARM and PPC workers
|
||||||
|
have a high SMP/memory ratio and run out of memory otherwise.
|
||||||
|
- Apply memory constraints (3GB) to all architectures, avoid being
|
||||||
|
scheduled on very weak workers.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 12 23:12:21 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Sat Oct 12 23:12:21 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
@ -54,6 +54,7 @@ BuildRequires: libeigen3-devel
|
|||||||
BuildRequires: libjasper-devel
|
BuildRequires: libjasper-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: memory-constraints
|
||||||
BuildRequires: tbb-devel
|
BuildRequires: tbb-devel
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
BuildRequires: pkgconfig(IlmBase)
|
BuildRequires: pkgconfig(IlmBase)
|
||||||
@ -177,6 +178,7 @@ cp opencv_contrib-%{version}/LICENSE LICENSE.contrib
|
|||||||
rm -f doc/packaging.txt
|
rm -f doc/packaging.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%limit_build -m 1000
|
||||||
# Dynamic dispatch: https://github.com/opencv/opencv/wiki/CPU-optimizations-build-options
|
# Dynamic dispatch: https://github.com/opencv/opencv/wiki/CPU-optimizations-build-options
|
||||||
# x86: disable SSE on 32bit, do not dispatch AVX and later - SSE3
|
# x86: disable SSE on 32bit, do not dispatch AVX and later - SSE3
|
||||||
# is the highest extension available on any non-64bit x86 CPU
|
# is the highest extension available on any non-64bit x86 CPU
|
||||||
|
Loading…
x
Reference in New Issue
Block a user