3 RUN apt-get update && apt-get install -y --no-install-recommends \
18 COPY scripts/sccache.sh /scripts/
19 RUN sh /scripts/sccache.sh
21 ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu --set rust.ignore-git=false
22 ENV SCRIPT python3 ../x.py --stage 2 test distcheck
25 # The purpose of this builder is to test that we can `./x.py --stage 2 test` successfully
26 # from a tarball, not to test LLVM/rustc's own set of assertions. These cause a
27 # significant hit to CI compile time (over a half hour as observed in #61185),
28 # so disable assertions for this builder.
29 ENV NO_LLVM_ASSERTIONS=1
30 ENV NO_DEBUG_ASSERTIONS=1