diff options
author | Randy MacLeod <randy.macleod@windriver.com> | 2017-05-02 14:46:55 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-05-09 16:00:31 +0200 |
commit | 5e82995148a2844c6f483ae5ddd1438d87ea9fb7 (patch) | |
tree | 28ca57ed714c996b5d1fab9914cd84fd35d7ebcb /meta-oe/recipes-support/opencv/opencv_3.2.bb | |
parent | 7e4f7073d7f45791e97289f6a482adc51714d973 (diff) | |
download | meta-openembedded-5e82995148a2844c6f483ae5ddd1438d87ea9fb7.tar.gz |
opencv: disable broken Intel FP16 detectionpyro-nfvaccess
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 used to work 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:
- FP16: Compiler support is available
+ FP16: Compiler support is not available
The patch should be dropped when a newer version of opencv that includes commit:
https://github.com/opencv/opencv/commit/e5d9b608c47d54e43496041595025fa282fa9de5
is available. Backporting that fix was complicated.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
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.bb | 2 |
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 2cff212ab..98b6b0652 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 \ | |||
27 | file://fixpkgconfig.patch \ | 27 | file://fixpkgconfig.patch \ |
28 | file://uselocalxfeatures.patch;patchdir=../contrib/ \ | 28 | file://uselocalxfeatures.patch;patchdir=../contrib/ \ |
29 | file://useoeprotobuf.patch;patchdir=../contrib/ \ | 29 | file://useoeprotobuf.patch;patchdir=../contrib/ \ |
30 | file://0001-Revert-cuda-fix-fp16-compilation.patch \ | ||
31 | file://0002-Revert-check-FP16-build-condition-correctly.patch \ | ||
30 | " | 32 | " |
31 | 33 | ||
32 | PV = "3.2+git${SRCPV}" | 34 | PV = "3.2+git${SRCPV}" |