| Age | Commit message (Collapse) | Author |
|
Closes #43.
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 avoids having to rebuild cmd/mbf over and over.
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 helps avoid inadvertently increasing bootstrap input count.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This sets known de facto standard environment variables to enable colours during builds.
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>
|
|
This method predates the helper infrastructure, it is awkward to use and difficult to maintain for the replacement bootstrap mechanism. This change prepares for its removal.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This replaces all xz invocations with the native decompressor. This also significantly cleans up the Gentoo stage3 bootstrap path.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This makes it slightly easier to invoke when working on a package via --enter.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This seems more intuitive than letting the filesystem decide, and having to use awkward names.
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>
|
|
Source is not always required. This improves flexibility.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Missing kernel headers implicitly disables many useful things. This change also enables PGO and installs symlink, since a rebuild is unavoidable.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is useful for external container tooling.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This information is useful to external tooling and makes a lot more sense in this package than cmd/mbf. This change also fixes non-native artifact resolution during clean.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This improves readability.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Nothing can depend on this, so remove it from the namespace.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
The go toolchain predates all abstractions currently available. This migration causes rebuilds due to internal cleanups affecting the final build script.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This change also combines the createDir and wantsDir methods, and replaces the non-inplace target of the generic helper with a deterministic path.
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>
|
|
The rest are migrated individually.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This benefits greatly from the new generic helper.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This also introduces the generic helper for unusual build scripts.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This can be invoked from azalea.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This also enables concurrent evaluation.
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>
|
|
Useful to track performance regressions over migrations.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
These are quite trivial, so migrate them in one pass.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This migrates GNU sed to azalea, and resulting IR matches.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Supported fields are still rather minimal, but evaluation works, and resulting artifacts cure correctly.
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>
|
|
Useful for verifying deterministic output without enabling network access.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This enables curing via binfmt.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This transparently supports curing foreign exec artifacts.
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 enables extras to override stage0 tarball.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This makes custom artifacts much less error-prone to use.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This avoids having to configure the logger early.
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 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 most newLLVM family of functions.
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>
|
|
This cleans up call site of NewPackage.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
XZ happens to be the only widely-used format that is awful to deal with, everything else is natively supported.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|