Commit Graph

165 Commits

Author SHA1 Message Date
Wildan M
fcb4bb0900
Support running cross compiled os-test 2025-12-20 13:52:43 +07:00
Wildan M
0e9a40bead
Enable acid on all arch; x11, perl5, webkit, servo on x86_64 2025-12-16 15:31:18 +07:00
Wildan M
128cfbfe96
Split python dev 2025-12-09 23:52:46 +07:00
Wildan M
e6b4294501
Update python to use host recipe as bootstrap 2025-12-09 23:30:00 +07:00
Wildan M
e03519a2db
Fix gnu-make rebuild 2025-12-09 04:15:42 -05:00
Wildan M
1776adcc58
Compile clang in llvm21 2025-12-08 03:28:03 -05:00
Wildan M
941784af9d
Fix and improve LLVM and Rust compilation 2025-12-07 20:54:23 +07:00
Wildan M
d461f47aee
Use git filter to allow tracking of shallow clone 2025-12-05 07:31:36 +07:00
Ribbon
b0fcf6daa5 Improve some recipes 2025-12-03 13:27:44 -03:00
Wildan M
b5c9bc2e18
Implement optional packages 2025-12-03 15:15:55 +07:00
Wildan M
203960a0fd
Update rustpython to fix i586 build 2025-11-26 20:44:43 -08:00
Jeremy Soller
ab57f8eab0
rust: remove unused llvm-config 2025-11-21 11:19:50 -07:00
Jeremy Soller
cb3a5599e7
Use llvm-config in rust recipe folder and update to llvm21 2025-11-21 10:47:07 -07:00
Jeremy Soller
0580e3c3db
Update rust submodule 2025-11-21 10:46:37 -07:00
Jeremy Soller
898747167c
Rename llvm20 to llvm21 (actual version) 2025-11-21 10:37:29 -07:00
Jeremy Soller
1efe5f71aa
Add llvm20 and use for rust recipe 2025-11-21 10:08:58 -07:00
Jeremy Soller
162f551312
llvm18: Native tablegen build fails with too many jobs, limit to 16 2025-11-20 15:05:36 -07:00
Jeremy Soller
b09eb0ca29
Update rust branch 2025-11-20 12:36:02 -07:00
Jeremy Soller
0a964d8e3c
patch: disable gnulib renameat2 2025-11-01 08:41:51 -06:00
Jeremy Soller
379b797492
gdk-pixbuf: update to 2.44.4 2025-10-29 15:32:41 -06:00
Jeremy Soller
edb56a1153 python312: workaround for missing CLOCK_THREAD_CPUTIME_ID 2025-09-28 13:47:54 -06:00
Jeremy Soller
942c3ea4da python312: built host compiler for cross compilation 2025-09-28 13:14:01 -06:00
Jeremy Soller
69573f5bd4 Revert "python312: use whatever system python3 is installed for the build"
This reverts commit b5daccaed1.
2025-09-28 12:48:08 -06:00
Jeremy Soller
b5daccaed1 python312: use whatever system python3 is installed for the build 2025-09-28 12:43:45 -06:00
Wildan M
ad86bbb88c Fix php symlink part II 2025-09-28 23:53:47 +07:00
Wildan M
e1334e2f49 Use upstream cargo 2025-09-28 15:04:03 +07:00
Wildan M
adefb4b361 Promote php, python, openssh, nginx 2025-09-27 01:51:29 +07:00
Wildan Mubarok
36977a0bb7 Revert some patches of git 2025-09-21 05:57:14 +00:00
Wildan M
ce270cacab Remove git PATH custom handling 2025-09-19 22:22:04 +07:00
Wildan Mubarok
97bab15d69 Add gnu-binutils as depedency of gcc13 2025-09-15 18:31:53 +00:00
Wildan Mubarok
bf8d95bef2 Fix install failure due to symlink 2025-09-10 17:36:54 +00: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
Wildan Mubarok
0f282a5ee5 Disable rustpython update 2025-08-27 12:22:23 +00:00
Wildan M
63f23348af Set emus as dynamically linked 2025-08-24 00:57:57 +07:00
Wildan M
f9d74ffc1e Fix ffmpeg6 linking 2025-08-24 00:06:21 +07:00
Wildan M
6d505a649c Push many recipes to be dynamically linked 2025-08-23 18:33:13 +07:00
Wildan Mubarok
541e855d72 Add more build templates and automatic DYNAMIC_INIT 2025-08-20 06:53:38 -06:00
Wildan Mubarok
b1a40a2b57 Strip is handled automatically 2025-07-25 08:50:43 +00:00
Wildan Mubarok
6098ef179a Update args and fix rust auto deps 2025-07-25 07:07:31 +00:00
Wildan Mubarok
2b0c27c02e Revert comments 2025-07-25 05:02:57 +00:00
Wildan Mubarok
fe314d7b6a Add RUSTFLAGS again 2025-07-25 05:00:21 +00:00
Wildan Mubarok
7b9f586c37 Update and Fix rust linking 2025-07-25 03:50:05 +00:00
Wildan Mubarok
46fa0798f8 Compile gcc libraries in gcc13 2025-07-22 20:15:37 +00:00
Wildan Mubarok
339669108e Fix and update cmake 2025-07-21 19:22:28 +00:00
Wildan Mubarok
745a3b8830 Fix git dynamic link 2025-07-15 01:12:23 +00:00
Jeremy Soller
6c3cc83f6d Merge branch 'index-crate-shallow' into 'master'
Use shallow clone for crates.io index

