From bbdea65764e29f7524fe279a61a2b4ae3083a7c11406705695aad4370f73e42b Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Mon, 24 Aug 2020 16:12:54 +0000 Subject: [PATCH] Accepting request 828076 from home:marxin:memory-constraint Use memoryperjob constraint instead of %limit_build macro. OBS-URL: https://build.opensuse.org/request/show/828076 OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=17 --- _constraints | 8 +++++--- opencv.changes | 5 +++++ opencv.spec | 2 -- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/_constraints b/_constraints index 3a8b96b..822bc2e 100644 --- a/_constraints +++ b/_constraints @@ -1,12 +1,14 @@ - + - - 13 + 13 3000 + + 1000 + diff --git a/opencv.changes b/opencv.changes index da51156..da22131 100644 --- a/opencv.changes +++ b/opencv.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 20 09:02:23 UTC 2020 - Martin Liška + +- Use memoryperjob constraint instead of %limit_build macro. + ------------------------------------------------------------------- Sat Jun 13 22:03:12 UTC 2020 - Stefan Brüns diff --git a/opencv.spec b/opencv.spec index d8f901f..8e4a8b8 100644 --- a/opencv.spec +++ b/opencv.spec @@ -51,7 +51,6 @@ BuildRequires: fdupes BuildRequires: libeigen3-devel BuildRequires: libjpeg-devel BuildRequires: pkgconfig -BuildRequires: memory-constraints # OpenJPEGTargets.cmake erroneously requires the binaries BuildRequires: openjpeg2 BuildRequires: tbb-devel @@ -179,7 +178,6 @@ cp opencv_contrib-%{version}/LICENSE LICENSE.contrib rm -f doc/packaging.txt %build -%limit_build -m 1000 # Dynamic dispatch: https://github.com/opencv/opencv/wiki/CPU-optimizations-build-options # x86: disable SSE on 32bit, do not dispatch AVX and later - SSE3 # is the highest extension available on any non-64bit x86 CPU