diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-03 19:46:07 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-03 19:48:49 +0900 |
| commit | 7e2210ff712232ebfcbb5907d8528570b222144e (patch) | |
| tree | c5c11eb0fc2663e6d56d5d7d926a3badef747e59 /internal/rosa/all.go | |
| parent | a71a008f3c8324ab394e451b852cd9b21f072fab (diff) | |
internal/rosa/llvm: provide runtimes early in stage0
The LLVM build system fails to handle a dynamically linked toolchain correctly, and leaks the system installation during builds.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/all.go')
| -rw-r--r-- | internal/rosa/all.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go index ef3275d6..a9c4ae56 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -178,6 +178,18 @@ const ( PresetUnexportedStart llvmSource = iota - 1 + // earlyCompilerRT is an early, standalone compiler-rt installation for the + // standalone runtimes build. + // + // earlyCompilerRT must only be loaded by [LLVM]. + earlyCompilerRT + // earlyRuntimes is an early, standalone installation of LLVM runtimes to + // work around the cmake build system leaking the system LLVM installation + // when invoking the newly built toolchain. + // + // earlyRuntimes must only be loaded by [LLVM]. + earlyRuntimes + buildcatrust utilMacros |
