Commit Graph

716 Commits

Author SHA1 Message Date
Wildan M
dc63352e5e
Enable libunwind and disable compiler-rt 2026-10-28 12:11:53 +07:00
Jeremy Soller
187f936c8f Merge branch 'prefix-fetch' into 'master'
prefix: Fetch prefix sources early

See merge request redox-os/redox!2399
2026-10-27 18:01:59 -06:00
Wildan M
e0e5950298
prefix: Make toolchain deterministic 2026-10-27 07:02:13 +07:00
Wildan M
6384beb961
prefix: Fetch prefix sources early 2026-10-22 10:25:27 +07:00
Wildan M
0e1c602c62
Add compiler wasm option 2026-10-21 14:22:16 +07:00
Ribbon
94099aabf1 Merge branch 'nixos-improvements' into 'master'
Makefile: QEMU/NixOS improvements

See merge request redox-os/redox!2381
2026-10-06 05:20:49 -03:00
radex
09e7244747 mk/qemu: remove redundant search paths
with qemu-relative firmware search, we don't need NixOS libvirtd's paths or Homebrew paths (the latter are equivalent to qemu-relative)
2026-10-05 20:24:35 +02:00
radex
21f69c1c43
mk/qemu: more helpful error on missing UEFI
As best I can tell, on aarch64 and riscv64gc, the UEFI firmware is *required* for Redox to run. If not found, qemu will still run, but will get stuck.

It's better to error out explicitly and early.

