diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2024-07-16 18:34:06 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-18 17:21:39 +0100 |
commit | d42166b0decb1a2c98f4db9e946d10811a7ad7d3 (patch) | |
tree | 87083566891b011cd98ef3286a56acea198a4eea /meta/recipes-devtools/llvm | |
parent | 3e5bd11cdfcc4d252bd912b1e9d6dea35f285eda (diff) | |
download | poky-d42166b0decb1a2c98f4db9e946d10811a7ad7d3.tar.gz |
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]
(From OE-Core rev: 714a99a9ba1aff458c1743ad8be9b38ee106b58f)
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/llvm')
-rw-r--r-- | meta/recipes-devtools/llvm/llvm_18.1.8.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_18.1.8.bb b/meta/recipes-devtools/llvm/llvm_18.1.8.bb index 8dad952923..a700a1b2b1 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() { | |||
99 | sed -i -e "s,${WORKDIR},,g" ${B}/tools/llvm-config/BuildVariables.inc | 99 | sed -i -e "s,${WORKDIR},,g" ${B}/tools/llvm-config/BuildVariables.inc |
100 | } | 100 | } |
101 | 101 | ||
102 | do_compile:prepend:class-nativesdk() { | ||
103 | sed -i -e "s,${WORKDIR},,g" ${B}/tools/llvm-config/BuildVariables.inc | ||
104 | } | ||
105 | |||
102 | do_compile() { | 106 | do_compile() { |
103 | if ${@bb.utils.contains('PACKAGECONFIG', 'libllvm', 'true', 'false', d)}; then | 107 | if ${@bb.utils.contains('PACKAGECONFIG', 'libllvm', 'true', 'false', d)}; then |
104 | ninja -v ${PARALLEL_MAKE} | 108 | ninja -v ${PARALLEL_MAKE} |