bjorn3
04a3850317
Run tests for riscv64
2023-10-21 16:46:24 +00:00
bjorn3
62bf33a9c6
Ensure we don't overwrite an existing Cargo.lock when fetching an external git repo
2023-10-14 12:41:44 +00:00
bjorn3
f06831441b
Remove portable-simd custom lock file
...
portable-simd has a Cargo.lock already checked in now.
2023-10-14 12:38:18 +00:00
bjorn3
abc9f0d6fb
Update rand test
...
This allows removing a patch for a test that requires unwinding support
2023-10-14 12:29:13 +00:00
bjorn3
88198c70e4
Sync from rust bf9a1c8a19
2023-10-09 08:26:09 +00:00
bjorn3
e759603da1
Consistently use eprintln inside the build system
2023-10-07 11:10:30 +00:00
Tamir Duberstein
2753052adf
compiler: always use var_os("RUST_BACKTRACE")
...
There are 3 instances of var(...) and 3 instances of var_os(...); the
latter avoids an appearance of unhandled error, so use it everywhere.
2023-10-06 08:53:23 -04:00
bjorn3
f1ede97b14
Update portable-simd test and implement new simd_* platform intrinsics
2023-10-02 14:44:10 +00:00
bjorn3
c974bc89b8
Update regex and implement necessary AArch64 vendor intrinsics
...
Upstream has removed the shootout-regex-dna example.
2023-10-02 13:45:48 +00:00
bjorn3
cf36f4e0dc
Update rand test
2023-10-02 13:45:48 +00:00
bjorn3
b49adfeea5
Compile cg_clif with -Zallow-features=rustc_private
...
Fixes #1218
2023-10-02 13:26:42 +00:00
bjorn3
02e5f387fa
Add debug tracing for failed commands
2023-09-14 18:42:55 +00:00
bjorn3
59cabd7032
Merge commit '8f9ac9c22d6594cf059d8e6c71d414cc5ccd7975' into sync_cg_clif-2023-08-09
2023-08-09 18:20:12 +00:00
bjorn3
8f9ac9c22d
Fix MinGW
2023-08-09 10:47:49 +00:00
bjorn3
68f7b826be
Use CARGO_ENCODED_RUSTFLAGS to support paths with spaces
...
Fixes #1391
2023-08-02 11:06:51 +02:00
bjorn3
6641b3a548
Update requirements section of build_system/usage.txt
2023-07-24 13:27:51 +00:00
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
e8168ce8a3
Merge commit '1eded3619d0e55d57521a259bf27a03906fdfad0' into sync_cg_clif-2023-07-22
2023-07-22 13:32:34 +00:00
bjorn3
84afcee743
Improve benchmarking step summary format
2023-07-16 12:54:48 +00:00
bjorn3
448b7a3a12
Record GHA step summaries for benchmarking
2023-07-16 12:33:39 +00:00
bjorn3
c137418bde
Explicitly disable git gpg signing
...
Otherwise building fails if the user has globally enabled gpg signing.
Fixes #1384
2023-07-12 17:21:14 +00:00
bjorn3
34d63e4c1d
Use GHA log grouping
2023-07-12 16:45:42 +00:00
bjorn3
c28878d8f2
Rustup to rustc 1.73.0-nightly ( 993deaa0b
2023-07-11)
2023-07-12 14:31:00 +00:00
bjorn3
d169ee3457
Recurse into function signatures in assert_assignable
...
Fixes #1311
2023-06-19 19:30:44 +00:00
bjorn3
43064b005d
Update portable-simd
2023-06-19 17:39:38 +00:00
bjorn3
932645473c
Fix warning about the cargo resolver to use
2023-06-19 17:36:32 +00:00
bjorn3
0b3060138b
Use -Zinline-mir instead of -Zmir-opt-level=3
...
Except for mir inlining all mir opts that are beneficial for cg_clif now
run on -Zmir-opt-level=2. -Zmir-opt-level=3 enables some more expensive
optimizations.
2023-06-19 17:21:30 +00:00
bjorn3
81ea0b29ea
Merge commit '8830dccd1d4c74f1f69b0d3bd982a3f1fcde5807' into sync_cg_clif-2023-06-15
2023-06-15 17:56:01 +00:00
bjorn3
485d7e129f
Remove outdated fixme
2023-06-13 16:39:59 +00:00
bjorn3
a691b14aee
Allow skipping tests from the commandline
2023-06-13 16:39:59 +00:00
bjorn3
8c1c84d79e
Copy Cargo.lock over in ./y.sh prepare
...
This makes it easier for ./x.py to vendor all dependencies
2023-06-13 16:39:59 +00:00
bjorn3
bcac222013
Lazily patch the standard library
2023-06-13 16:39:59 +00:00
bjorn3
d0ea8bbc5e
Only copy library dir for stdlib
...
When building as part of rust, the sysroot source dir is symlinked to
the main source dir, which contains the build dir to which we are likely
copying.
2023-06-13 16:39:59 +00:00
bjorn3
6b9af8cb36
Disable all incremental compilation for CARGO_BUILD_INCREMENTAL=false
2023-06-13 16:39:59 +00:00
bjorn3
eb3e8bb7d7
Move some profile settings out of the stdlib cargo workspace patch
2023-06-13 16:39:59 +00:00
bjorn3
8ad9e9f861
Ensure everything has a lockfile
2023-06-13 16:39:59 +00:00
bjorn3
d3da972441
Write stdlib workspace Cargo.toml directly in prepare.rs
2023-06-13 16:39:59 +00:00
bjorn3
67f9fe6863
Lazily patch all test projects
2023-06-13 16:39:59 +00:00
bjorn3
3baee66f9b
Rework standard library building
2023-06-13 16:39:59 +00:00
bjorn3
54eaa5382c
Enable compiler-builtins no-asm feature using --features flag
2023-06-13 16:39:59 +00:00
bjorn3
b9129c0d6b
Rename a couple of build dirs for consistency
2023-06-13 16:39:59 +00:00
bjorn3
fc23a8a7e0
Lazily patch coretests
2023-06-13 16:39:59 +00:00
bjorn3
2c38effe28
Don't patch in place in apply_patches
...
This will make it easier to skip patching if unnecessary in the future
2023-06-13 16:39:59 +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
d0b8896189
Allow building the build system using cargo
...
Rust's build system only handles cargo, not rustc.
2023-06-13 16:39:59 +00:00
bjorn3
ce3f300e40
Add --download-dir option to specify download dir separate from --out-dir
2023-06-13 16:39:59 +00:00
bjorn3
134dc33485
Fix testing with unstable features disabled
2023-05-24 17:31:25 +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
a684753a68
Merge pull request #1374 from bjorn3/non_rustup_build3
...
Allow building and testing without rustup
2023-05-22 20:58:07 +02:00