3 RUN apt-get update && apt-get install -y --no-install-recommends \
21 COPY scripts/sccache.sh /scripts/
22 RUN sh /scripts/sccache.sh
24 # using llvm-link-shared due to libffi issues -- see #34486
25 ENV RUST_CONFIGURE_ARGS \
26 --build=x86_64-unknown-linux-gnu \
27 --llvm-root=/usr/lib/llvm-7 \
28 --enable-llvm-link-shared \
29 --set rust.thin-lto-import-instr-limit=10
31 ENV SCRIPT python2.7 ../x.py test src/tools/tidy && python2.7 ../x.py test
33 # The purpose of this container isn't to test with debug assertions and
34 # this is run on all PRs, so let's get speedier builds by disabling these extra
36 ENV NO_DEBUG_ASSERTIONS=1
37 ENV NO_LLVM_ASSERTIONS=1