@@ -8,6 +8,12 @@ repos:
local_conf_header:
toolchain: |
TOOLCHAIN = "clang"
+ PREFERRED_PROVIDER_llvm = "clang"
+ PREFERRED_PROVIDER_llvm-native = "clang-native"
+ PREFERRED_PROVIDER_nativesdk-llvm = "nativesdk-clang"
+ PROVIDES:pn-clang = "llvm"
+ PROVIDES:pn-clang-native = "llvm-native"
+ PROVIDES:pn-nativesdk-clang = "nativesdk-llvm"
# 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"
The following error is seen: ERROR: Nothing PROVIDES 'llvm-native' (but virtual:native:/builds/jonmason00/meta-arm/work/build/../poky/meta/recipes-graphics/mesa/mesa_23.1.3.bb DEPENDS on or otherwise requires it). Close matches: ovmf-native rust-llvm-native vim-native Work around this by using the llvm-native from meta-clang Signed-off-by: Jon Mason <jon.mason@arm.com> --- ci/clang.yml | 6 ++++++ 1 file changed, 6 insertions(+)