Accepting request 765951 from home:StefanBruens:branches:science

- Add webp build dependency to use system libwebp instead of bundled
  one.
- Enable dispatch of AVX512 optimized code.

OBS-URL: https://build.opensuse.org/request/show/765951
OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=11
This commit is contained in:
Stefan Brüns 2020-01-21 13:16:16 +00:00 committed by Git OBS Bridge
parent 706c1a97a9
commit 99b89d3e13
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jan 20 23:22:42 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Add webp build dependency to use system libwebp instead of bundled
one.
- Enable dispatch of AVX512 optimized code.
-------------------------------------------------------------------
Wed Dec 25 01:25:00 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

View File

@ -67,6 +67,7 @@ BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(libv4lconvert)
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(zlib)
Provides: opencv-qt5 = %{version}
Obsoletes: opencv-qt5 < %{version}
@ -211,7 +212,7 @@ rm -f doc/packaging.txt
%endif
%ifarch x86_64
-DCPU_BASELINE=SSE2 \
-DCPU_DISPATCH=SSE3,SSE4_1,SSE4_2,FP16,FMA3,AVX,AVX2 \
-DCPU_DISPATCH=SSE3,SSE4_1,SSE4_2,FP16,FMA3,AVX,AVX2,AVX512_ICL \
%endif
%ifarch %{arm}
%ifarch armv7l armv7hl