| Age | Commit message (Collapse) | Author |
|
Closes #43.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
libclc is removed from the LLVM package and will be re-added as a separate package.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This bootstrap step is not required for a native Rosa OS stage0 distribution.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This removes potential footguns caused by mutable builtins without requiring unnecessary clones.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This change also adds a fourth stage to the bootstrap machinery, offering more correct toolchain validation that works around LLVM dynamic linking flaws.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
These leak by default when static linking, which is considered unacceptable for many libraries.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This avoids unnecessarily depending on the toolchain.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Had to do the cmake hack for now due to evaluator limitation with inherited version.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is fully representable in azalea, so migrate it.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Previous change enabled this migration.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This change fully eliminates gawk.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This avoids pulling in python's insane dependency tree into the bootstrap path.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This generally improves build performance and system responsiveness.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This centralises the workaround for surprisingly common buggy scripts with nonstandard hardcoded paths.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
LLVM itself is unlikely to ever be migrated due to complexity of the bootstrap, so migrate patches instead.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
These no longer serve any purpose.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This enables deferring evaluation of azalea-based packages and fixes the longstanding quirk of version being disjoint from other metadata.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This cleans up many function signatures.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
For upcoming azalea integration. The API is quite ugly right now to ease migration.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This was missed when improving bootstrap.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This enables curing via binfmt.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
These were never updated when the bootstrap was moved to stage0-only.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
These are being built despite LLVM_BUILD_BENCHMARKS defaulting to off.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This arranges for tests to be built early, and is more efficient towards the end of the build.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
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>
|
|
Required by some buggy autotools scripts.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is useful for other projects using LIT.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Lack of this behaviour is a holdover from when the helper was first split from the (now removed) LLVM helper.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is unfortunately still required, due to the monorepo nature of LLVM.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This intermittently crashes.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This unexpectedly passes.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Enabling this as a project is deprecated.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
These changes preset behaviour globally. Useful for ad hoc workarounds for development or bootstrapping on resource-constrained systems.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
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>
|
|
This discontinues use of nproc, and also overrides detection behaviour in ninja.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is fine, now that stages beyond stage0 have explicit target.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This avoids having to sidestep the NewPackage name formatting machinery to take the cache fast path.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This has no effect outside formatting of name and is a remnant of the old llvm helpers.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This eliminates newLLVMVariant.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This eliminates most newLLVM family of functions.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This also removes unused dependencies.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This removes the pointless special treatment given to musl.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
The newLLVM family of functions predate the package system. This change migrates compiler-rt without changing any resulting artifacts.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
More remnants from early days, these are not reusable at all but that was not known at the time.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This enables easier reuse of the patchset.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|