This does not appear to be the case on x86_64 where skipping the firmware load still appears to boot Redox successfully, hence I didn't add the error there.
2026-10-04 20:58:02 +02:00
radex
b668e904bc
mk/qemu: improved Nix(OS) UEFI path search
The /run/libvirt/nix-ovmf/* paths cannot be relied upon to exist. As far as I can tell, this is only available on NixOS with libvirtd enabled.

On the other hand, on any Nix platform, UEFI firmware binaries can be found relative to the the qemu binary (including when using nix shell).
2026-10-04 20:57:41 +02:00
radex
996da092dd mk/qemu: ensure UEFI vars are writable
On some platforms (e.g. Nix), the template variables file is non-writable. So, we need to make the copy writable before we can use it with qemu
2026-10-04 15:17:06 +02:00
Wildan M
29d3c40b4b
prefix: Add clang++ symlink 2026-10-04 03:22:27 +07:00
Wildan M
78f1d0351d
prefix: Move clang env to compiler option 2026-09-13 23:53:37 +07:00
Wildan M
51d0e1a599
Update redoxer, add CFGDIR to clang sysroot 2026-09-12 04:04:06 +07:00
Wildan M
38791ef255
Pass COOKBOOK_CLEAN_TARGET in podman 2026-09-12 02:19:32 +07:00
Wildan M
4e260ff683
Fix clang linker for rust prefix 2026-09-11 09:02:33 +07:00
Wildan M
b8cee7e2a5
Add clang symlink for rust linker 2026-09-02 10:33:14 +07:00
Wildan M
06db854b91
Fixes to building libcxx 2026-09-02 07:02:41 +07:00
Wildan M
a417d3484c
Port clang compiler-rt and libcxx 2026-09-01 11:44:39 +07:00
Jeremy Soller
eaba2933bb Fix ci-os-test paths 2026-08-27 13:27:38 -06:00
Jeremy Soller
1c2720eda3 Merge branch 'rebuild-always' into 'master'
Always rebuild on rebuild-push

See merge request redox-os/redox!2312
2026-08-27 06:29:33 -06:00
Wildan M
93479d4204
Always rebuild on rebuild-push 2026-08-27 05:06:21 +07:00
Wildan M
4fed741db6
prefix: Allow unprefixed autoreconf with version check 2026-08-26 10:25:53 +07:00
Wildan M
fa07a456ee
prefix: Always use libtool from toolchain 2026-08-26 10:23:56 +07:00
Jeremy Soller
697abb3106 Merge branch 'wasip1-rebuild' into 'master'
prefix: Fix wasip1 kept rebuilding

See merge request redox-os/redox!2306
2026-08-19 07:13:11 -06:00
Wildan M
a90cbbfb92
prefix: Fix wasip1 kept rebuilding 2026-08-19 02:11:59 +07:00
Konstantin Shabanov
3374d5a95e mk: Explicitly set SKIP_CHECK_TOOLS
Rather than checking for different env variables, explicitly set
SKIP_CHECK_TOOLS for podman build and hosted redox.
2026-08-18 22:30:24 +07:00
Wildan M
698d7438f9
Add COOKBOOK_CLEAN_BUILD back 2026-08-09 17:25:40 +07:00
Konstantin Shabanov
a2f375d0ef nix: native: Fix gcc(-freestanding)-install
Provide ACLOCAL_PATH explicitly to avoid the error:

+ autoreconf2.69 -fvi -I/mnt/redox/recipes/dev/gcc13/source/config -I/usr/share/aclocal
+ for f in $(find . -name configure.ac -o -name configure.in -type f | sort)
++ dirname ./zlib/contrib/minizip/configure.ac
+ echo '* autotools regen in '\''./zlib/contrib/minizip'\''...'
* autotools regen in './zlib/contrib/minizip'...
++ dirname ./zlib/contrib/minizip/configure.ac
+ cd ./zlib/contrib/minizip
+ autoreconf2.69 -fvi
-I/mnt/redox/recipes/dev/gcc13/source/config
-I/usr/share/aclocal
Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:1:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:1:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:1:
Makefile.am:1:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:1:   its definition is in aclocal's search path.
Makefile.am:1:
Makefile.am:1:   If you install Automake in its own prefix,
Makefile.am:1:   you'll need to arrange for the Libtool m4 files
Makefile.am:1:   to be found by aclocal.  For info on this, see:
Makefile.am:1:     https://gnu.org/s/automake/manual/automake.html#Libtool-library-used-but-LIBTOOL-is-undefined
autoreconf: automake failed with exit status: 1
cook host:gcc13 - failed
Failed to run [cd "recipes/dev/gcc13/source" && "bash" "-ex"]: exited with status exit status: 1
make: *** [mk/prefix.mk:250: prefix/x86_64-unknown-redox/gcc-freestanding-install] Error 1
missing LT_INIT
2026-07-30 22:29:48 +07:00
Wildan M
3e15ec059f
Restore most scripts 2026-07-29 11:18:53 +07:00
Wildan M
997597e517
repo: Export as CSV 2026-07-29 09:29:16 +07:00
Jeremy Soller
67f36dfb7f Merge branch 'rust-more' into 'master'
toolchain: Add wasip1 target and miri

See merge request redox-os/redox!2278
2026-07-26 07:44:12 -06:00
Wildan M
402f2f4cdb toolchain: Add wasip1 target and miri 2026-07-26 15:35:18 +02:00
Jeremy Soller
fda6d78266 Merge branch 'repo-editor' into 'master'
Implement new repo_editor

See merge request redox-os/redox!2275
2026-07-26 05:56:30 -06:00
Wildan M
d0637dd93a
repo: Do not recurse deps at change rule when REPO_BINARY is set 2026-07-26 15:45:35 +07:00
Wildan M
ff9a548795
Implement new repo_editor 2026-07-26 14:43:36 +07:00
Wildan M
fd549a53da
Use REPO_BINARY when compiling relibc on sysroot 2026-07-15 20:11:15 +07:00
Wildan M
45b03a18aa
Fix fetch-changed prefix, use rustinstall.sh for img 2026-07-14 20:50:10 +07:00
Wildan M
4efbf3bd0d
fetch-changed: skip prefix and diff only incoming changes 2026-07-12 17:11:25 +07:00
Wildan M
bf76d8ad18
Recipe rule improvements 2026-07-10 12:32:47 +07:00
Wildan M
257d0211dc
Add a script for relibc documentation 2026-07-02 12:18:15 +07:00
Wildan M
569706f4f6
Fix PODMAN_CACHE_PATH from typo 2026-06-12 01:59:54 +07:00
Jeremy Soller
bd23510694 Make it possible to override podman cache path 2026-06-11 09:18:15 -06:00
Wildan M
bbaeca9031
Update bash and remove patches 2026-06-10 10:25:02 +07:00
Jeremy Soller
81e153fa43 Merge branch 'fix-os-release-build-id' into 'master'
Added cookbook commit hash for /etc/os-release

Closes #1813

See merge request redox-os/redox!2168
2026-05-27 05:21:19 -06:00
Frank Li
38a7406435 Added cookbook commit hash for /etc/os-release 2026-05-27 05:21:19 -06:00
Jeremy Soller
a42a64e37a Support nightly 2026-05-24 2026-05-26 07:19:36 -06:00
Jeremy Soller
ca3cf86d80 Merge branch 'fstools-fetch' into 'master'
Fix fetching fstools when locked to binary

See merge request redox-os/redox!2150
2026-05-16 09:37:00 -06:00
Wildan M
fde6f77b2a
Fix fetching fstools when locked to binary 2026-05-16 15:39:29 +07:00
Wildan M
0ea9983bf9
Add make target to set a recipe rule to local or ignore 2026-05-16 02:22:00 +07:00
Wildan M
b356334d14
Run fetch before capturing rollback, add unfetch target 2026-05-09 19:37:00 +07:00