diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-12-03 14:37:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-09 12:20:33 +0000 |
commit | 8d8e8708a3151fa78c4b8ac38f54ac01c2cddb83 (patch) | |
tree | 4c9dbbc301509118589f758165758b1e3a3283f7 /meta | |
parent | 9b534f334df9cfbfd752dff001cbd447b5cc2a46 (diff) | |
download | poky-8d8e8708a3151fa78c4b8ac38f54ac01c2cddb83.tar.gz |
llvm: fix reproducibility
(From OE-Core rev: a467c0a03d077861c37e317dcb2905b6388cb64c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/llvm/llvm_git.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index 4c2d490315..b146d0e6e3 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb | |||
@@ -99,6 +99,11 @@ do_configure_prepend() { | |||
99 | sed -ri "s#lib/${LLVM_DIR}#${baselib}/${LLVM_DIR}#g" ${S}/tools/llvm-config/llvm-config.cpp | 99 | sed -ri "s#lib/${LLVM_DIR}#${baselib}/${LLVM_DIR}#g" ${S}/tools/llvm-config/llvm-config.cpp |
100 | } | 100 | } |
101 | 101 | ||
102 | # patch out build host paths for reproducibility | ||
103 | do_compile_prepend_class-target() { | ||
104 | sed -i -e "s,${WORKDIR},,g" ${B}/tools/llvm-config/BuildVariables.inc | ||
105 | } | ||
106 | |||
102 | do_compile() { | 107 | do_compile() { |
103 | ninja -v ${PARALLEL_MAKE} | 108 | ninja -v ${PARALLEL_MAKE} |
104 | } | 109 | } |