aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/opencv/opencv_3.2.bb
diff options
context:
space:
mode:
authorRandy MacLeod <randy.macleod@windriver.com>2017-04-26 21:33:29 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2017-04-28 10:10:41 +0200
commit51fbd3cf7db14399bc1c69c4a5fd63f157fd209d (patch)
tree33afc0502d1aedfa76a2bc0d248b248db22a5a73 /meta-oe/recipes-support/opencv/opencv_3.2.bb
parentbf357b2e488b8edf9bb649f95eae32dacf22020b (diff)
downloadmeta-openembedded-contrib-51fbd3cf7db14399bc1c69c4a5fd63f157fd209d.tar.gz
opencv: disable broken Intel FP16 detection
With opencv-3.2, the configuration detects if the target supports half-precision floating-point format. This fails to compile for some Intel targets such as skylake with an error such as: error: '_mm_cvtph_ps' was not declared in this scope The configuration worked in opencv-3.1 so revert two commits to drop the FP16 detection even though it may make opencv slower. The only change in the configure log is: Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/opencv/opencv_3.2.bb')
-rw-r--r--meta-oe/recipes-support/opencv/opencv_3.2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv_3.2.bb b/meta-oe/recipes-support/opencv/opencv_3.2.bb
index 2cff212ab0..98b6b06529 100644
--- a/meta-oe/recipes-support/opencv/opencv_3.2.bb
+++ b/meta-oe/recipes-support/opencv/opencv_3.2.bb
@@ -27,6 +27,8 @@ SRC_URI = "git://github.com/opencv/opencv.git;name=opencv \
file://fixpkgconfig.patch \
file://uselocalxfeatures.patch;patchdir=../contrib/ \
file://useoeprotobuf.patch;patchdir=../contrib/ \
+ file://0001-Revert-cuda-fix-fp16-compilation.patch \
+ file://0002-Revert-check-FP16-build-condition-correctly.patch \
"
PV = "3.2+git${SRCPV}"