Fix invalid enabling of gcc backend in run.sh

This commit is contained in:
Guillaume Gomez 2023-11-02 13:54:40 +01:00
parent a141b6975b
commit 2dbe7d8d5b
2 changed files with 3 additions and 3 deletions

View File

@ -331,9 +331,9 @@ jobs:
<<: *job-linux-4c <<: *job-linux-4c
- name: x86_64-gnu-llvm-15 - name: x86_64-gnu-llvm-15
<<: *job-linux-16c
env: env:
ENABLE_GCC_CODEGEN: "1" ENABLE_GCC_CODEGEN: "1"
<<: *job-linux-16c
- name: x86_64-gnu-tools - name: x86_64-gnu-tools
<<: *job-linux-16c <<: *job-linux-16c

View File

@ -128,10 +128,10 @@ else
if [[ "${ENABLE_GCC_CODEGEN}" == "1" ]]; then if [[ "${ENABLE_GCC_CODEGEN}" == "1" ]]; then
# Test the Cranelift backend in CI. Bootstrap knows which targets to run tests on. # 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" RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift,gcc"
else else
# Test the Cranelift and GCC backends in CI. Bootstrap knows which targets to run tests on. # 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" RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift"
fi 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