From 9479c5e4fbcac2e15dacbd53f5a2d2be57984f65 Mon Sep 17 00:00:00 2001 From: Koakuma Date: Fri, 24 Oct 2025 16:36:42 +0700 Subject: [PATCH] [clang-sparc64-linux] Use system clang and build the shared lib When doing manual builds on a local machine this configuration takes about 11% less time to finish a full build compared to the previous one. Hopefully this will fix the linking timeout issue in the buildbot. --- buildbot/osuosl/master/config/builders.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildbot/osuosl/master/config/builders.py b/buildbot/osuosl/master/config/builders.py index a956b5ee6..676d25481 100644 --- a/buildbot/osuosl/master/config/builders.py +++ b/buildbot/osuosl/master/config/builders.py @@ -827,7 +827,10 @@ def collapseRequestsDoxygen(master, builder, req1, req2): checkout_lld=False, testsuite_flags=['--threads=32', '--build-threads=32'], extra_cmake_args=['-DLLVM_ENABLE_PROJECTS=clang', + '-DCMAKE_C_COMPILER=clang', + '-DCMAKE_CXX_COMPILER=clang++', '-DLLVM_USE_LINKER=mold', + '-DLLVM_LINK_LLVM_DYLIB=ON', '-DLLVM_TARGETS_TO_BUILD=Sparc'])}, ## LoongArch64 Clang+LLVM build check-all + test-suite