]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
clang: fix reproducibility issue in LLVMConfig.cmake
authorRoss Burton <ross.burton@arm.com>
Mon, 29 Sep 2025 17:11:24 +0000 (18:11 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Oct 2025 10:27:31 +0000 (11:27 +0100)
commit916c074a136e8e07f388c2c41d197a15a4c50022
tree60f163fb6b493233d18857597695861de75874c3
parent5ad8d6ddf7a1ada37ad1070a3d3347c7f6d57148
clang: fix reproducibility issue in LLVMConfig.cmake

The LLVMConfig.cmake file is mostly LLVM configuration, but it also
specifies if some Python modules (needed by the opt-viewer tool) were
present on the build host.

This is host contamination and a source of non-determinism, so remove it
from the installed file.

A ticket has been filed upstream to resolve this:

  https://github.com/llvm/llvm-project/issues/161199

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/recipes-devtools/clang/clang/0001-dont-expose-LLVM_HAVE_OPT_VIEWER_MODULES.patch [new file with mode: 0644]
meta/recipes-devtools/clang/common.inc