File tree Expand file tree Collapse file tree 5 files changed +47
-7
lines changed
dist-powerpc64le-linux-gnu
dist-powerpc64le-linux-musl Expand file tree Collapse file tree 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
1818WORKDIR /build
1919
2020RUN 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/
2222RUN ./build-powerpc64le-toolchain.sh
2323
2424COPY scripts/sccache.sh /scripts/
@@ -27,14 +27,11 @@ RUN sh /scripts/sccache.sh
2727ENV PATH=$PATH:/x-tools/powerpc64le-unknown-linux-musl/bin
2828
2929ENV \
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++ \
3330 AR_powerpc64le_unknown_linux_musl=powerpc64le-unknown-linux-musl-ar \
3431 CC_powerpc64le_unknown_linux_musl=powerpc64le-unknown-linux-musl-gcc \
3532 CXX_powerpc64le_unknown_linux_musl=powerpc64le-unknown-linux-musl-g++
3633
37- ENV HOSTS=powerpc64le-unknown-linux-gnu,powerpc64le-unknown-linux- musl
34+ ENV HOSTS=powerpc64le-unknown-linux-musl
3835
3936ENV RUST_CONFIGURE_ARGS \
4037 --enable-extended \
File renamed without changes.
Original file line number Diff line number Diff line change @@ -197,8 +197,11 @@ auto:
197197 - name : dist-powerpc64-linux
198198 << : *job-linux-4c
199199
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
202205
203206 - name : dist-riscv64-linux
204207 << : *job-linux-4c
File renamed without changes.
You can’t perform that action at this time.
0 commit comments