Skip to content

Commit 69bb710

Browse files
committed
Set GCC codegen backends in jobs.yml
1 parent ca097f6 commit 69bb710

4 files changed

Lines changed: 6 additions & 11 deletions

File tree

src/ci/docker/host-x86_64/x86_64-gnu-gcc-core-tests/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3434
COPY scripts/sccache.sh /scripts/
3535
RUN sh /scripts/sccache.sh
3636

37-
ENV CODEGEN_BACKENDS="gcc"
3837
ENV NO_DEBUG_ASSERTIONS="1"
3938
ENV RUSTFLAGS="-Cpanic=abort -Zpanic-abort-tests"
4039
ENV RUST_CONFIGURE_ARGS="--build=x86_64-unknown-linux-gnu \

src/ci/docker/host-x86_64/x86_64-gnu-gcc/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3434
COPY scripts/sccache.sh /scripts/
3535
RUN sh /scripts/sccache.sh
3636

37-
ENV CODEGEN_BACKENDS="llvm,gcc"
3837
ENV NO_DEBUG_ASSERTIONS="1"
3938
ENV RUST_CONFIGURE_ARGS="--build=x86_64-unknown-linux-gnu \
4039
--enable-sanitizers \

src/ci/github-actions/jobs.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,13 @@ pr:
144144
<<: *job-linux-4c
145145
- name: x86_64-gnu-gcc
146146
doc_url: https://rustc-dev-guide.rust-lang.org/tests/codegen-backend-tests/cg_gcc.html
147+
env:
148+
CODEGEN_BACKENDS: llvm,gcc
147149
<<: *job-linux-4c
148150
- name: x86_64-gnu-gcc-core-tests
149151
doc_url: https://rustc-dev-guide.rust-lang.org/tests/codegen-backend-tests/cg_gcc.html
152+
env:
153+
CODEGEN_BACKENDS: gcc
150154
<<: *job-linux-4c
151155

152156
# Jobs that run when you perform a try build (@bors try)
@@ -361,14 +365,6 @@ auto:
361365
continue_on_error: true
362366
<<: *job-linux-4c
363367

364-
- name: x86_64-gnu-gcc
365-
doc_url: https://rustc-dev-guide.rust-lang.org/tests/codegen-backend-tests/cg_gcc.html
366-
<<: *job-linux-4c
367-
368-
- name: x86_64-gnu-gcc-core-tests
369-
doc_url: https://rustc-dev-guide.rust-lang.org/tests/codegen-backend-tests/cg_gcc.html
370-
<<: *job-linux-4c
371-
372368
# This job ensures commits landing on nightly still pass the full
373369
# test suite on the stable channel. There are some UI tests that
374370
# depend on the channel being built (for example if they include the

src/ci/run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ if [ "$FORCE_CI_RUSTC" == "" ]; then
5959
fi
6060

6161
if [[ "$RUST_CONFIGURE_ARGS" == *"rust.codegen-backends"* ]]; then
62-
echo "error: Please specify codegen backends using the CODEGEN_BACKENDS environment variable, not via RUST_CONFIGURE_ARGS."
62+
echo "error: Please specify codegen backends using the CODEGEN_BACKENDS environment variable, \
63+
not via RUST_CONFIGURE_ARGS."
6364
exit 1
6465
fi
6566

0 commit comments

Comments
 (0)