diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-26 03:50:51 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-26 04:31:26 +0900 |
| commit | 8e22b50a3df01078180689028a838c1fe278e0d3 (patch) | |
| tree | 6953ab93d8ad5b99676f0531667757810b37153e /internal/rosa/llvm.go | |
| parent | 020e3aa4fec74cf72bb853b854bba66e96302ea9 (diff) | |
internal/rosa: add ppc64le constants
This enables the ppc64le target.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/llvm.go')
| -rw-r--r-- | internal/rosa/llvm.go | 5 |
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"}, |
