fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
771 B30 linesraw
1FROM ubuntu:16.04
2
3RUN apt-get update && apt-get install -y --no-install-recommends \
4  g++ \
5  make \
6  file \
7  curl \
8  ca-certificates \
9  python2.7 \
10  git \
11  cmake \
12  sudo \
13  gdb \
14  xz-utils \
15  libssl-dev \
16  pkg-config
17
18COPY scripts/sccache.sh /scripts/
19RUN sh /scripts/sccache.sh
20
21ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu --set rust.ignore-git=false
22ENV SCRIPT python2.7 ../x.py test distcheck
23ENV DIST_SRC 1
24
25# The purpose of this builder is to test that we can `./x.py 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.
29ENV NO_LLVM_ASSERTIONS=1
30ENV NO_DEBUG_ASSERTIONS=1