about summary refs log tree commit diff
path: root/src/ci
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-20 07:21:05 +0000
committerbors <bors@rust-lang.org>2021-09-20 07:21:05 +0000
commitdb1fb85cff63ad5fffe435e17128f99f9e1d970c (patch)
treeca06ae6710ea86d1f428d321a0cafaa5f2dbf083 /src/ci
parente71925aab9e28ce35363e3fdef27ca011ac6a1dc (diff)
parent5d22b1afe2ff3adb9903cb71ff386828c16fd805 (diff)
downloadrust-db1fb85cff63ad5fffe435e17128f99f9e1d970c.tar.gz
rust-db1fb85cff63ad5fffe435e17128f99f9e1d970c.zip
Auto merge of #88321 - glaubitz:m68k-linux, r=wesleywiser
Add initial support for m68k

This patch series adds initial support for m68k making use of the new M68k
backend introduced with LLVM-13. Additional changes will be needed to be
able to actually use the backend for this target.
Diffstat (limited to 'src/ci')
-rw-r--r--src/ci/docker/host-x86_64/disabled/dist-m68k-linux/Dockerfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ci/docker/host-x86_64/disabled/dist-m68k-linux/Dockerfile b/src/ci/docker/host-x86_64/disabled/dist-m68k-linux/Dockerfile
new file mode 100644
index 00000000000..17203994cdf
--- /dev/null
+++ b/src/ci/docker/host-x86_64/disabled/dist-m68k-linux/Dockerfile
@@ -0,0 +1,26 @@
+FROM ubuntu:20.04
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+  g++ \
+  make \
+  file \
+  curl \
+  ca-certificates \
+  python2.7 \
+  git \
+  cmake \
+  sudo \
+  gdb \
+  xz-utils \
+  g++-m68k-linux-gnu \
+  libssl-dev \
+  pkg-config
+
+
+COPY scripts/sccache.sh /scripts/
+RUN sh /scripts/sccache.sh
+
+ENV HOSTS=m68k-unknown-linux-gnu
+
+ENV RUST_CONFIGURE_ARGS --host=$HOSTS --enable-extended
+ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS