Commit Graph

980 Commits

Author SHA1 Message Date
Guillaume Gomez
2e52b08800 Rustify cargo.sh 2023-12-23 00:13:09 +01:00
antoyo
b2e0cc5cec
Merge pull request #399 from GuillaumeGomez/checkout
If the rustc commit cannot be retrieve, just checkout the repository
2023-12-21 16:11:03 -05:00
Antoni Boucher
a53495ab45 Add comment 2023-12-21 11:18:11 -05:00
Guillaume Gomez
6631dd9dd2 Don't stop test if llvm FileCheck cannot be found 2023-12-20 21:44:12 +01:00
Guillaume Gomez
87a704a227 If the rustc commit cannot be retrieve, just checkout the repository 2023-12-20 21:33:21 +01:00
antoyo
9131ece832
Merge pull request #397 from GuillaumeGomez/rm-rustup-sh
Remove unused `rustup.sh` script
2023-12-20 15:27:57 -05:00
Guillaume Gomez
9a8245fed8 Remove unused rustup.sh script 2023-12-20 16:19:03 +01:00
antoyo
7dad07a67c
Merge pull request #396 from GuillaumeGomez/rustify-clean-all
Rustify `clean_all.sh`
2023-12-20 10:09:16 -05:00
Guillaume Gomez
e26e074261 Rustify clean_all.sh 2023-12-20 15:47:50 +01:00
Guillaume Gomez
05ef68961b Remove unused build_sysroot.sh file 2023-12-20 14:47:42 +01:00
antoyo
e0c4d65e07
Merge pull request #384 from GuillaumeGomez/rustify-test
Rustify test.sh
2023-12-19 17:06:40 -05:00
Guillaume Gomez
8e870c75d9 Remove unused TestArgs::use_backend and display messages in case a test is not run 2023-12-19 22:25:48 +01:00
Guillaume Gomez
6e53832eda Simplify Runner type alias 2023-12-19 21:15:28 +01:00
antoyo
db494375ab
Merge pull request #382 from sadlerap/impl-generic-arithmetic-pass
simd: implement missing intrinsics from simd/generic-arithmetic-pass.rs
2023-12-19 13:00:35 -05:00
Guillaume Gomez
a46066ca23 Remove ignored commands from gcc12 CI 2023-12-19 16:55:22 +01:00
Guillaume Gomez
984e045848 Show output of --mini-tests and --std-tests commands 2023-12-19 16:54:02 +01:00
Guillaume Gomez
bb4fd2c638 Simplify code by removing unneeded pattern matching 2023-12-19 01:16:29 +01:00
Guillaume Gomez
f516c96811 Add comment about why -Cpanic=abort option is needed 2023-12-19 01:07:01 +01:00
Guillaume Gomez
a8b0e30a8b Error earlier if the rustc host cannot be found 2023-12-18 23:25:23 +01:00
Guillaume Gomez
9882d7c511 Apply suggestions 2023-12-16 17:56:03 +01:00
Guillaume Gomez
95dfe5ec90 Simplify split_args code, add a unit test for it and run it into CI 2023-12-16 17:39:58 +01:00
Guillaume Gomez
db9b932314 Fix sysroot build 2023-12-14 17:11:35 +01:00
Guillaume Gomez
867ea12488 Fix non-running rustc ui tests 2023-12-13 17:49:08 +01:00
Guillaume Gomez
ebb7aa0b85 Apply suggestions 2023-12-04 17:33:18 +01:00
Guillaume Gomez
996635bad6 Fix chroot command 2023-12-04 15:29:23 +01:00
Guillaume Gomez
2ec8d46dd1 Correctly handle OVERWRITE_TARGET_TRIPLE env variable 2023-12-04 15:29:23 +01:00
Guillaume Gomez
53b2759bef Show command which failed 2023-12-04 15:29:23 +01:00
Guillaume Gomez
ff04316243 Remove --target option 2023-12-04 15:29:23 +01:00
Guillaume Gomez
970b2c7700 Fix build_sysroot by adding missing RUSTFLAGS environment variable 2023-12-04 15:29:23 +01:00
Guillaume Gomez
7d71b87691 Correctly set --cap-lints when running regex tests 2023-12-04 15:29:23 +01:00
Guillaume Gomez
ad1d5417e7 Set RUSTDOCFLAGS environment variable in run_cargo_command_with_callback function 2023-12-04 15:29:23 +01:00
Guillaume Gomez
7013eccc05 Add missing code comment 2023-12-04 15:29:23 +01:00
Guillaume Gomez
3c6bae7fa8 Use the correct folder when deleting rust UI tests 2023-12-04 15:29:23 +01:00
Guillaume Gomez
4bed89f79b Correctly pass toolchain to cargo command 2023-12-04 15:29:23 +01:00
Guillaume Gomez
d793f80bd4 Correctly pass cfg option 2023-12-04 15:29:23 +01:00
Guillaume Gomez
673661db8b Remove newline for llvm FileCheck binary path 2023-12-04 15:29:23 +01:00
Guillaume Gomez
23c97b545d Replace xargs command with pure Rust 2023-12-04 15:29:23 +01:00
Guillaume Gomez
87c284c9bc Only read rust test files 2023-12-04 15:29:23 +01:00
Guillaume Gomez
9d104a0cbf Clone rust repository before modifying it 2023-12-04 15:29:23 +01:00
Guillaume Gomez
c27fe3e036 Correctly handle channel in config 2023-12-04 15:29:23 +01:00
Guillaume Gomez
694a80d372 Add missing --build-sysroot option 2023-12-04 15:29:23 +01:00
Guillaume Gomez
8cc024c84d Fix invalid path in build_sysroot_inner 2023-12-04 15:29:23 +01:00
Guillaume Gomez
d3e14a49c9 Display stdout and stderr if a command failed to run 2023-12-04 15:29:23 +01:00
Guillaume Gomez
84ca4f59c2 Remove test.sh, config.sh and all calls and documentation pointing to it 2023-12-04 15:29:22 +01:00
Guillaume Gomez
7b76ac4eb7 Rustify test.sh 2023-12-04 15:28:53 +01:00
Guillaume Gomez
04f32f2016 Allow rustfmt to run on build_system 2023-12-04 15:28:53 +01:00
antoyo
0a67e9cd60
Merge pull request #391 from GuillaumeGomez/fix-build-instructions
Fix build instructions
2023-12-02 11:42:37 -05:00
Guillaume Gomez
bb4d0be014 Fix build instructions 2023-12-02 16:28:28 +01:00
Andy Sadler
17b2c46c88
remove generic-arithmetic-pass from failing tests
This test now passes when tested with a patched libgccjit.  However, due
to [some compiler bugs][1], we can't enable this for non-patched
libgccjit yet.

[1]: https://github.com/sadlerap/rustc_codegen_gcc/actions/runs/6820180639/job/18548672444#step:15:4375

Signed-off-by: Andy Sadler <andrewsadler122@gmail.com>
2023-11-28 21:25:43 -06:00
Andy Sadler
3a221320eb
fix simd_neg implementation for ints
gcc_not would panic upon encountering a vector type, which is not what
we want here.

Signed-off-by: Andy Sadler <andrewsadler122@gmail.com>
2023-11-28 21:25:42 -06:00