diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-05-20 09:07:47 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-05-20 09:09:13 -0700 |
commit | a116630318789f08ebc6f350c37ef43f0884cb30 (patch) | |
tree | f947ef85816267997af5398b1b93aed74a1709c1 /meta-oe/recipes-support/opencv | |
parent | 975892f324a92b1f4a0e3ed4ccf6bbe33e64eba8 (diff) | |
download | meta-openembedded-a116630318789f08ebc6f350c37ef43f0884cb30.tar.gz |
opencv: Disable tbb on riscv/musl
getcontext|setcontext functionality is provided via libucontext for musl
but this library is not yet ported to RISCV
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/opencv')
-rw-r--r-- | meta-oe/recipes-support/opencv/opencv_4.5.2.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv_4.5.2.bb b/meta-oe/recipes-support/opencv/opencv_4.5.2.bb index 1dcd8586c..226bad577 100644 --- a/meta-oe/recipes-support/opencv/opencv_4.5.2.bb +++ b/meta-oe/recipes-support/opencv/opencv_4.5.2.bb | |||
@@ -108,6 +108,9 @@ PACKAGECONFIG ??= "gapi python3 eigen jpeg png tiff v4l libv4l gstreamer samples | |||
108 | 108 | ||
109 | # TBB does not build for powerpc so disable that package config | 109 | # TBB does not build for powerpc so disable that package config |
110 | PACKAGECONFIG_remove_powerpc = "tbb" | 110 | PACKAGECONFIG_remove_powerpc = "tbb" |
111 | # tbb now needs getcontect/setcontext which is not there for all arches on musl | ||
112 | PACKAGECONFIG_remove_libc-musl_riscv64 = "tbb" | ||
113 | PACKAGECONFIG_remove_libc-musl_riscv32 = "tbb" | ||
111 | 114 | ||
112 | PACKAGECONFIG[gapi] = "-DWITH_ADE=ON -Dade_DIR=${STAGING_LIBDIR},-DWITH_ADE=OFF,ade" | 115 | PACKAGECONFIG[gapi] = "-DWITH_ADE=ON -Dade_DIR=${STAGING_LIBDIR},-DWITH_ADE=OFF,ade" |
113 | PACKAGECONFIG[amdblas] = "-DWITH_OPENCLAMDBLAS=ON,-DWITH_OPENCLAMDBLAS=OFF,libclamdblas," | 116 | PACKAGECONFIG[amdblas] = "-DWITH_OPENCLAMDBLAS=ON,-DWITH_OPENCLAMDBLAS=OFF,libclamdblas," |