Commit Graph

116 Commits

Author SHA1 Message Date
Jeremy Soller
49180ea4f6 Merge branch 'nonstop-builder' into 'master'
Allow missing recipe in repo builder

See merge request redox-os/cookbook!613
2025-09-12 15:40:55 -06:00
Wildan Mubarok
0d307fa4e7 Initial self-hosting support 2025-09-12 15:39:51 -06:00
Wildan M
e91abf4263 Allow missing recipe in repo builder 2025-09-10 15:26:26 +07:00
Jeremy Soller
b8f49078b9
Use GNU_TARGET prefix for cmake cross compiler 2025-09-08 08:02:53 -06:00
Jeremy Soller
1b29c1e173
Clean up compiler flags 2025-09-07 20:53:28 -06:00
Jeremy Soller
8e48e73584
Make it easier to compile cmake software dynamically 2025-09-07 19:01:27 -06:00
Jeremy Soller
5064d0e02e
Allow fallback to static builds on targets with broken dynamic linking 2025-09-07 17:47:43 -06:00
bjorn3
ee25a707f8 Remove pkg_deps binary 2025-09-06 11:10:23 +02:00
bjorn3
9a40987f61 Use LF as line ending in repo_builder.rs 2025-09-06 11:10:23 +02:00
bjorn3
04d88c6109 Replace COOKBOOK_OFFLINE with --offline 2025-09-06 11:10:23 +02:00
bjorn3
13d9e4794f Move handling of multiple recipes into cook 2025-09-02 20:58:11 +02:00
Wildan M
8814a5d494 Include flags to meson cross file 2025-09-01 15:17:09 +07:00
Jeremy Soller
4ba8438bd5 Merge branch 'more-templates' into 'master'
Add more build templates and automatic DYNAMIC_INIT

Closes redox#1707

See merge request redox-os/cookbook!567
2025-08-20 06:53:38 -06:00
Wildan Mubarok
541e855d72 Add more build templates and automatic DYNAMIC_INIT 2025-08-20 06:53:38 -06:00
Wildan Mubarok
fec945560e Retain comment 2025-08-18 02:00:58 +00:00
Wildan M
3da709fb1f Cache auto deps 2025-08-18 08:45:52 +07:00
Wildan M
519a9911d9 Fix build 2025-07-27 22:13:30 +07:00
Wildan M
5de3e8327a Fix build 2025-07-27 22:09:12 +07:00
Wildan M
132199cd54 Apply version meta 2025-07-27 21:50:37 +07:00
Wildan M
25141384b4 Support for metapackages 2025-07-27 21:43:54 +07:00
Wildan Mubarok
c05194b3e9 Add LDFLAGS for linking nested libraries and helper for downloading gnu-config 2025-07-22 10:15:50 +00:00
Wildan Mubarok
745a3b8830 Fix git dynamic link 2025-07-15 01:12:23 +00:00
Jeremy Soller
06c4188d9d Merge branch 'shallow-clone-and-rust' into 'master'
Implement shallow clone and migrate rust recipe

See merge request redox-os/cookbook!540
2025-07-13 06:47:11 -06:00
Wildan Mubarok
8d10768c19 Implement shallow clone and migrate rust recipe 2025-07-13 06:47:11 -06:00
Wildan Mubarok
cf13e381c7 Write repo builder in rust 2025-07-13 06:44:25 -06:00
auronandace
144d804a3a be explicit in collecting to a Vec of PackageName 2025-07-08 17:19:02 +01:00
Jeremy Soller
9403e65845 Merge branch 'improve-recipes-packages-api' into 'master'
Improve package and recipes API

See merge request redox-os/cookbook!534
2025-07-08 06:06:33 -06:00
Josh Megnauth
26c680d57e
Improve package and recipes API
The main changes here are to leverage PackageError and PackageName more.

I also fixed a bug I introduced by misunderstanding code in auto_deps. auto_deps should return PackageNames instead of Strings, but I converted the Strings too early.
2025-07-07 23:17:04 -04:00
Wildan Mubarok
49bb9d8b64 Set meson cross file prefix to /usr 2025-07-07 22:26:37 +00:00
Wildan Mubarok
bc2a4d908a Add an option to not update recipes 2025-07-05 15:45:05 +00:00
Josh Megnauth
0ae1974a03
Move struct Package to redox-pkg
This deduplicates code as well as forces names to be sanitized. The API
for both redox-pkg and cookbook need some reimagining due to the
reshuffling, but this patch is not concerned with that as yet.
2025-07-05 07:48:28 -04:00
Jeremy Soller
f7f69579e5 Merge branch 'meson-sccache' into 'master'
Fix regression in meson

See merge request redox-os/cookbook!523
2025-07-04 18:56:14 -06:00
Wildan Mubarok
4499e9b688 Rename RUSTC_WRAPPER to CC_WRAPPER 2025-07-05 00:04:22 +00:00
Wildan Mubarok
81ed01792d Fix regression in meson 2025-07-04 23:44:44 +00:00
Wildan Mubarok
c03c493bcb Add support for sccache envar handling 2025-07-04 07:31:50 -06:00
Josh Megnauth
57d4249847
Scan more directories in auto_deps
Closes: redox-os/redox#1600, redox-os/redox#1598
Probably closes: redox-os/installer#24

Some packages place files in nested directories, such as
`lib/packagename` or `libexec/ARCH/gcc`. If these directories are not
scanned, the dependencies key in stage.toml will be empty which leads to
dependencies not being installed in the image.
2025-07-02 01:51:00 -04:00
Jeremy Soller
3ec01b7693
Greatly increase recipe scanning performance 2025-06-13 12:28:55 -06:00
Wildan Mubarok
0e5e9fbc58 Cook recipes with depedencies 2025-06-09 18:17:18 +00:00
Jeremy Soller
4228bd0d69
Fix cmake template and update libjpeg-turbo recipe 2025-05-10 20:58:38 -06:00
Jeremy Soller
8f2bffb63b
Improve cmake template 2025-05-10 12:58:22 -06:00
Jeremy Soller
9772ec2a7f
gtk3: fix compilation 2025-05-04 19:59:34 -06:00
Jeremy Soller
f2a3df2473
Allow cookbook_configure and cookbook_cmake templates to take arguments 2025-05-02 10:04:17 -06:00
Jeremy Soller
047e6ca0ec
Add meson template 2025-05-01 13:33:51 -06:00
Jeremy Soller
289c3e69b8
Drop COOKBOOK_PREFER_STATIC 2025-04-18 10:52:50 -06:00
Jeremy Soller
f9cd5a5901
Calculate package dependencies for publish again 2025-04-14 08:09:01 -06:00
Jeremy Soller
6909fdd9b2
Refactor shared dependency handling 2025-04-11 11:15:44 -06:00
Josh Megnauth
f677a16a32
fix: Unit tests should use blake3 2025-03-07 22:42:14 -05:00
Jeremy Soller
1334299b79
Change dynamic template prefix to /usr 2025-02-28 09:47:42 -07:00
Jeremy Soller
0a475b3d04 Apply usrmerge to sysroot 2025-02-22 08:25:31 -07:00
Jeremy Soller
9c54dacdf3
Set default configure prefix to /usr 2025-02-18 15:47:02 -07:00