File tree Expand file tree Collapse file tree 3 files changed +55
-1
lines changed
docker/host-x86_64/x86_64-gnu-gcc Expand file tree Collapse file tree 3 files changed +55
-1
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:22.04
2+
3+ ARG DEBIAN_FRONTEND=noninteractive
4+ RUN apt-get update && apt-get install -y --no-install-recommends \
5+ bzip2 \
6+ g++ \
7+ make \
8+ ninja-build \
9+ file \
10+ curl \
11+ ca-certificates \
12+ python3 \
13+ git \
14+ cmake \
15+ sudo \
16+ gdb \
17+ libssl-dev \
18+ pkg-config \
19+ xz-utils \
20+ mingw-w64 \
21+ zlib1g-dev \
22+ libzstd-dev \
23+ # libgccjit dependencies
24+ flex \
25+ libmpfr-dev \
26+ libgmp-dev \
27+ libmpc3 \
28+ libmpc-dev \
29+ && rm -rf /var/lib/apt/lists/*
30+
31+ COPY scripts/sccache.sh /scripts/
32+ RUN sh /scripts/sccache.sh
33+
34+ ENV RUST_CONFIGURE_ARGS \
35+ --build=x86_64-unknown-linux-gnu \
36+ --enable-sanitizers \
37+ --enable-profiler \
38+ --enable-compiler-docs \
39+ --set llvm.libzstd=true \
40+ --set 'rust.codegen-backends=[\" llvm\" ,\" gcc\" ]'
41+ ENV SCRIPT python3 ../x.py \
42+ --stage 2 \
43+ test \
44+ --test-codegen-backend gcc \
45+ --set 'rust.codegen-backends=[\" llvm\" ,\" gcc\" ]'
Original file line number Diff line number Diff line change 141141 << : *job-linux-4c
142142 - name : x86_64-gnu-miri
143143 << : *job-linux-4c
144+ - name : x86_64-gnu-gcc
145+ doc_url : https://rustc-dev-guide.rust-lang.org/tests/codegen-backend-tests/cg_gcc.html
146+ << : *job-linux-4c
144147
145148# Jobs that run when you perform a try build (@bors try)
146149# These jobs automatically inherit envs.try, to avoid repeating
@@ -348,6 +351,10 @@ auto:
348351 - name : x86_64-gnu
349352 << : *job-linux-4c
350353
354+ - name : x86_64-gnu-gcc
355+ doc_url : https://rustc-dev-guide.rust-lang.org/tests/codegen-backend-tests/cg_gcc.html
356+ << : *job-linux-4c
357+
351358 # This job ensures commits landing on nightly still pass the full
352359 # test suite on the stable channel. There are some UI tests that
353360 # depend on the channel being built (for example if they include the
Original file line number Diff line number Diff line change 188188 fi
189189
190190 # Download GCC from CI on test builders
191- RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set gcc.download-ci-gcc=true"
191+ # FIXME: Temporarily commented out until the GCC build/download strategy is cleared out or
192+ # made dependent on GCC submodule changes.
193+ # RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set gcc.download-ci-gcc=true"
192194
193195 # download-rustc seems to be broken on CI after the stage0 redesign
194196 # Disable it until these issues are debugged and resolved
You can’t perform that action at this time.
0 commit comments