Skip to contentSkip to conversation

tbb: Re-enable hwloc support

PATCH New Peter Kjellerstedt 1 participant 1 message Nov 12, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tbb: Re-enable hwloc support

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.

---
 meta-oe/recipes-support/tbb/tbb_2021.13.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/tbb/tbb_2021.13.0.bb +1 -0
index e2b7543c0f..4d0f80ca8e 100644
@@ -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)