]>
Commit | Line | Data |
---|---|---|
476ff2be SL |
1 | FROM ubuntu:16.04 |
2 | ||
3 | RUN apt-get update && apt-get install -y --no-install-recommends \ | |
4 | g++-multilib \ | |
5 | make \ | |
1b1a35ee | 6 | ninja-build \ |
476ff2be SL |
7 | file \ |
8 | curl \ | |
9 | ca-certificates \ | |
ba9703b0 | 10 | python3 \ |
476ff2be SL |
11 | git \ |
12 | cmake \ | |
476ff2be SL |
13 | sudo \ |
14 | gdb \ | |
3dfed10e XL |
15 | zlib1g-dev \ |
16 | lib32z1-dev \ | |
476ff2be SL |
17 | xz-utils |
18 | ||
476ff2be | 19 | |
041b39d2 XL |
20 | COPY scripts/sccache.sh /scripts/ |
21 | RUN sh /scripts/sccache.sh | |
22 | ||
6a06907d XL |
23 | COPY scripts/cmake.sh /scripts/ |
24 | RUN /scripts/cmake.sh | |
25 | ||
3dfed10e XL |
26 | RUN mkdir -p /config |
27 | RUN echo "[rust]" > /config/nopt-std-config.toml | |
28 | RUN echo "optimize = false" >> /config/nopt-std-config.toml | |
29 | ||
476ff2be | 30 | ENV RUST_CONFIGURE_ARGS --build=i686-unknown-linux-gnu --disable-optimize-tests |
3dfed10e XL |
31 | ENV SCRIPT python3 ../x.py test --stage 0 --config /config/nopt-std-config.toml library/std \ |
32 | && python3 ../x.py --stage 2 test |