about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2017-02-08 10:31:19 -0500
committerJorge Aparicio <japaricious@gmail.com>2017-02-08 10:31:19 -0500
commit8bb4718200e3603c6dd704868fa061d4e7c96767 (patch)
tree12c531c8a5b80666da7e7cfd563c22eea93be130
parentc14f87e3b0823407a91a283796bf78ef83d5fe99 (diff)
downloadrust-8bb4718200e3603c6dd704868fa061d4e7c96767.tar.gz
rust-8bb4718200e3603c6dd704868fa061d4e7c96767.zip
build std for sparc64-unknown-linux-gnu
-rw-r--r--src/ci/docker/cross/Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ci/docker/cross/Dockerfile b/src/ci/docker/cross/Dockerfile
index 8f947caf2cb..29a5e7bcafb 100644
--- a/src/ci/docker/cross/Dockerfile
+++ b/src/ci/docker/cross/Dockerfile
@@ -14,6 +14,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
   zlib1g-dev \
   g++-arm-linux-gnueabi \
   g++-arm-linux-gnueabihf \
+  gcc-sparc64-linux-gnu \
+  libc6-dev-sparc64-cross \
   bzip2 \
   patch
 
@@ -60,9 +62,11 @@ ENV TARGETS=$TARGETS,mipsel-unknown-linux-musl
 ENV TARGETS=$TARGETS,arm-unknown-linux-musleabi
 ENV TARGETS=$TARGETS,arm-unknown-linux-musleabihf
 ENV TARGETS=$TARGETS,armv7-unknown-linux-musleabihf
+ENV TARGETS=$TARGETS,sparc64-unknown-linux-gnu
 
 ENV CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc \
-    CC_mips_unknown_linux_musl=mips-openwrt-linux-gcc
+    CC_mips_unknown_linux_musl=mips-openwrt-linux-gcc \
+    CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc
 
 # Suppress some warnings in the openwrt toolchains we downloaded
 ENV STAGING_DIR=/tmp