bjorn3
c0f2b10e15
Skip building crates without tests for regex
...
regex-capi and regex-debug don't have any tests. Nor do they contain any
code that is useful to test with cg_clif.
2023-03-26 14:07:51 +00:00
bjorn3
5b1268d16b
Update portable-simd
...
This avoids building wasm-bindgen-test on non-wasm targets, reducing
test time.
2023-03-26 13:44:21 +00:00
bjorn3
ae0a22cb89
Update regex to fix FreeBSD tests
...
Fixes #1360
2023-03-21 14:52:03 +00:00
bjorn3
b88e129915
Avoid a duplicate "[TEST] rust-random/rand"
2023-02-26 17:37:29 +00:00
bjorn3
c615e9248a
Run tests for all crates in the regex workspace
2023-02-26 17:35:53 +00:00
bjorn3
b193419ec7
Allow multiple threads and panicking tests when testing regex
...
I guess this was a leftover from very early in the development of
cg_clif. Allowing multiple threads significantly improves performance,
while panicking tests can run now thanks to -Zpanic-abort-tests.
2023-02-26 16:50:08 +00:00
bjorn3
19ed2139a3
Remove no longer necessary code removing "[codegen mono items]" from test output
2023-02-26 14:34:36 +00:00
bjorn3
5e6cde150e
Remove --cap-lint warn from regex test
2023-02-26 14:34:36 +00:00
bjorn3
7a864c8ef5
Update test repo versions
2023-02-26 14:34:28 +00:00
bjorn3
a45a81a6a2
Patch coretests separately from the standard library source
2023-02-26 12:15:25 +00:00
bjorn3
f79601fbb0
Reduce verbosity of rand testing
2023-02-25 18:01:42 +00:00
bjorn3
26d0d255ce
Reduce verbosity of libcore testing
2023-02-25 17:48:45 +00:00
bjorn3
916a6c17df
Update portable-simd
2023-02-19 17:46:51 +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
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
fd1e824d88
Minor changes to the TestRunner::new signature
2023-01-14 14:18:11 +00:00
bjorn3
a09712e0d2
Use fs::remove_dir_all instead of cargo clean
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
1a89507d7c
Don't use the diff command in regex test
...
The output is small enough that getting a pretty diff isn't important.
In addition this reduces the amount of commands the build system depends
on.
2023-01-13 15:29:28 +00:00
bjorn3
63fae6a164
Introduce helpers for common test case commands
2023-01-13 14:19:54 +00:00
bjorn3
bb7ab8242a
Remove a lot of redundant rustc arguments for tests
2023-01-13 12:52:29 +00:00
bjorn3
f311ef5a2e
Share cross-compilation code between building and testing
2023-01-13 12:32:20 +00:00
bjorn3
70a1cb9e62
Pass around Compiler instead of target triples
2023-01-13 12:16:11 +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
4c97569a54
Move patched sysroot from build_sysroot/ to download/
2023-01-05 18:14:40 +00:00
bjorn3
1ca07b9a44
Fix running simple-raytracer benchmark on Windows
2022-12-15 17:28:48 +00:00
bjorn3
cc3ac006a2
Move many env vars from CI configuration to the build system
2022-12-15 14:16:53 +00:00
bjorn3
0865e5a452
Set RUSTDOCFLAGS again
...
Was accidentally removed in 808cba2
2022-12-15 11:41:06 +00:00
bjorn3
f626185a5b
Update portable-simd to 582239ac3b
2022-12-15 11:09:45 +00:00
bjorn3
808cba2251
Extract Compiler creation from tests.rs
2022-12-15 10:28:53 +00:00
Afonso Bordado
e12a882a67
S390X CI Support ( #1304 )
2022-12-04 00:23:01 +01:00
bjorn3
04eaaa043d
Fix crash with TAIT in the call codegen code
...
The new logic is closer to what cg_llvm does.
Fixes #1240
2022-12-02 12:44:14 +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
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
bjorn3
cdae9bab58
Introduce CargoProject type and use it where possible
2022-11-27 18:53:00 +00:00
bjorn3
a24213d81b
Use 2021 edition for y.rs
2022-10-28 09:54:05 +00:00
bjorn3
24198ce6b4
Move all downloaded repos to the downloads/ dir
2022-10-13 13:21:55 +00:00
Afonso Bordado
1878ca61bc
Disable JIT Tests for windows
2022-09-26 19:21:37 +01:00
bjorn3
a65c881aa3
Introduce hyperfine_command helper
2022-09-12 10:35:38 +00:00
bjorn3
be305c2b1f
Introduce cargo_command helper
2022-09-12 10:35:38 +00:00
bjorn3
721668f133
Tiny cleanup
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
a7de42f61b
Use pull instead of push based model for getting dylib symbols in the jit
...
This avoids having to parse the dylibs to get all symbols and matches
the way the dynamic linker resolves symbols. Furthermore it fixes the
jit on Windows.
2022-08-28 10:43:19 +02:00
bjorn3
d9bbac069b
Rustfmt
2022-08-24 17:06:47 +00:00
bjorn3
cfef0a4f8d
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
2022-08-24 18:40:58 +02:00