diff options
author | 2020-09-29 22:47:41 +0800 | |
---|---|---|
committer | 2020-10-07 17:55:00 +0000 | |
commit | 83780dade6becfbff566eb2e26a0ece5b1284063 (patch) | |
tree | e43606df768ced79f69017f7ebcdf04b46240afb /media-libs/opencv/files | |
parent | media-libs/openexr: fix building on multilib (diff) | |
download | gentoo-83780dade6becfbff566eb2e26a0ece5b1284063.tar.gz gentoo-83780dade6becfbff566eb2e26a0ece5b1284063.tar.bz2 gentoo-83780dade6becfbff566eb2e26a0ece5b1284063.zip |
media-libs/opencv: version bump to 4.4.0
Currently the following improvements are made:
- Added python 3.{8,9} support.
- Added LTO (Link Time Optimization) support.
- Added OVIS (Ogre Vision Module) support.
- Renewed wrapped headers list for multilib.
- No longer need to download external files at compile time.
Closes: https://bugs.gentoo.org/745378
Closes: https://bugs.gentoo.org/744097
Closes: https://bugs.gentoo.org/718038
Closes: https://bugs.gentoo.org/702642
Closes: https://bugs.gentoo.org/703760
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Ross Charles Campbell <rossbridger.cc@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17307
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/opencv/files')
-rw-r--r-- | media-libs/opencv/files/opencv-4.4.0-disable-native-cpuflag-detect.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/media-libs/opencv/files/opencv-4.4.0-disable-native-cpuflag-detect.patch b/media-libs/opencv/files/opencv-4.4.0-disable-native-cpuflag-detect.patch new file mode 100644 index 000000000000..89ac1ff47ca1 --- /dev/null +++ b/media-libs/opencv/files/opencv-4.4.0-disable-native-cpuflag-detect.patch @@ -0,0 +1,26 @@ + cmake/OpenCVCompilerOptimizations.cmake | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/cmake/OpenCVCompilerOptimizations.cmake b/cmake/OpenCVCompilerOptimizations.cmake +index 970dd28903..b56892bb12 100644 +--- a/cmake/OpenCVCompilerOptimizations.cmake ++++ b/cmake/OpenCVCompilerOptimizations.cmake +@@ -156,12 +156,12 @@ if(";${CPU_BASELINE};" MATCHES ";NATIVE;" OR ";${CPU_BASELINE};" MATCHES ";HOST; + set(_add_native_flag ON) + elseif(";${CPU_BASELINE};" MATCHES ";DETECT;") + set(CPU_BASELINE_DETECT ON) +-elseif(" ${CMAKE_CXX_FLAGS} " MATCHES " -march=native | -xHost | /QxHost ") +- if(DEFINED CPU_BASELINE) +- message(STATUS "CPU: Detected '-march=native' or '-xHost' compiler flag. Force CPU_BASELINE=DETECT.") +- endif() +- set(CPU_BASELINE "DETECT" CACHE STRING "${HELP_CPU_BASELINE}") +- set(CPU_BASELINE_DETECT ON) ++#elseif(" ${CMAKE_CXX_FLAGS} " MATCHES " -march=native | -xHost | /QxHost ") ++# if(DEFINED CPU_BASELINE) ++# message(STATUS "CPU: Detected '-march=native' or '-xHost' compiler flag. Force CPU_BASELINE=DETECT.") ++# endif() ++# set(CPU_BASELINE "DETECT" CACHE STRING "${HELP_CPU_BASELINE}") ++# set(CPU_BASELINE_DETECT ON) + endif() + + if(X86 OR X86_64) |