aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-01 05:17:02 +0900
committerOphestra <cat@gensokyo.uk>2026-05-01 05:17:02 +0900
commit0efd742e8a29b5d11f06fd865e2066cfee162bba (patch)
tree4f035064a4485882c97e6cc99352ce0e4223797b
parentae1fe638d5767e326c88bba261db8752ebdd874e (diff)
internal/rosa/llvm: enable libclc as a runtime
Enabling this as a project is deprecated. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--internal/rosa/llvm.go13
1 files 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() {