From: Denys Dmytriyenko Date: Tue, 16 Jul 2024 22:34:06 +0000 (-0400) Subject: llvm: extend llvm-config reproducibility fix to nativesdk class X-Git-Tag: uninative-4.6~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=714a99a9ba1aff458c1743ad8be9b38ee106b58f;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git llvm: extend llvm-config reproducibility fix to nativesdk class It's not limited to "target", but also happens to nativesdk: ERROR: nativesdk-llvm-18.1.8-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-config in package nativesdk-llvm contains reference to TMPDIR [buildpaths] Signed-off-by: Denys Dmytriyenko Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/llvm/llvm_18.1.8.bb b/meta/recipes-devtools/llvm/llvm_18.1.8.bb index 8dad9529236..a700a1b2b16 100644 --- a/meta/recipes-devtools/llvm/llvm_18.1.8.bb +++ b/meta/recipes-devtools/llvm/llvm_18.1.8.bb @@ -99,6 +99,10 @@ do_compile:prepend:class-target() { sed -i -e "s,${WORKDIR},,g" ${B}/tools/llvm-config/BuildVariables.inc } +do_compile:prepend:class-nativesdk() { + sed -i -e "s,${WORKDIR},,g" ${B}/tools/llvm-config/BuildVariables.inc +} + do_compile() { if ${@bb.utils.contains('PACKAGECONFIG', 'libllvm', 'true', 'false', d)}; then ninja -v ${PARALLEL_MAKE}