mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 08:37:14 +00:00
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"
|
||||
|
||||
# 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,gcc"
|
||||
if [[ "${SKIP_CODEGEN_TESTS}" == "1" ]]; then
|
||||
# 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
|
||||
# fresh binaries. We currently don't entirely support distributing a fresh
|
||||
|
|
Loading…
Reference in a new issue