aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/llvm.go
AgeCommit message (Collapse)Author
2026-03-26internal/rosa: key-value typeOphestra
This type is used very frequently. The new type is much easier to type and can receive helper methods eventually if needed. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-15internal/rosa/llvm: arch-specific versionsOphestra
This enables temporarily avoiding a broken release on specific targets. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-15internal/rosa/llvm: arch-specific patchesOphestra
Broken aarch64 tests in LLVM seem unlikely to be fixed soon. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-13internal/rosa/llvm: 22.1.0 to 22.1.1Ophestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-13internal/rosa: populate runtime dependenciesOphestra
This also removes manually resolved indirect dependencies. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-10internal/rosa/llvm: set LLVM_LIT_ARGSOphestra
This replaces the progress bar, which was worse than useless. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-08internal/rosa: add zlib runtime dependencyOphestra
For transitioning to dynamically linking zlib. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-05internal/rosa/llvm: separate major versionOphestra
For pathname formatting at compile time. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-05internal/rosa/llvm: 21.1.8 to 22.1.0Ophestra
New patch should not be affected next time. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-05internal/rosa: populate Anitya project idsOphestra
This enables release monitoring for all applicable projects. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-05internal/rosa/llvm: populate metadataOphestra
This enables use of release monitoring for LLVM. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-05internal/rosa: provide package metadataOphestra
This had to be done out-of-band because there was no way to efficiently represent these within Artifact. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-02internal/rosa/llvm: pass patches via helperOphestra
This was missed while migrating LLVM to the new interface. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-01internal/rosa/cmake: migrate to helper interfaceOphestra
This change also removes some unused options. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-23internal/rosa: fix patchesOphestra
Turns out alacritty clobbers output. It turns tabs into spaces and also removes whitespace-only lines for some reason. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-22internal/rosa/musl: migrate to make helperOphestra
This is much cleaner and eliminates the early ugliness. Signed-off-by: Ophestra <cat@gensokyo.uk>
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>