diff options
| -rw-r--r-- | meta-oe/recipes-support/opencv/opencv_4.5.5.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv_4.5.5.bb b/meta-oe/recipes-support/opencv/opencv_4.5.5.bb index 9627190bd9..a3affa701d 100644 --- a/meta-oe/recipes-support/opencv/opencv_4.5.5.bb +++ b/meta-oe/recipes-support/opencv/opencv_4.5.5.bb | |||
| @@ -100,6 +100,9 @@ EXTRA_OECMAKE = "-DOPENCV_EXTRA_MODULES_PATH=${WORKDIR}/contrib/modules \ | |||
| 100 | ${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.2", "-DENABLE_SSE=1 -DENABLE_SSE2=1 -DENABLE_SSE3=1 -DENABLE_SSSE3=1 -DENABLE_SSE41=1 -DENABLE_SSE42=1", "", d)} \ | 100 | ${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.2", "-DENABLE_SSE=1 -DENABLE_SSE2=1 -DENABLE_SSE3=1 -DENABLE_SSSE3=1 -DENABLE_SSE41=1 -DENABLE_SSE42=1", "", d)} \ |
| 101 | " | 101 | " |
| 102 | EXTRA_OECMAKE:append:x86 = " -DX86=ON" | 102 | EXTRA_OECMAKE:append:x86 = " -DX86=ON" |
| 103 | # disable sse4.1 and sse4.2 to fix 32bit build failure | ||
| 104 | # https://github.com/opencv/opencv/issues/21597 | ||
| 105 | EXTRA_OECMAKE:remove:x86 = " -DENABLE_SSE41=1 -DENABLE_SSE42=1" | ||
| 103 | 106 | ||
| 104 | PACKAGECONFIG ??= "gapi python3 eigen jpeg png tiff v4l libv4l gstreamer samples tbb gphoto2 \ | 107 | PACKAGECONFIG ??= "gapi python3 eigen jpeg png tiff v4l libv4l gstreamer samples tbb gphoto2 \ |
| 105 | ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk", "", d)} \ | 108 | ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk", "", d)} \ |
