summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorMarco A L Barbosa <malbarbo@gmail.com>2017-10-24 19:04:02 -0200
committerMarco A L Barbosa <malbarbo@gmail.com>2017-10-24 19:04:02 -0200
commit31309536e9e891dde4096f8ad74eff276d37a024 (patch)
tree45eac12a59ac45c9ee5866d6c02677087a0e5bed /ci
parent2ca5bc5275a95d94a09e7cd0d1b5f0e7f0de1f3a (diff)
downloadrust-libc-31309536e9e891dde4096f8ad74eff276d37a024.tar.gz
Add powerpc64le to CI
Diffstat (limited to 'ci')
-rw-r--r--ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile b/ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile
new file mode 100644
index 0000000000..627123e9a1
--- /dev/null
+++ b/ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile
@@ -0,0 +1,11 @@
+FROM ubuntu:17.10
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+ gcc libc6-dev qemu-user ca-certificates \
+ gcc-powerpc64le-linux-gnu libc6-dev-ppc64el-cross \
+ qemu-system-ppc
+
+ENV CARGO_TARGET_POWERPC64LE_UNKNOWN_LINUX_GNU_LINKER=powerpc64le-linux-gnu-gcc \
+ CARGO_TARGET_POWERPC64LE_UNKNOWN_LINUX_GNU_RUNNER="qemu-ppc64le -L /usr/powerpc64le-linux-gnu" \
+ CC=powerpc64le-linux-gnu-gcc \
+ PATH=$PATH:/rust/bin