diff mbox series

[6/6] CI: mask poky's llvm if we're using clang

Message ID 20230330163815.3677638-6-ross.burton@arm.com
State New
Headers show
Series [1/6] arm-bsp/linux-yocto: Update N1SDP PCI quirk patch | expand

Commit Message

Ross Burton March 30, 2023, 4:38 p.m. UTC
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 <ross.burton@arm.com>
---
 ci/clang.yml | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

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"