aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/llvm.go
AgeCommit message (Collapse)Author
2026-02-16internal/rosa/cmake: optional variant stringOphestra
This improves consistency with other helpers and removes the usually unnecessary variant suffix. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-15internal/rosa: remove libcxxabi hackOphestra
This was caused by stack overflow which was resolved many commits ago. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-09internal/rosa: rename stage0 toolchainOphestra
This is stage0 relative to Rosa OS, and stage3 relative to the toolchain it is compiled on (Gentoo in this case). Referring to the toolchain itself as stage3 is counterintuitive and misleading. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-07internal/rosa/cmake: expose earlier build scriptOphestra
This allows for more flexible build setups. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-05internal/rosa/llvm: drop git dependencyOphestra
This was added quite early and has no effect. Remove it to avoid compiling git early. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-02internal/rosa/llvm: conditionally add Rosa OS pathsOphestra
This change also moves rpath flags to a more appropriate method. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-31internal/rosa/llvm: add rosa vendorOphestra
This cleans up checks specific to Rosa OS, and fixes stack overflow in llvm under certain conditions. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-31internal/rosa: improve cmake interfaceOphestra
This should make the call site look better for new artifacts. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-30internal/rosa: early toybox variantOphestra
This is a variant of toybox with unfinished tools enabled, for artifacts that will end up in a dependency loop without them. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-29internal/rosa/llvm: enable asanOphestra
This is required by test suite of latest toybox. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-27internal/rosa: remove unameOphestra
This does not change ident based on target. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-27internal/rosa: add arm64 stringsOphestra
This enables building on arm64. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-27internal/pkg: exclusive artifactsOphestra
This alleviates scheduler overhead when curing many artifacts. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-26internal/rosa: patch ignore whitespaceOphestra
This makes it work better with patches emitted by git. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-26internal/rosa: isolate patching helperOphestra
This is useful outside llvm as well. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-25internal/rosa: lazy initialise all artifactsOphestra
This improves performance, though not as drastically as lazy initialising llvm. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-25internal/rosa: lazy initialise llvmOphestra
This significantly improves performance. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-24internal/rosa: stage3 special case helperOphestra
This makes it cleaner to specify non-stage3 and stage3-exclusive dependencies. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-24internal/rosa: patch library pathsOphestra
This removes the need for reference LDFLAGS in the standard toolchain. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-23internal/rosa: patch header search pathsOphestra
This removes the need for reference CFLAGS in the standard toolchain. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-22internal/rosa/llvm: fix broken test patchOphestra
Both stage1 and stage2 passes at this point. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-22internal/rosa/gnu: coreutils artifactOphestra
Required by llvm unit and regression tests. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-22internal/rosa: bash artifactOphestra
Required by llvm unit and regression tests. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-22internal/rosa: diffutils artifactOphestra
LLVM tests are not happy with busybox diff. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-22internal/rosa: libffi artifactOphestra
Required by python during llvm test suite. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-21internal/rosa/llvm: run unit and regression testsOphestra
Two tests are marked expected to fail for Rosa OS. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-21internal/rosa/llvm: patch source treeOphestra
A few patches are required for disabling broken tests and changing default search paths. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-19internal/rosa: llvm bootstrap artifactsOphestra
This bootstraps the LLVM toolchain across multiple artifacts. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-01-19internal/rosa: llvm artifact abstractionOphestra
The llvm bootstrap is multi-stage by nature, and cannot be completed in a single artifact. Signed-off-by: Ophestra <cat@gensokyo.uk>