See merge request redox-os/cookbook!544
2025-07-13 06:47:47 -06:00
Wildan Mubarok
8d10768c19 Implement shallow clone and migrate rust recipe 2025-07-13 06:47:11 -06:00
Wildan Mubarok
a431de9c2b Use shallow clone for crates.io index 2025-07-13 09:00:52 +00:00
Wildan Mubarok
c5d02fa039 Fix compilation 2025-07-07 20:14:05 +00:00
Wildan Mubarok
80773c333d Simplify llvm18 recipe 2025-07-07 19:10:52 +00:00
Ron Williams
76c77039cc Copy missing .o and .a files from prefix into the gcc package (Janky fix) 2025-07-07 06:37:18 -06:00
Wildan Mubarok
2bd9da2100 Pin RustPython version 2025-07-05 08:57:49 -06:00
Wildan Mubarok
4499e9b688 Rename RUSTC_WRAPPER to CC_WRAPPER 2025-07-05 00:04:22 +00:00
Wildan Mubarok
c03c493bcb Add support for sccache envar handling 2025-07-04 07:31:50 -06:00
Ron Williams
aced42af12 Add POSIX test suite, improve gcc recipe 2025-06-20 19:14:26 -07:00
Jeremy Soller
c853efdeb2
Replace libjpeg with libjpeg-turbo entirely 2025-06-13 11:00:31 -06:00
Oleg Pittman
16e3790a50 Recipe conversion 2025-06-12 11:09:34 -06:00
Ron Williams
39aa043c35 Add cc1 to path 2025-06-12 11:03:55 -06:00
Ribbon
b5f9508473 Remove a TODO from the hello-world-examples recipe 2025-05-29 09:04:42 -03:00
Josh Megnauth
968fb22b8c
Fix RustPython compilation
The head of the repository compiles whereas the branch doesn't anymore.
DYNAMIC_INIT is needed because of a linking error when the dependencies
are dynamically compiled.
2025-05-21 21:13:01 -04:00
Jeremy Soller
e594f04cbe
gdk-pixbuf, gtk3: switch to libjpeg-turbo 2025-05-13 12:09:36 -06:00
Jeremy Soller
9c433f4d48
Merge llvm18-shared and llvm18 into llvm18 2025-05-06 21:53:21 -06:00
Jeremy Soller
ce45360e81
llvm18-shared: reuse llvm18 source 2025-05-04 21:00:50 -06:00
Jeremy Soller
a775a29fb4
gdk-pixbuf: use pcre2 instead of pcre 2025-05-04 18:03:08 -06:00
Jeremy Soller
af909487ef
pkg-config: link pcre2 2025-05-01 14:41:52 -06:00
Jeremy Soller
c9cc0fde6d
gdk-pixbuf: cleanup recipe 2025-05-01 13:53:47 -06:00
Jeremy Soller
19fe0f97d1
fontconfig: update to 2.16.0 2025-05-01 12:49:36 -06:00
Jeremy Soller
083c43634c
fontconfig: fix compilation of dynamic libraries 2025-05-01 12:45:19 -06:00
Jeremy Soller
2b12ab1fe5
gdk-pixbuf: convert to toml, compile dynamically 2025-05-01 12:24:59 -06:00
Jeremy Soller
c1bd151d4e
Add recipe for libstdc++ 2025-04-24 17:34:47 -06:00
Jeremy Soller
a4b7309131
git: use machine/endian.h to determine endianness 2025-04-24 11:21:43 -06:00
Jeremy Soller
8d73ecc27f
cargo: install to /usr 2025-04-23 16:15:38 -06:00
Jeremy Soller
6b617d0ad1
gcc13: remove redundant package depends 2025-04-21 13:16:10 -06:00
Jeremy Soller
531df3382f
nasm: use gstreamer mirror 2025-04-18 14:25:32 -06:00
Jeremy Soller
289c3e69b8
Drop COOKBOOK_PREFER_STATIC 2025-04-18 10:52:50 -06:00
Jeremy Soller
013180b556
fontconfig: fix build 2025-04-11 11:32:23 -06:00
Jeremy Soller
6909fdd9b2
Refactor shared dependency handling 2025-04-11 11:15:44 -06:00
Jeremy Soller
8621c086ab
fontconfig: compile dynamically 2025-04-10 17:10:14 -06:00
Jeremy Soller
d967285816
pkg-config: compile dynamically 2025-04-10 15:59:45 -06:00
Ron Williams
b2c17c711a Git: remove man pages due to colon in filenames 2025-03-05 02:24:09 -08:00
Jeremy Soller
49c8edd4fe
llvm18: install to /usr 2025-02-28 18:38:42 -07:00
Jeremy Soller
e9c93d1111
cargo: sort dependencies 2025-02-28 15:33:34 -07:00
Jeremy Soller
86702c993a
git: convert to toml 2025-02-28 15:27:18 -07:00
LLeny
f84c756c0e LuaJIT dynamic recipe 2025-02-19 18:47:56 +08:00
Anhad Singh
4f70981463
feat(rustc): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-02-10 23:22:28 +11:00
Anhad Singh
efada0e656
feat(llvm18-shared)
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-02-10 23:19:54 +11:00
Anhad Singh
e731a3ab52
feat(cargo): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-02-09 18:53:21 +11:00
Anhad Singh
8b663ee368 fix(cookbook): shared dependencies
These shall only be added iff `PREFER_STATIC` is not set.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-23 16:12:12 +11:00
Anhad Singh
3ee1f4da00 feat(cookbook): add the option to prefer static
By default all libraries and applications that can be dynamically linked
will be dynamically linked. You can override this behaviour by setting
the `COOKBOOK_PREFER_STATIC` environment variable. Note that if you
perviously did not use this flag, it might (most likely will) require a
complete userland sysroot recompilation.

