File tree 5 files changed +47
-7
lines changed
dist-powerpc64le-linux-gnu
dist-powerpc64le-linux-musl
5 files changed +47
-7
lines changed Original file line number Diff line number Diff line change
1
+ FROM ubuntu:22.04
2
+
3
+ COPY scripts/cross-apt-packages.sh /scripts/
4
+ RUN sh /scripts/cross-apt-packages.sh
5
+
6
+ COPY scripts/crosstool-ng.sh /scripts/
7
+ RUN sh /scripts/crosstool-ng.sh
8
+
9
+ COPY scripts/rustbuild-setup.sh /scripts/
10
+ RUN sh /scripts/rustbuild-setup.sh
11
+
12
+ WORKDIR /tmp
13
+
14
+ COPY scripts/crosstool-ng-build.sh /scripts/
15
+ RUN /scripts/crosstool-ng-build.sh
16
+
17
+ WORKDIR /build
18
+
19
+ RUN apt-get install -y --no-install-recommends rpm2cpio cpio
20
+ COPY scripts/shared.sh scripts/build-powerpc64le-toolchain.sh /build/
21
+ RUN ./build-powerpc64le-toolchain.sh
22
+
23
+ COPY scripts/sccache.sh /scripts/
24
+ RUN sh /scripts/sccache.sh
25
+
26
+ ENV \
27
+ AR_powerpc64le_unknown_linux_gnu=powerpc64le-linux-gnu-ar \
28
+ CC_powerpc64le_unknown_linux_gnu=powerpc64le-linux-gnu-gcc \
29
+ CXX_powerpc64le_unknown_linux_gnu=powerpc64le-linux-gnu-g++
30
+
31
+ ENV HOSTS=powerpc64le-unknown-linux-gnu
32
+
33
+ ENV RUST_CONFIGURE_ARGS \
34
+ --enable-extended \
35
+ --enable-full-tools \
36
+ --enable-profiler \
37
+ --enable-sanitizers \
38
+ --disable-docs
39
+
40
+ ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ RUN /scripts/crosstool-ng-build.sh
18
18
WORKDIR /build
19
19
20
20
RUN apt-get install -y --no-install-recommends rpm2cpio cpio
21
- COPY scripts/shared.sh host-x86_64/dist-powerpc64le-linux /build-powerpc64le-toolchain.sh /build/
21
+ COPY scripts/shared.sh scripts /build-powerpc64le-toolchain.sh /build/
22
22
RUN ./build-powerpc64le-toolchain.sh
23
23
24
24
COPY scripts/sccache.sh /scripts/
@@ -27,14 +27,11 @@ RUN sh /scripts/sccache.sh
27
27
ENV PATH=$PATH:/x-tools/powerpc64le-unknown-linux-musl/bin
28
28
29
29
ENV \
30
- AR_powerpc64le_unknown_linux_gnu=powerpc64le-linux-gnu-ar \
31
- CC_powerpc64le_unknown_linux_gnu=powerpc64le-linux-gnu-gcc \
32
- CXX_powerpc64le_unknown_linux_gnu=powerpc64le-linux-gnu-g++ \
33
30
AR_powerpc64le_unknown_linux_musl=powerpc64le-unknown-linux-musl-ar \
34
31
CC_powerpc64le_unknown_linux_musl=powerpc64le-unknown-linux-musl-gcc \
35
32
CXX_powerpc64le_unknown_linux_musl=powerpc64le-unknown-linux-musl-g++
36
33
37
- ENV HOSTS=powerpc64le-unknown-linux-gnu,powerpc64le-unknown-linux- musl
34
+ ENV HOSTS=powerpc64le-unknown-linux-musl
38
35
39
36
ENV RUST_CONFIGURE_ARGS \
40
37
--enable-extended \
File renamed without changes.
Original file line number Diff line number Diff line change @@ -197,8 +197,11 @@ auto:
197
197
- name : dist-powerpc64-linux
198
198
<< : *job-linux-4c
199
199
200
- - name : dist-powerpc64le-linux
201
- << : *job-linux-4c-largedisk
200
+ - name : dist-powerpc64le-linux-gnu
201
+ << : *job-linux-4c
202
+
203
+ - name : dist-powerpc64le-linux-musl
204
+ << : *job-linux-4c
202
205
203
206
- name : dist-riscv64-linux
204
207
<< : *job-linux-4c
File renamed without changes.
You can’t perform that action at this time.
0 commit comments