Don't include GCC backend if SKIP_CODEGEN_TESTS is not enabled
This commit is contained in:
parent
13f7f052d8
commit
25a96ca0e5
@ -126,8 +126,13 @@ else
|
|||||||
|
|
||||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.verify-llvm-ir"
|
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.verify-llvm-ir"
|
||||||
|
|
||||||
# Test the Cranelift backend in CI. Bootstrap knows which targets to run tests on.
|
if [[ "${SKIP_CODEGEN_TESTS}" == "1" ]]; then
|
||||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift,gcc"
|
# Test the Cranelift backend in CI. Bootstrap knows which targets to run tests on.
|
||||||
|
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift"
|
||||||
|
else
|
||||||
|
# Test the Cranelift and GCC backends in CI. Bootstrap knows which targets to run tests on.
|
||||||
|
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift,gcc"
|
||||||
|
fi
|
||||||
|
|
||||||
# We enable this for non-dist builders, since those aren't trying to produce
|
# We enable this for non-dist builders, since those aren't trying to produce
|
||||||
# fresh binaries. We currently don't entirely support distributing a fresh
|
# fresh binaries. We currently don't entirely support distributing a fresh
|
||||||
|
Loading…
Reference in New Issue
Block a user