Skip to contentSkip to conversation

clocl: Lock the llvm-config down to the native version

PATCH New Ryan Eatmon 1 participant 1 message Jul 21, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clocl: Lock the llvm-config down to the native version

We are seeing some random build failures related to how bitbake chooses which llvm-config to run during do_compile. This locks the path to llvm-config to the native version of the tool.

---
 meta-arago-extras/recipes-ti/ocl/clocl_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-ti/ocl/clocl_git.bb +1 -1
index 9b2a3aa9..52deaab8 100644
@@ -19,7 +19,7 @@ TARGET:class-nativesdk = "x86"
 EXTRA_OEMAKE = " -C ${S}/clocl \
                  _PRODUCT_VERSION=${PV} \
                  TARGET=${TARGET} \
-                 LLVM_CONFIG_EXE=llvm-config \
+                 LLVM_CONFIG_EXE=${STAGING_BINDIR_NATIVE}/llvm-config \
 "
 
 do_compile() {
Signature · 1 line
2.17.1