From 0efd742e8a29b5d11f06fd865e2066cfee162bba Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 1 May 2026 05:17:02 +0900 Subject: [PATCH] internal/rosa/llvm: enable libclc as a runtime Enabling this as a project is deprecated. Signed-off-by: Ophestra --- internal/rosa/llvm.go | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/internal/rosa/llvm.go b/internal/rosa/llvm.go index 6177a716..aac950e6 100644 --- a/internal/rosa/llvm.go +++ b/internal/rosa/llvm.go @@ -50,8 +50,17 @@ func (t Toolchain) newLLVM() (pkg.Artifact, string) { {"LLVM_HOST_TRIPLE", `"${ROSA_TRIPLE}"`}, {"LLVM_DEFAULT_TARGET_TRIPLE", `"${ROSA_TRIPLE}"`}, - {"LLVM_ENABLE_PROJECTS", "'clang;lld;libclc'"}, - {"LLVM_ENABLE_RUNTIMES", "'compiler-rt;libcxx;libcxxabi;libunwind'"}, + {"LLVM_ENABLE_PROJECTS", "'" + strings.Join([]string{ + "clang", + "lld", + }, ";") + "'"}, + {"LLVM_ENABLE_RUNTIMES", "'" + strings.Join([]string{ + "compiler-rt", + "libcxx", + "libcxxabi", + "libunwind", + "libclc", + }, ";") + "'"}, } if !t.isStage0() {