fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
656 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  libssl-dev \
15  pkg-config \
16  xz-utils
17
18COPY scripts/sccache.sh /scripts/
19RUN sh /scripts/sccache.sh
20
21ENV RUST_CONFIGURE_ARGS \
22      --build=x86_64-unknown-linux-gnu \
23      --enable-full-bootstrap
24ENV SCRIPT python2.7 ../x.py build
25
26# In general this just slows down the build and we're just a smoke test that
27# a full bootstrap works in general, so there's not much need to take this
28# penalty in build times.
29ENV NO_LLVM_ASSERTIONS 1
30ENV NO_DEBUG_ASSERTIONS 1