From 9b6c8c95e47f4ddfcd462025733071edc1c56369 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 30 Mar 2023 17:38:15 +0100 Subject: [PATCH] CI: mask poky's llvm if we're using clang meta-clang's clang recipe has an irritating interaction with oe-core's llvm recipe which can result in build warnings, which cause builds to fail in our pedantic CI. The current best known workaround is to simply mask out the llvm recipes if clang is being used. For more details, see https://github.com/kraj/meta-clang/pull/766. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- ci/clang.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/clang.yml b/ci/clang.yml index 7559f6b0..eeee7852 100644 --- a/ci/clang.yml +++ b/ci/clang.yml @@ -8,3 +8,6 @@ repos: local_conf_header: toolchain: | TOOLCHAIN = "clang" + # This is needed to stop bitbake getting confused about what clang/llvm is + # being used, see https://github.com/kraj/meta-clang/pull/766 + BBMASK += "/meta/recipes-devtools/llvm/llvm.*\.bb"