diff mbox series

[meta-oe] tbb: Re-enable hwloc support

Message ID 20241112172820.3127118-1-pkj@axis.com
State New
Headers show
Series [meta-oe] tbb: Re-enable hwloc support | expand

Commit Message

Peter Kjellerstedt Nov. 12, 2024, 5:28 p.m. UTC
The problem with using pkg-config to find hwloc when cross-compiling was
solved by upstream in 2021.13.0. However, the upgrade in commit
d8c5a72788ab0f2e36aee16e6d9e7555537366a5 missed that upstream defaults
to disabling searching for hwloc when cross-compiling.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
 meta-oe/recipes-support/tbb/tbb_2021.13.0.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/tbb/tbb_2021.13.0.bb b/meta-oe/recipes-support/tbb/tbb_2021.13.0.bb
index e2b7543c0f..4d0f80ca8e 100644
--- a/meta-oe/recipes-support/tbb/tbb_2021.13.0.bb
+++ b/meta-oe/recipes-support/tbb/tbb_2021.13.0.bb
@@ -26,6 +26,7 @@  EXTRA_OECMAKE += " \
                     -DTBB_TEST=OFF \
                     -DCMAKE_BUILD_TYPE=Release \
                     -DTBB_STRICT=OFF \
+                    -DTBB_DISABLE_HWLOC_AUTOMATIC_SEARCH=OFF \
                 "
 
 # Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi)