File tree Expand file tree Collapse file tree 3 files changed +48
-1
lines changed
docker/host-x86_64/x86_64-gnu-gcc Expand file tree Collapse file tree 3 files changed +48
-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
+ g++ \
6
+ make \
7
+ ninja-build \
8
+ file \
9
+ curl \
10
+ ca-certificates \
11
+ python3 \
12
+ git \
13
+ cmake \
14
+ sudo \
15
+ gdb \
16
+ libssl-dev \
17
+ pkg-config \
18
+ xz-utils \
19
+ mingw-w64 \
20
+ zlib1g-dev \
21
+ libzstd-dev \
22
+ # libgccjit dependencies
23
+ flex \
24
+ libmpfr-dev \
25
+ libgmp-dev \
26
+ libmpc3 \
27
+ libmpc-dev \
28
+ && rm -rf /var/lib/apt/lists/*
29
+
30
+ COPY scripts/sccache.sh /scripts/
31
+ RUN sh /scripts/sccache.sh
32
+
33
+ ENV RUST_CONFIGURE_ARGS \
34
+ --build=x86_64-unknown-linux-gnu \
35
+ --enable-sanitizers \
36
+ --enable-profiler \
37
+ --enable-compiler-docs \
38
+ --set llvm.libzstd=true \
39
+ --set rust.codegen-backends=llvm,gcc
40
+ ENV SCRIPT python3 ../x.py --stage 2 test --test-codegen-backend gcc
Original file line number Diff line number Diff line change 141
141
<< : *job-linux-4c
142
142
- name : x86_64-gnu-miri
143
143
<< : *job-linux-4c
144
+ - name : x86_64-gnu-gcc
145
+ << : *job-linux-4c
144
146
145
147
# Jobs that run when you perform a try build (@bors try)
146
148
# These jobs automatically inherit envs.try, to avoid repeating
@@ -348,6 +350,9 @@ auto:
348
350
- name : x86_64-gnu
349
351
<< : *job-linux-4c
350
352
353
+ - name : x86_64-gnu-gcc
354
+ << : *job-linux-4c
355
+
351
356
# This job ensures commits landing on nightly still pass the full
352
357
# test suite on the stable channel. There are some UI tests that
353
358
# depend on the channel being built (for example if they include the
Original file line number Diff line number Diff line change 188
188
fi
189
189
190
190
# 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"
192
194
193
195
# download-rustc seems to be broken on CI after the stage0 redesign
194
196
# Disable it until these issues are debugged and resolved
You can’t perform that action at this time.
0 commit comments