File tree Expand file tree Collapse file tree
src/ci/docker/host-x86_64
x86_64-gnu-gcc-core-tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # This Dockerfile builds sysroot crates with the GCC backend and then run libcore tests
2- # with it .
1+ # This Dockerfile builds sysroot crates with the GCC backend and then runs
2+ # libcore tests with the GCC backend .
33
44FROM ubuntu:22.04
55
@@ -34,14 +34,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3434COPY scripts/sccache.sh /scripts/
3535RUN sh /scripts/sccache.sh
3636
37+ ENV CODEGEN_BACKENDS="gcc"
3738ENV NO_DEBUG_ASSERTIONS="1"
3839ENV RUSTFLAGS="-Cpanic=abort -Zpanic-abort-tests"
3940ENV RUST_CONFIGURE_ARGS="--build=x86_64-unknown-linux-gnu \
4041 --enable-sanitizers \
4142 --enable-profiler \
4243 --enable-compiler-docs \
43- --set llvm.libzstd=true \
44- --set rust.codegen-backends=[\\\" gcc\\\" ]"
44+ --set llvm.libzstd=true"
4545ENV SCRIPT="python3 ../x.py \
4646 --stage 1 \
4747 test library/coretests"
Original file line number Diff line number Diff line change 1- # This Dockerfile builds sysroot with the LLVM backendsthen run tests with the
2- # GCC backend.
1+ # This Dockerfile builds sysroot with the LLVM backend and then runs tests
2+ # with the GCC backend.
33
44FROM ubuntu:22.04
55
@@ -34,13 +34,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3434COPY scripts/sccache.sh /scripts/
3535RUN sh /scripts/sccache.sh
3636
37+ ENV CODEGEN_BACKENDS="llvm,gcc"
3738ENV NO_DEBUG_ASSERTIONS="1"
3839ENV RUST_CONFIGURE_ARGS="--build=x86_64-unknown-linux-gnu \
3940 --enable-sanitizers \
4041 --enable-profiler \
4142 --enable-compiler-docs \
42- --set llvm.libzstd=true \
43- --set rust.codegen-backends=[\\\" llvm\\\" ,\\\" gcc\\\" ]"
43+ --set llvm.libzstd=true"
4444ENV SCRIPT="python3 ../x.py \
4545 --stage 2 \
4646 test tests \
@@ -52,5 +52,4 @@ ENV SCRIPT="python3 ../x.py \
5252 --skip tests/rustdoc-js \
5353 --skip tests/rustdoc-js-std \
5454 --skip tests/rustdoc-json \
55- --skip tests/rustdoc-ui \
56- --set rust.codegen-backends=[\\\" llvm\\\" ,\\\" gcc\\\" ]"
55+ --skip tests/rustdoc-ui"
You can’t perform that action at this time.
0 commit comments