about summary refs log tree commit diff
path: root/src/ci
diff options
context:
space:
mode:
authorPaolo Teti <paolo.teti@gmail.com>2018-05-16 21:58:26 +0200
committerPaolo Teti <paolo.teti@gmail.com>2018-05-16 22:19:02 +0200
commitd1e7ab9cd334affa483e1531f76841c05360fae7 (patch)
treef124e50b6f4722747e1fcab7eed6aa10eae342f5 /src/ci
parent0e325d0141ce8d86524f55c2df53835aab895096 (diff)
downloadrust-d1e7ab9cd334affa483e1531f76841c05360fae7.tar.gz
rust-d1e7ab9cd334affa483e1531f76841c05360fae7.zip
Add target for Big-endian ARM Cortex-R4F/R5F MCUs
The ARM Real-Time (‘R’) profile provides high-performing processors
for safety-critical environments.
Diffstat (limited to 'src/ci')
-rw-r--r--src/ci/docker/disabled/dist-armebv7r-none-eabihf/Dockerfile36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/ci/docker/disabled/dist-armebv7r-none-eabihf/Dockerfile b/src/ci/docker/disabled/dist-armebv7r-none-eabihf/Dockerfile
new file mode 100644
index 00000000000..87aa5fc22c5
--- /dev/null
+++ b/src/ci/docker/disabled/dist-armebv7r-none-eabihf/Dockerfile
@@ -0,0 +1,36 @@
+FROM ubuntu:16.04
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+  g++ \
+  make \
+  file \
+  curl \
+  ca-certificates \
+  python2.7 \
+  git \
+  cmake \
+  sudo \
+  xz-utils \
+  bzip2 \
+  libssl-dev \
+  pkg-config
+
+
+COPY scripts/sccache.sh /scripts/
+RUN sh /scripts/sccache.sh
+
+ENV BASE_URL=https://releases.linaro.org/components/toolchain/binaries/latest/armeb-eabi/
+ENV GCC_LINARO=gcc-linaro-7.2.1-2017.11-x86_64_armeb-eabi
+
+RUN curl -sL $BASE_URL/$GCC_LINARO.tar.xz | tar -xJ
+
+ENV PATH=$PATH:/$GCC_LINARO/bin
+
+ENV TARGET=armebv7r-none-eabihf
+
+ENV CC_armebv7r_none_eabihf=armeb-eabi-gcc \
+    CFLAGS_armebv7r_none_eabihf="-mthumb -march=armv7-r"
+
+ENV RUST_CONFIGURE_ARGS --disable-docs
+
+ENV SCRIPT python2.7 ../x.py dist --target $TARGET