summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-10-14 13:54:45 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-10-14 16:36:40 -0700
commitdcf47d21baeb07262b2ae698846447d02cc52abd (patch)
tree522256aba0939c6ff669f5b3c31550f6621f98c3 /ci
parentebeab042e6bb14a447627b57ed9a493e2cc0e095 (diff)
downloadrust-libc-dcf47d21baeb07262b2ae698846447d02cc52abd.tar.gz
Add a number of constants to mips64
Diffstat (limited to 'ci')
-rw-r--r--ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile11
-rwxr-xr-xci/run.sh4
2 files changed, 15 insertions, 0 deletions
diff --git a/ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile b/ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile
new file mode 100644
index 0000000000..2eb5de2453
--- /dev/null
+++ b/ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile
@@ -0,0 +1,11 @@
+FROM ubuntu:16.10
+
+RUN apt-get update
+RUN apt-get install -y --no-install-recommends \
+ gcc libc6-dev qemu-user ca-certificates \
+ gcc-mips64-linux-gnuabi64 libc6-dev-mips64-cross \
+ qemu-system-mips64
+
+ENV CARGO_TARGET_MIPS64_UNKNOWN_LINUX_GNUABI64_LINKER=mips64-linux-gnuabi64-gcc \
+ CC_mips64_unknown_linux_gnuabi64=mips64-linux-gnuabi64-gcc \
+ PATH=$PATH:/rust/bin
diff --git a/ci/run.sh b/ci/run.sh
index 760353bf57..15721ab965 100755
--- a/ci/run.sh
+++ b/ci/run.sh
@@ -121,6 +121,10 @@ case "$TARGET" in
qemu-mips -L /usr/mips-linux-gnu $CARGO_TARGET_DIR/$TARGET/debug/libc-test
;;
+ mips64-unknown-linux-gnuabi64)
+ qemu-mips64 -L /usr/mips64-linux-gnuabi64 $CARGO_TARGET_DIR/$TARGET/debug/libc-test
+ ;;
+
mips-unknown-linux-musl)
qemu-mips -L /toolchain/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15 \
$CARGO_TARGET_DIR/$TARGET/debug/libc-test