Commit Graph

21 Commits

Author SHA1 Message Date
bjorn3
e5197cf1de Switch the build system from super:: to crate::
This was a left over from when build_system/main.rs was at ./y.rs.
2023-07-24 13:27:17 +00:00
bjorn3
75327f8587 Reuse existing download in y.sh prepare if fresh 2023-06-13 16:39:59 +00:00
bjorn3
0e4139922e Put patched sources in build/ instead of download/ 2023-06-13 16:39:59 +00:00
bjorn3
5b3bc29008 Allow testing a cranelift backend built into rustc itself
This avoids building cranelift twice in rust's CI and is a lot easier
than trying to make building of codegen backends work from within a
cargo invocation done by rust's build system.
2023-05-24 17:27:28 +00:00
bjorn3
a2f720d9fe Allow building and testing without rustup
This can be done by installing the nightly specified in
rust-toolchain.toml and then pointing the CARGO, RUSTC and RUSTDOC env
vars to the right executables.
2023-05-22 17:17:05 +00:00
bjorn3
b1d8b7186c Only pass --frozen to cargo when it is passed to y.rs 2023-05-22 17:17:05 +00:00
bjorn3
3ba9b13490 Don't download abi-cafe and simple-raytracer in ./y.rs prepare
Instead download them on the fly
2023-01-27 18:44:19 +00:00
bjorn3
7095783268 Only run abi-cafe on cg_clif's CI 2023-01-16 11:21:37 +00:00
bjorn3
4dbafefe74 Return Compiler from build_sysroot 2023-01-14 14:18:11 +00:00
bjorn3
bbb7a3b9b9 Rename Compiler variables for clarity 2023-01-14 14:18:11 +00:00
bjorn3
9bc113fb3c Minor consistency improvement 2023-01-14 14:18:11 +00:00
bjorn3
a3468770e3 Rustfmt 2023-01-13 16:13:26 +00:00
bjorn3
957d78c479 Fetch all cargo dependencies in ./y.rs prepare 2023-01-13 15:40:22 +00:00
bjorn3
70a1cb9e62 Pass around Compiler instead of target triples 2023-01-13 12:16:11 +00:00
bjorn3
82b2d8e418 Introduce Dirs type to avoid hard coding src and dest locations 2022-12-01 19:00:32 +00:00
bjorn3
4529979330 Introduce RelPath 2022-12-01 19:00:32 +00:00
bjorn3
e75dfef4d4 Put all temporary build artifacts in build/ 2022-12-01 19:00:32 +00:00
bjorn3
9c21990283 Rename target_dir to dist_dir in a couple of places 2022-11-28 15:02:08 +00:00
bjorn3
cdae9bab58 Introduce CargoProject type and use it where possible 2022-11-27 18:53:00 +00:00
bjorn3
24198ce6b4 Move all downloaded repos to the downloads/ dir 2022-10-13 13:21:55 +00:00
bjorn3
7dccb51fe3 Abi-checker got renamed to abi-cafe 2022-09-26 13:56:18 +02:00