| Age | Commit message (Collapse) | Author |
|
Some patches are unreasonably huge. This change supports zstd-compressed
patches via the ".zst" file name suffix.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This skips the otherwise unconditional prefix.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
For development tooling where some tools need to be inserted into an
externally declared package at runtime.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This allows the packaging infrastructure to distinguish between
externally registered azalea packages and built-in packages, allowing
for more assumptions to be made, and more sanity checks.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is mostly useful for fetching dependencies before a build.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is useful for preventing an S from evaluating a specific package.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This provides a generic way for any package to reject cross-compilation
without going through its helper.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
There is only one primary source directory per package, so naming the
directory after the package makes little sense, and introduces many
complications and ugliness of having to refer to their own name. This
change also moves extras to /extra, preserving the relative pathnames.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is a lot easier to type and cleaner to read. There is no ambiguity
here since namespaces are an internal detail and no other directories
may be entered this way.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This makes the API easier to use, and works around nested cross-compile
state failures in LLVM.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This rejects a non-cross state attempting to cross compile the native
target architecture.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This replaces the version value of a package declaration to acquire
checksum via TOFU.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
These are run before the value is ever used. For implementing the source
TOFU update helper.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This change avoids duplicating this piece of code all over the place.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
These are not part of hakurei, and it is pointless to rebuild when they
are changed. This change drops them from loaded source.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
These change a lot while something is being worked on and is never ever
used by the build process.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This reduces unnecessary rebuilds.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
The hardcoded name is not correct for externally registered files.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This uses QEMU to run checks when supported.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This defaults to nil, however it did not accept the untyped Azalea nil.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is included in the evaluation error message.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This allows the prefix to be changed, at runtime if needed.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is different from linuxArch for PowerPC. While the alternative
usually works fine, compiling compiler-rt builtins produces no output
with linuxArch. The musl installation also uses this name.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This enables cross-compilation of the LLVM toolchain itself.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
For cross-specific options in packages.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Sometimes helpful for changing the environment.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This enables cross-compilation via the standard CMake helper.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Similar to the other autoconf-specific flags, this makes some configure
scripts pretending to be autoconf unhappy.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
For situations where a package uses a just-built program as part of its
own build process.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is otherwise never added to the cross root.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Similar to the previous change, this does not work on some configure
scripts pretending to be autoconf.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This does not work on some configure scripts pretending to be autoconf.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This enables the test suite in the second make stage. This change also
fixes a typo in the second stage make build script.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Cross-compilation is not applicable to everything, and it is quite
wasteful rebuilding the same thing for every architecture when it is
just using host tools to create arch-independent files.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This successfully cross-compiles the toolchain. More work is needed to
support cross-compilation on all native helpers and existing packages.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is cleaner and prepares for cross-compilation support.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is useful for using a prepared source tarball without the
underlying filesystem available.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This removes most redundant runtime arguments and is useful for cross-compilation.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Closes #43.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This makes behaviour identical to source.
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 panics with a more descriptive error instead of relying on the SIGSEGV handler.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This uses more intuitive names for some arguments and inverts their default value. Slices and nil-capable strings replace skip arguments.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This helps avoid inadvertently increasing bootstrap input count.
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 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>
|
|
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is useful for edge cases where programs rely on gcc bugs to behave correctly.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is useful for common patched source code.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is a much faster implementation free of python dependency hell, however currently fails to handle symbol visibility correctly, so unable to default to on. This change also cleans up some meson arguments.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|