File tree 6 files changed +799
-0
lines changed
docker/host-x86_64/test-big-endian
6 files changed +799
-0
lines changed Original file line number Diff line number Diff line change @@ -262,6 +262,9 @@ jobs:
262
262
- name : test-various
263
263
os : ubuntu-20.04-xl
264
264
env : {}
265
+ - name : test-big-endian
266
+ os : ubuntu-20.04-xl
267
+ env : {}
265
268
- name : wasm32
266
269
os : ubuntu-20.04-xl
267
270
env : {}
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:20.04
2
+
3
+ COPY scripts/cross-apt-packages.sh /scripts/
4
+ RUN sh /scripts/cross-apt-packages.sh
5
+
6
+ COPY scripts/crosstool-ng-1.24.sh /scripts/
7
+ RUN sh /scripts/crosstool-ng-1.24.sh
8
+
9
+ COPY scripts/rustbuild-setup.sh /scripts/
10
+ RUN sh /scripts/rustbuild-setup.sh
11
+ USER rustbuild
12
+ WORKDIR /tmp
13
+
14
+ COPY host-x86_64/dist-powerpc64-linux/shared.sh host-x86_64/dist-powerpc64-linux/powerpc64-linux-gnu.config host-x86_64/dist-powerpc64-linux/build-powerpc64-toolchain.sh /tmp/
15
+ RUN ./build-powerpc64-toolchain.sh
16
+
17
+ USER root
18
+
19
+ COPY scripts/sccache.sh /scripts/
20
+ RUN sh /scripts/sccache.sh
21
+
22
+ ENV PATH=$PATH:/x-tools/powerpc64-unknown-linux-gnu/bin
23
+
24
+ ENV \
25
+ AR_powerpc64_unknown_linux_gnu=powerpc64-unknown-linux-gnu-ar \
26
+ CC_powerpc64_unknown_linux_gnu=powerpc64-unknown-linux-gnu-gcc \
27
+ CXX_powerpc64_unknown_linux_gnu=powerpc64-unknown-linux-gnu-g++
28
+
29
+ ENV RUST_CONFIGURE_ARGS --enable-extended --disable-docs
30
+ ENV SCRIPT python3 ../x.py test --target powerpc64-unknown-linux-gnu src/test/ui --pass check --test-args --run=never
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -ex
3
+
4
+ source shared.sh
5
+
6
+ mkdir build
7
+ cd build
8
+ cp ../powerpc64-linux-gnu.config .config
9
+ hide_output ct-ng build
10
+ cd ..
11
+ rm -rf build
You can’t perform that action at this time.
0 commit comments