bjorn3
cdae9bab58
Introduce CargoProject type and use it where possible
2022-11-27 18:53:00 +00:00
bjorn3
f17dbfc933
Add rustdoc-clif wrapper
2022-10-28 12:51:15 +00:00
bjorn3
d422d50651
Pass --sysroot when building the new sysroot
...
To avoid accidentally loading the original libcore
2022-09-25 15:14:59 +02:00
bjorn3
be305c2b1f
Introduce cargo_command helper
2022-09-12 10:35:38 +00:00
bjorn3
b12286fec3
Let abi-checker take the full path to the cg_clif dylib
2022-09-12 10:35:38 +00:00
bjorn3
0db9094231
Rustfmt
2022-07-31 10:15:56 +00:00
Afonso Bordado
f588bfa095
Assume host target in get_file_name
2022-07-30 23:04:59 +01:00
Afonso Bordado
393613439a
Fix some cross compilation scenarios in test runner
2022-07-30 20:28:55 +01:00
Afonso Bordado
ae4fe1d57d
Use get_file_name in tests
2022-07-30 14:07:02 +01:00
Afonso Bordado
437b441ff5
Use get_file_name everywhere for better cross compilation support
2022-07-30 13:06:37 +01:00
Afonso Bordado
3ce83dc469
Move test.sh to y.rs test
2022-07-30 11:15:51 +01:00
bjorn3
c1ac2df0c3
Allow building the sysroot with --emit llvm-ir
2022-06-28 11:55:37 +02:00
bjorn3
88d058fef3
Don't unnecessarily copy rustc_std_workspace_std into the sysroot
2022-04-29 19:47:43 +02:00
bjorn3
2e65a8f2ca
Use -Zcodegen-backend instead of a rustc replacement in cargo-clif
2022-04-29 19:13:41 +02:00
bjorn3
617171e930
Remove cg_clif_build_sysroot
2022-04-29 19:07:32 +02:00
bjorn3
944a48d3af
Remove less of the sysroot build dir on recompilation
2022-04-27 17:31:07 +02:00
bjorn3
4dbd3196f9
Move most code from y.rs to build_system/mod.rs
...
y.rs can't be rustfmt'ed without making it no longer be a valid bash
script.
2022-01-09 19:30:07 +01:00
bjorn3
0dd3d28cff
Rename cargo executable to cargo-clif
...
This allows executing it like cargo clif build if you add it to your
PATH. It also fixes infinite recursion on Windows when invoking it as
Windows includes the current directory in PATH by default.
Fixes #971
2021-12-30 11:39:30 +01:00
bjorn3
dfbc7eb6c7
Version the prebuilt libstd again
...
__CARGO_DEFAULT_LIB_METADATA got lost in the rewrite of the build system
from bash to rust
2021-11-23 14:25:28 +01:00
bjorn3
1e5569d62c
Re-enable incremental compilation for the sysroot
...
rust-lang/rust#74946 for fixed
2021-10-17 15:29:57 +02:00
bjorn3
2abc12daad
Fix y.rs build --sysroot llvm
2021-07-26 16:11:24 +02:00
bjorn3
53478823e4
Refactor cg_clif building
2021-07-04 18:15:13 +02:00
bjorn3
0d531c3737
Better config parsing and allow specifying host and target triple in config
2021-07-04 15:10:06 +02:00
bjorn3
55e0779708
Check if the patched sysroot source is up to date before using it
...
Fixes #1181
2021-07-02 19:14:02 +02:00
bjorn3
cda811173e
Fix compilation for AArch64
2021-07-02 12:39:48 +02:00
bjorn3
80e9188fb1
Rewrite cargo.sh in rust
2021-06-20 12:56:47 +02:00
bjorn3
e5563b5077
Improve windows support
2021-06-19 13:58:32 +02:00
bjorn3
0d6b3dab65
Allow preserving the old sysroot
2021-06-19 13:58:32 +02:00
bjorn3
ad971bbed7
Rewrite build_sysroot.sh in rust
2021-06-19 13:58:32 +02:00
bjorn3
fe6a2892a6
Rewrite prepare.sh in rust
2021-06-19 13:54:25 +02:00
bjorn3
2db4e50618
Rewrite build.sh in rust
...
This makes it easier to compile cg_clif on systems that don't support
bash shell scripts like Windows
2021-06-19 13:54:25 +02:00