diff options
author | Alex Crichton <alex@alexcrichton.com> | 2016-10-14 13:54:45 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2016-10-14 16:36:40 -0700 |
commit | dcf47d21baeb07262b2ae698846447d02cc52abd (patch) | |
tree | 522256aba0939c6ff669f5b3c31550f6621f98c3 /ci | |
parent | ebeab042e6bb14a447627b57ed9a493e2cc0e095 (diff) | |
download | rust-libc-dcf47d21baeb07262b2ae698846447d02cc52abd.tar.gz |
Add a number of constants to mips64
Diffstat (limited to 'ci')
-rw-r--r-- | ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile | 11 | ||||
-rwxr-xr-x | ci/run.sh | 4 |
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 @@ -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 |