bjorn3
a684753a68
Merge pull request #1374 from bjorn3/non_rustup_build3
...
Allow building and testing without rustup
2023-05-22 20:58:07 +02:00
bjorn3
24f1569c85
Enable overflow-checks on CI
...
Unlike rustc with cargo debug-assertions = true doesn't imply overflow-checks = true
2023-05-22 18:35:56 +00:00
bjorn3
de8a4d5d46
Remove all implicit "rustc" from rustc_info.rs
2023-05-22 17:10:55 +00:00
bjorn3
761a91ade8
Build CI dist artifacts without debug assertions
...
This significantly improves performance. For example for the
simple-raytracer benchmark it goes from a 13% improvement over LLVM to
39% improvement over LLVM.
2023-02-04 11:31:17 +00:00
bjorn3
bbb7a3b9b9
Rename Compiler variables for clarity
2023-01-14 14:18:11 +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
14ca1df478
Enable debug assertions on CI
...
Fixes #1314
2022-12-16 11:27:21 +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
cdae9bab58
Introduce CargoProject type and use it where possible
2022-11-27 18:53:00 +00: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
3c97227a43
Fix previous commit
2022-08-05 13:17:13 +00:00
bjorn3
e7bc81cc77
Disable incr comp globally on CI
2022-08-05 12:57:19 +00:00
bjorn3
2e65a8f2ca
Use -Zcodegen-backend instead of a rustc replacement in cargo-clif
2022-04-29 19:13:41 +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
40b00f4200
Disable incremental compilation on CI
...
Fixes #1198
2021-12-30 14:07:58 +01:00
bjorn3
c63d8f3f96
Move incr comp enable to the build system
2021-12-30 13:03:32 +01:00
bjorn3
6b4e640dcb
Only deny warnings for cg_clif build itself
...
cc #1213
2021-12-30 12:40:23 +01:00
bjorn3
f296311925
Test on CI with unstable cg_clif features disabled
...
Part of #1084
2021-12-03 13:16:34 +01:00
bjorn3
c2a9839686
Disable jit and inline-asm when building as part of rustc
...
Both features are not yet ready. Inline-asm is only supported on Linux
and requires explicitly specifying registers instead of register
classes. The jit has usability issues and may require the cg_clif
executable in the future.
2021-07-17 16:40:54 +02:00
bjorn3
53478823e4
Refactor cg_clif building
2021-07-04 18:15:13 +02:00
bjorn3
e5563b5077
Improve windows support
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