summaryrefslogtreecommitdiffstats
path: root/vendor/libm-0.1.4/ci/docker/powerpc64-unknown-linux-gnu
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libm-0.1.4/ci/docker/powerpc64-unknown-linux-gnu')
-rw-r--r--vendor/libm-0.1.4/ci/docker/powerpc64-unknown-linux-gnu/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/libm-0.1.4/ci/docker/powerpc64-unknown-linux-gnu/Dockerfile b/vendor/libm-0.1.4/ci/docker/powerpc64-unknown-linux-gnu/Dockerfile
new file mode 100644
index 000000000..653cd3511
--- /dev/null
+++ b/vendor/libm-0.1.4/ci/docker/powerpc64-unknown-linux-gnu/Dockerfile
@@ -0,0 +1,13 @@
+FROM ubuntu:18.04
+
+RUN apt-get update && \
+ apt-get install -y --no-install-recommends \
+ gcc libc6-dev ca-certificates \
+ gcc-powerpc64-linux-gnu libc6-dev-ppc64-cross \
+ binfmt-support qemu-user-static qemu-system-ppc
+
+ENV CARGO_TARGET_POWERPC64_UNKNOWN_LINUX_GNU_LINKER=powerpc64-linux-gnu-gcc \
+ CARGO_TARGET_POWERPC64_UNKNOWN_LINUX_GNU_RUNNER=qemu-ppc64-static \
+ CC_powerpc64_unknown_linux_gnu=powerpc64-linux-gnu-gcc \
+ QEMU_LD_PREFIX=/usr/powerpc64-linux-gnu \
+ RUST_TEST_THREADS=1