diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-01 03:09:49 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-01 03:36:58 +0900 |
| commit | fc66f0bb47dd4634f81aa67bf8fc092945643520 (patch) | |
| tree | ca4664af315dc0929f7f4034aba29de769197d5a /internal/rosa/all.go | |
| parent | 2cd6b35beeb655ae2a69d17d223063ee5a3e00bb (diff) | |
internal/rosa/llvm: use llvm build system
This removes the multistep bootstrap hack. Stage0 exceptions are also eliminated for a later change to bring the stage0 distribution down to just a bare toolchain, toybox and shell. This change also enables dynamic linking and ThinLTO.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/all.go')
| -rw-r--r-- | internal/rosa/all.go | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go index c5cce349..f61ec62f 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -16,9 +16,7 @@ import ( type PArtifact int const ( - CompilerRT PArtifact = iota - LLVMRuntimes - Clang + LLVM PArtifact = iota // EarlyInit is the Rosa OS init program. EarlyInit @@ -77,7 +75,6 @@ const ( LibXau Libbsd Libcap - Libclc Libdrm Libev Libexpat @@ -174,12 +171,13 @@ const ( // PresetUnexportedStart is the first unexported preset. PresetUnexportedStart - llvmSource = iota - 1 - buildcatrust + buildcatrust = iota - 1 utilMacros // Musl is a standalone libc that does not depend on the toolchain. Musl + // muslHeaders is a system installation of [Musl] headers. + muslHeaders // gcc is a hacked-to-pieces GCC toolchain meant for use in intermediate // stages only. This preset and its direct output must never be exposed. |
