Commit Graph

30 Commits

Author SHA1 Message Date
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
5e452ba616 Set RUSTC and RUSTDOC env vars to invalid values to catch forgetting to set them 2023-01-14 14:18:11 +00:00
bjorn3
9bc113fb3c Minor consistency improvement 2023-01-14 14:18:11 +00:00
bjorn3
bdcbf47df3 Improve readme and build system help message 2023-01-13 16:34:43 +00:00
bjorn3
70a1cb9e62 Pass around Compiler instead of target triples 2023-01-13 12:16:11 +00:00
bjorn3
cf22470de7 Disable CG_CLIF_DISPLAY_CG_TIME by default
It is a lot of noise without much benefit
2023-01-13 11:42:02 +00:00
bjorn3
e14e5c2af1 Don't use hyperfine during testing
A new command ./y.rs bench is introduced for benchmarking. This change
allows skipping hyperfine installation in ./y.rs prepare and thus avoids
writing to ~/.cargo/bin.
2023-01-05 18:14:59 +00:00
bjorn3
cc3ac006a2 Move many env vars from CI configuration to the build system 2022-12-15 14:16:53 +00:00
bjorn3
b6ac5a3ceb Allow specifying where build artifacts should be written to 2022-12-01 19:00:32 +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
5e97a3951d Make sure the target dir is always explicitly set when using cargo 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
26d48c9a37 Rename the build/ directory to dist/
This will allow putting all temporary build artifacts in build/ in the
future, keeping all the build output artifacts in dist/
2022-11-28 13:01:49 +00:00
Afonso Bordado
ba56e8f313 Remove MSVC Check 2022-09-26 19:21:26 +01:00
bjorn3
7dccb51fe3 Abi-checker got renamed to abi-cafe 2022-09-26 13:56:18 +02:00
bjorn3
b12286fec3 Let abi-checker take the full path to the cg_clif dylib 2022-09-12 10:35:38 +00:00
Afonso Bordado
7610be478f Move abi-checker to y.rs test 2022-08-06 21:24:38 +01:00
Afonso Bordado
3bd9821342 Initial ABI Checker support 2022-08-06 15:56:37 +01:00
bjorn3
e7bc81cc77 Disable incr comp globally on CI 2022-08-05 12:57:19 +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
2f1380036c Cleanup meaningless changes 2022-07-30 22:32:06 +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
d0599350a7 Misc cleanups to the test runner 2022-07-30 12:50:05 +01:00
Afonso Bordado
3ce83dc469 Move test.sh to y.rs test 2022-07-30 11:15:51 +01:00
bjorn3
617171e930 Remove cg_clif_build_sysroot 2022-04-29 19:07:32 +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