diff options
author | Marco A L Barbosa <malbarbo@gmail.com> | 2017-10-27 09:08:47 -0200 |
---|---|---|
committer | Marco A L Barbosa <malbarbo@gmail.com> | 2017-10-27 09:09:45 -0200 |
commit | 9a0d37f5172e946a54366107dd775d65615e67f0 (patch) | |
tree | ac665afc07dbbc05e16ff0c5417dc7db9ebd5215 /ci | |
parent | 42b24bf704a8ab5e5b90e7f9f149cdea16a7a60e (diff) | |
download | rust-libc-9a0d37f5172e946a54366107dd775d65615e67f0.tar.gz |
Add sparc64-unknown-linux-gnu to CI (with disabled tests)
Diffstat (limited to 'ci')
-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 |