diff options
author | bors <bors@rust-lang.org> | 2017-10-28 03:34:15 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2017-10-28 03:34:15 +0000 |
commit | 25fb72e35968b4a44e454f931254ec2fbf57505c (patch) | |
tree | 88e2aad0036c5f47773f8b382cb5d2f3a3f76f5f /ci/docker | |
parent | c6abfc1f701e9c67515608627d09e03ed00ee0c8 (diff) | |
parent | 9a0d37f5172e946a54366107dd775d65615e67f0 (diff) | |
download | rust-libc-25fb72e35968b4a44e454f931254ec2fbf57505c.tar.gz |
Auto merge of #823 - malbarbo:sparc64-test, r=alexcrichton
Add sparc64-unknown-linux-gnu to CI (with disabled tests)
Tests are disabled because qemu segfaults, see https://github.com/rust-lang/libc/issues/822
The builder is still useful to catch some errors.
Diffstat (limited to 'ci/docker')
-rw-r--r-- | ci/docker/sparc64-unknown-linux-gnu/Dockerfile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ci/docker/sparc64-unknown-linux-gnu/Dockerfile b/ci/docker/sparc64-unknown-linux-gnu/Dockerfile new file mode 100644 index 0000000000..2d53371add --- /dev/null +++ b/ci/docker/sparc64-unknown-linux-gnu/Dockerfile @@ -0,0 +1,14 @@ +# link fails on 17.10 +FROM ubuntu:17.04 + +RUN apt-get update && apt-get install -y --no-install-recommends \ + gcc libc6-dev qemu-user ca-certificates \ + gcc-sparc64-linux-gnu libc6-dev-sparc64-cross + +ENV CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_LINKER=sparc64-linux-gnu-gcc \ + # TODO: in theory we should execute this, but qemu segfaults immediately + # see https://github.com/rust-lang/libc/issues/822 + # CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_RUNNER="qemu-sparc64 -L /usr/sparc64-linux-gnu" \ + CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_RUNNER=true \ + CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc \ + PATH=$PATH:/rust/bin |