Wildan M
9a581f7667
Move make pull submodule sync to rust configure
2025-11-20 23:46:30 -08:00
Jeremy Soller
5a52866ccd
Fix relibc source not being copied
2025-11-20 20:25:35 -07:00
Jeremy Soller
19545b885c
Do not rebuild prefix when fstools is updated
2025-11-20 18:07:49 -07:00
Jeremy Soller
a4ff3f6751
Extract prefix source with --no-same-owner
2025-11-20 17:44:08 -07:00
Jeremy Soller
718d1f8b03
Wrap relibc source fetch in podman
2025-11-20 14:04:21 -07:00
Jeremy Soller
542106d01a
Replace cookbook submodule
2025-11-20 13:54:40 -07:00
Jeremy Soller
deac6bfdba
Prevent repeated fetching of relibc
2025-11-20 13:25:30 -07:00
Jeremy Soller
9c1ea2dc23
Use relibc source from cookbook
2025-11-20 12:30:56 -07:00
Wildan M
ab74947f2c
Fix depends on container tag
2025-11-11 14:34:38 +07:00
Wildan M
6f8925ce5e
Avoid installing rust
2025-11-11 14:21:09 +07:00
Wildan M
154c7bf4bf
Move installer behind podman
2025-11-10 13:22:42 +07:00
bjorn3
9326e12213
Remove no longer necessary targets dir
...
All target specs we use are now built into rustc.
2025-11-01 20:03:29 +01:00
Jeremy Soller
9db52437c6
Support binary prefix for aarch64 on aarch64
2025-10-21 12:27:40 -06:00
Jeremy Soller
00be8094b1
Revert "Install C++ header on prefix"
...
This reverts commit 155bcb2ff2 .
2025-10-03 10:41:06 -06:00
Wildan Mubarok
155bcb2ff2
Install C++ header on prefix
2025-10-01 08:06:33 +00:00
Wildan M
05e7279156
Fix make invocation for Podman in MacOS
2025-08-15 12:53:08 +07:00
Wildan Mubarok
174fcaa6b9
Fix sysroot update logic
2025-07-08 10:21:16 +00:00
Jeremy Soller
fcbc2ea787
Fix libtool-build not removing old directories
2025-07-02 14:27:07 -06:00
Wildan Mubarok
e36fdf54c4
Fix podman continously trying to rebuild libtool-build
2025-06-24 10:39:51 +00:00
Wildan Mubarok
5ebd0729f9
Make libtool cloning works for older git
2025-06-13 02:16:00 +00:00
Wildan Mubarok
ed0da0981b
Speedup cloning libtool
2025-06-03 18:35:10 +00:00
zinzaguras
9a3866e758
Fix non podman build.
...
1. Export version for libtool cause some packages checks for it;
2. Set PATH variable to include redox toolchain before sysroot been created,
as it's required by libtool and relibc.
2025-05-12 23:05:35 +00:00
Jeremy Soller
8a3948e181
Use gnulib github mirror
2025-05-07 10:22:22 -06:00
Jeremy Soller
058b402bfc
Set sysroot date after finishing build
2025-04-23 15:38:46 -06:00
Jeremy Soller
5e3bcaee08
Add custom target for compiling relibc-freestanding for riscv64gc
2025-04-17 10:10:29 -06:00
Jeremy Soller
cde151ccb7
Drop rust freestanding step
2025-01-14 12:28:58 -07:00
Jeremy Soller
74f0a0eea1
Merge branch 'dynamic_linking' into 'master'
...
feat(prefix): set default hash style to GNU
See merge request redox-os/redox!1537
2025-01-11 18:39:40 +00:00
Ron Williams
0bf3a56fea
Add 'touch sysroot' after copy of relibc-install
2025-01-09 16:15:58 -08:00
Anhad Singh
48ca562cf1
feat(prefix): set default hash style to GNU
...
Our dynamic linker supports it.
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-09 20:20:21 +11:00
Anhad Singh
34153db14d
fix(prefix.mk): gcc-freestanding
...
Build libgcc (relibc needs it) and disable shared.
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2024-12-27 23:23:31 +11:00
Anhad Singh
a7c06e9b72
fix(mk/prefix.mk): fix libtool build
...
Worked for me before as I had the old sources. Now the ltversion should
be correct and libtool should be correctly built.
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2024-12-21 20:28:11 +11:00
Anhad Singh
f8d2c7ed4b
fix(mk/prefix.mk): correct ltversion
...
The script `build-aux/git-version-gen` needs sufficient depth to
correctly determine the version. Also it has to be in tree, otherwise
the version is reported as 'UNKNOWN', breaking some packages.
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2024-12-21 01:09:52 +11:00
Anhad Singh
008160036d
feat(prefix): libtool
...
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2024-12-02 22:21:45 +11:00
Andrey Turkin
03633046cc
Riscv64gc support in the build scripts
...
This architecture is different from x86/aarch because its rust triplet (riscv64gc-...) differs from gcc/llvm/binutils triplet (more general riscv64-...). Therefore the build scripts have to bridge that mismatch.
This introduces new build-time environment variable GNU_TARGET which corresponds to a target used by C world utilities whereas existing TARGET now describes rust target.
2024-09-30 10:28:37 +03:00
Ribbon
49102f6332
Add explanation comments on the build system files
2024-07-09 12:58:07 +00:00
Jeremy Soller
50c9d3d2ce
Use separate copy of relibc for freestanding
2024-05-11 15:42:00 -06:00
Jeremy Soller
f9823473e2
Use target-specific folder for relibc source for freestanding build
2024-05-11 14:37:47 -06:00
Jeremy Soller
7de457e022
Ensure lib/rustlib/HOST_TARGET/lib exists in prefix tarballs
2024-01-10 09:53:13 -07:00
bjorn3
34acc9cb04
Don't checkout rust submodule by default
...
It is no longer necessary for regular builds as of the previous commit.
This will drastically improve the time it takes to do the initial clone
of redox.
2024-01-10 15:19:06 +01:00
bjorn3
da380dd368
Don't rebuild lib/rustlib/src in the rust sysroot
...
The prebuilt tarball already contains it now
2024-01-09 11:05:06 +01:00
Jeremy Soller
7bec121856
Fix clean prefix build
2023-12-13 12:10:42 -07:00
Jeremy Soller
89749d3722
Copy relibc source to prefix to prevent problems when running multiple arch builds at once
2023-12-12 13:49:45 -07:00
Jeremy Soller
69183b3bd8
Clean relibc before build
2023-09-11 12:44:10 -06:00
Jeremy Soller
498deea753
Fix name of binutils tarball
2023-09-08 14:18:17 -06:00
Jeremy Soller
6f171b0ac0
Update binutils and gcc
2023-09-08 13:23:41 -06:00
uuuvn
0da79d81b4
Build rustlib/src together with prefix
2023-05-22 08:42:41 +00:00
Will Angenent
2b1619c1e0
Unset CC and CXX before building prefix, since they could interfere
2023-04-15 18:33:35 +01:00
Jeremy Soller
0427f3ff8c
Update Rust to nightly-2023-01-21
2023-02-11 14:01:00 -07:00
Jeremy Soller
5b4ee80e10
Build Rust source tarball as part of rust-install
2022-12-18 08:06:28 -07:00
Ron Williams
1772f78aa9
Add podman build
2022-11-11 15:23:08 -08:00