From d08e2340985dab799e679dc55add88996d94311dc6e628448ac04e1e4cb328a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Sun, 3 Nov 2019 18:26:16 +0000 Subject: [PATCH 1/2] Accepting request 740433 from home:mgorse:branches:science Reference some bugs in changes. OBS-URL: https://build.opensuse.org/request/show/740433 OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=8 --- opencv.changes | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/opencv.changes b/opencv.changes index 04204cc..b20dcf6 100644 --- a/opencv.changes +++ b/opencv.changes @@ -41,6 +41,7 @@ Sat Oct 12 23:12:21 UTC 2019 - Stefan Brüns up code of samples/tutorials * Breaking changes: + fixed values thresholding accuracy in calcHist() + * Security fixes: CVE-2019-15939 (boo#1149742). - Enable Graph API (G-API) - Minor spec file cleanup @@ -76,6 +77,8 @@ Fri Aug 9 19:56:24 UTC 2019 - Christophe Giboudeaux * Performance improvements * Added IPPE method for planar pose estimation in solvePnP * Added solvePnPRefineLM and solvePnPRefineVVS + * Security fixes: CVE-2019-14491 (boo#1144352), CVE-2019-14492 + (boo#1144348). - Check https://github.com/opencv/opencv/wiki/ChangeLog#version411 for the complete list of changes. @@ -172,6 +175,7 @@ Mon May 28 11:04:23 UTC 2018 - fvogt@suse.com * OpenCV is now able to use Intel DL inference engine as DNN acceleration backend * Added AVX-512 acceleration to the performance-critical kernels + * Fix cmake mapping of RelWithDebInfo (boo#1154091). * For more information, read https://github.com/opencv/opencv/wiki/ChangeLog#version341 - Update contrib modules to 3.4.1: From 9b0034c185c2de6d23ab16844b52d1b629e7c4b7362048c77017976c1335dc48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Sun, 3 Nov 2019 20:42:12 +0000 Subject: [PATCH 2/2] 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 --- _constraints | 14 +++----------- opencv.changes | 8 ++++++++ opencv.spec | 2 ++ 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/_constraints b/_constraints index efe0540..3a8b96b 100644 --- a/_constraints +++ b/_constraints @@ -5,16 +5,8 @@ 13 + + 3000 + - - - i586 - x86_64 - - - - 2500 - - - diff --git a/opencv.changes b/opencv.changes index b20dcf6..b7b1bcd 100644 --- a/opencv.changes +++ b/opencv.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Nov 3 19:50:04 UTC 2019 - Stefan Brüns + +- 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 diff --git a/opencv.spec b/opencv.spec index d03e7b2..428919d 100644 --- a/opencv.spec +++ b/opencv.spec @@ -54,6 +54,7 @@ BuildRequires: libeigen3-devel BuildRequires: libjasper-devel BuildRequires: libjpeg-devel BuildRequires: pkgconfig +BuildRequires: memory-constraints BuildRequires: tbb-devel BuildRequires: unzip BuildRequires: pkgconfig(IlmBase) @@ -177,6 +178,7 @@ 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