aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/llvm.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/llvm.go')
-rw-r--r--internal/rosa/llvm.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/rosa/llvm.go b/internal/rosa/llvm.go
index 8e5a1655..019d2cf6 100644
--- a/internal/rosa/llvm.go
+++ b/internal/rosa/llvm.go
@@ -142,6 +142,7 @@ func init() {
for _, arch := range []string{
"amd64",
"arm64",
+ "ppc64le",
"riscv64",
} {
_triple := triple(arch)
@@ -242,6 +243,10 @@ func init() {
cache = append(cache, []KV{
{"CLANG_VENDOR", "'Rosa OS'"},
+ // wants glibc-specific sys/platform/ppc.h
+ {"RUNTIMES_" + triple("ppc64le") +
+ "_COMPILER_RT_BUILD_XRAY", "OFF"},
+
{"LLVM_BUILTIN_TARGETS", "'" + targets + "'"},
{"LLVM_RUNTIME_TARGETS", "'" + targets + "'"},
{"LLVM_BUILD_TESTS", "ON"},