Skip to contentSkip to conversation

CI: fix builds with clang

PATCH New Ross Burton 1 participant 1 message Jan 3, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 CI: fix builds with clang

meta-clang has a langdale branch now, so use that instead of master.

linux-yocto needs to use non-clang objcopy, apply the change locally until the commit has been merged into meta-clang's langdale branch.

perf needs some patches backported to langdale, until that has been done use gcc to build perf.

---
 ci/clang.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
ci/clang.yml +5 -1
index bc6a18a3..6c909023 100644
@@ -4,7 +4,6 @@ header:
 repos:
   meta-clang:
     url: https://github.com/kraj/meta-clang
-    refspec: master
     patches:
       pixman:
         repo: meta-arm
@@ -13,3 +12,8 @@ repos:
 local_conf_header:
   clang: |
     TOOLCHAIN = "clang"
+    # Backport d89e06ad94a46f6810d0a8787004b71b8ecaf87d to langdale
+    OBJCOPY:pn-linux-yocto:toolchain-clang = "${HOST_PREFIX}objcopy"
+    # Perf needs fixes backported, use GCC for now
+    # https://lore.kernel.org/linux-perf-users/[email protected]/T/#t
+    TOOLCHAIN:pn-perf = "gcc"
Signature · 1 line
2.34.1