It will look like this:
```bash
$ make clean
$ COOKBOOK_PREFER_STATIC=yes make image
```

For testing, the following will also work:
```bash
$ COOKBOOK_PREFER_STATIC=yes make cr.{PACKAGE_NAME} # obviously replace
                                                    # PACKAGE_NAME with
                                                    # the name of a package :)
```

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:55:37 +11:00
Anhad Singh
61b536c275 feat(gcc13): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
4958040529 Revert "feat(llvm): dynamic"
This reverts commit 3ded192f52b46f635d59bfd0b3141d02c56ce7c0.
2025-01-20 19:01:36 +11:00
Anhad Singh
9e3aa1b480 feat(llvm): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
dff2dcd4d6 feat(git): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
69e5aef6f3 feat(gnu-make): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:34 +11:00
Jeremy Soller
c224b9a101
Revert "Fix llvm18 recipe on newer Pop"
This reverts commit f953d63d65.
2025-01-14 19:56:47 -07:00
Jeremy Soller
f953d63d65
Fix llvm18 recipe on newer Pop 2025-01-14 15:23:15 -07:00
Josh Megnauth
1d5b170e3c
fix: GNU Make detects our glob.h
GNU Make's configure detects our new `glob.h` so we don't have to
override it anymore. Overriding it causes compilation to fail.
2025-01-05 02:58:23 -05:00
Jeremy Soller
73924de28f
gnu-make: use glob implementation from relibc 2024-12-30 13:01:45 -07:00
Josh Megnauth
ee3f3e7679
Fix and bump lua54 2024-12-01 23:04:44 -05:00