diff options
| author | Jorge Aparicio <jorge@japaric.io> | 2018-04-01 18:50:21 +0200 |
|---|---|---|
| committer | Jorge Aparicio <jorge@japaric.io> | 2018-04-01 18:50:21 +0200 |
| commit | 68b54a5f4368ba1a66ae7d330bb95a8d6eb08c3c (patch) | |
| tree | 018653a4a0db10a07ec833a2b10d30447b66b43b /src/ci/docker | |
| parent | cb1f89864e73692d4cad83270d6b5e31047f96cf (diff) | |
| download | rust-68b54a5f4368ba1a66ae7d330bb95a8d6eb08c3c.tar.gz rust-68b54a5f4368ba1a66ae7d330bb95a8d6eb08c3c.zip | |
add a dist-thumb builder to build rust-std for the THUMB targets
the rust-std component only contains the core and compiler-builtins (+c +mem) crates cc #49382
Diffstat (limited to 'src/ci/docker')
| -rw-r--r-- | src/ci/docker/dist-various-3/Dockerfile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ci/docker/dist-various-3/Dockerfile b/src/ci/docker/dist-various-3/Dockerfile new file mode 100644 index 00000000000..06c80982f3c --- /dev/null +++ b/src/ci/docker/dist-various-3/Dockerfile @@ -0,0 +1,19 @@ +FROM ubuntu:17.10 + +COPY scripts/cross-apt-packages.sh /scripts/ +RUN sh /scripts/cross-apt-packages.sh + +RUN apt-get build-dep -y clang llvm && apt-get install -y --no-install-recommends \ + gcc-arm-none-eabi \ + libnewlib-arm-none-eabi + +COPY scripts/sccache.sh /scripts/ +RUN sh /scripts/sccache.sh + +ENV TARGETS=thumbv6m-none-eabi +ENV TARGETS=$TARGETS,thumbv7m-none-eabi +ENV TARGETS=$TARGETS,thumbv7em-none-eabi +ENV TARGETS=$TARGETS,thumbv7em-none-eabihf + +ENV RUST_CONFIGURE_ARGS --disable-docs +ENV SCRIPT python2.7 ../x.py dist --target $TARGETS |
