File tree 2 files changed +8
-2
lines changed
docker/host-x86_64/x86_64-gnu-llvm-15
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
# Only run the stage 1 tests on merges, not on PR CI jobs.
6
6
if [[ -z " ${PR_CI_JOB} " ]]; then
7
+ # When running gcc backend tests, we need to install `libgccjit` and to not run llvm codegen
8
+ # tests as it will fail them.
7
9
if [[ " ${ENABLE_GCC_CODEGEN} " == " 1" ]]; then
8
10
../x.py --stage 1 test --skip src/tools/tidy --skip tests/codegen
9
11
else
@@ -23,6 +25,8 @@ if [[ -z "${PR_CI_JOB}" ]]; then
23
25
../x.py --stage 1 test tests/ui-fulldeps
24
26
fi
25
27
28
+ # When running gcc backend tests, we need to install `libgccjit` and to not run llvm codegen
29
+ # tests as it will fail them.
26
30
# NOTE: intentionally uses all of `x.py`, `x`, and `x.ps1` to make sure they all work on Linux.
27
31
if [[ " ${ENABLE_GCC_CODEGEN} " == " 1" ]]; then
28
32
../x.py --stage 2 test --skip src/tools/tidy --skip tests/codegen
Original file line number Diff line number Diff line change @@ -126,11 +126,13 @@ else
126
126
127
127
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.verify-llvm-ir"
128
128
129
+ # When running gcc backend tests, we need to install `libgccjit` and to not run llvm codegen
130
+ # tests as it will fail them.
129
131
if [[ " ${ENABLE_GCC_CODEGEN} " == " 1" ]]; then
130
- # Test the Cranelift backend in CI. Bootstrap knows which targets to run tests on.
132
+ # Test the Cranelift and GCC backends in CI. Bootstrap knows which targets to run tests on.
131
133
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift,gcc"
132
134
else
133
- # Test the Cranelift and GCC backends in CI. Bootstrap knows which targets to run tests on.
135
+ # Test the Cranelift backend in CI. Bootstrap knows which targets to run tests on.
134
136
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift"
135
137
fi
136
138
You can’t perform that action at this time.
0 commit comments