aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorSaul Wold <Saul.Wold@windriver.com>2021-04-29 10:44:33 -0700
committerArmin Kuster <akuster808@gmail.com>2021-05-17 07:18:40 -0700
commit0cbced2d51a53830adede45aaa1a007a143ac906 (patch)
treeb9e09210e7ee9e759e2cf781310c6aaa4b37246b /meta-oe
parentbbe3855ec7d7e1417a42e9d7a4d1d3d338812088 (diff)
downloadmeta-openembedded-0cbced2d51a53830adede45aaa1a007a143ac906.tar.gz
tbb: Disable PPC as COMPATIBLE_MACHINE
The latest version does not support PPC architecture, so disable the it. Otherwise the following error occurs: /srv/nvme/yocto/hardknott/builds/tbb/tmp/work/ppc7400-poky-linux/tbb/2021.2.0-r0/git/src/tbb/tools_api/ittnotify_config.h:338:12: error: '__TBB_machine_fetchadd4' was not declared in this scope 338 | return __TBB_machine_fetchadd4(ptr, 1) + 1L; | ^~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 8170a965d0cedaafb60d83c370dd095228088865) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/tbb/tbb_2021.2.0.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/tbb/tbb_2021.2.0.bb b/meta-oe/recipes-support/tbb/tbb_2021.2.0.bb
index 7e57ebf555..771ddd49b8 100644
--- a/meta-oe/recipes-support/tbb/tbb_2021.2.0.bb
+++ b/meta-oe/recipes-support/tbb/tbb_2021.2.0.bb
@@ -45,3 +45,6 @@ LDFLAGS_append_mips = " -latomic"
LDFLAGS_append_mipsel = " -latomic"
LDFLAGS_append_libc-musl = " -lucontext"
+
+# The latest version of oneTBB does not support PPC
+COMPATIBLE_MACHINE_powerpc = "(!.*ppc).*"