]> git.lizzy.rs Git - rust.git/blobdiff - src/ci/docker/host-x86_64/i686-gnu/Dockerfile
Allow old toolchain on some images
[rust.git] / src / ci / docker / host-x86_64 / i686-gnu / Dockerfile
index 195601755f303599b4a1183f0451604351476583..7bca0398dea7c6679bcf8e6286b2b5c116392340 100644 (file)
@@ -20,7 +20,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
 COPY scripts/sccache.sh /scripts/
 RUN sh /scripts/sccache.sh
 
-ENV RUST_CONFIGURE_ARGS --build=i686-unknown-linux-gnu
+COPY scripts/cmake.sh /scripts/
+RUN /scripts/cmake.sh
+
+ENV RUST_CONFIGURE_ARGS --build=i686-unknown-linux-gnu \
+    --set llvm.allow-old-toolchain
 # Exclude some tests that are unlikely to be platform specific, to speed up
 # this slow job.
 ENV SCRIPT python3 ../x.py --stage 2 test \