This repository was archived by the owner on May 28, 2025. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 6 files changed +63
-13
lines changed 
dist-powerpc64le-linux-gnu 
dist-powerpc64le-linux-musl Expand file tree Collapse file tree 6 files changed +63
-13
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+ COPY  host-x86_64/dist-powerpc64le-linux-gnu/powerpc64le-unknown-linux-gnu.defconfig /tmp/crosstool.defconfig
16+ RUN  /scripts/crosstool-ng-build.sh
17+ 
18+ WORKDIR  /build
19+ 
20+ RUN  apt-get install -y --no-install-recommends rpm2cpio cpio
21+ COPY  scripts/shared.sh scripts/build-powerpc64le-toolchain.sh /build/
22+ RUN  ./build-powerpc64le-toolchain.sh
23+ 
24+ COPY  scripts/sccache.sh /scripts/
25+ RUN  sh /scripts/sccache.sh
26+ 
27+ ENV  \
28+     AR_powerpc64le_unknown_linux_gnu=powerpc64le-linux-gnu-ar \
29+     CC_powerpc64le_unknown_linux_gnu=powerpc64le-linux-gnu-gcc \
30+     CXX_powerpc64le_unknown_linux_gnu=powerpc64le-linux-gnu-g++
31+ 
32+ ENV  HOSTS=powerpc64le-unknown-linux-gnu
33+ 
34+ ENV  RUST_CONFIGURE_ARGS \
35+     --enable-extended \
36+     --enable-full-tools \
37+     --enable-profiler \
38+     --enable-sanitizers \
39+     --disable-docs
40+ 
41+ ENV  SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS
Original file line number Diff line number Diff line change 1+ CT_CONFIG_VERSION="4"
2+ CT_EXPERIMENTAL=y
3+ CT_PREFIX_DIR="/x-tools/${CT_TARGET}"
4+ CT_USE_MIRROR=y
5+ CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc"
6+ CT_ARCH_POWERPC=y
7+ CT_ARCH_LE=y
8+ CT_ARCH_64=y
9+ # CT_DEMULTILIB is not set
10+ CT_ARCH_ARCH="powerpc64le"
11+ CT_KERNEL_LINUX=y
12+ CT_LINUX_V_4_19=y
13+ CT_CC_LANG_CXX=y
14+ CT_GETTEXT_NEEDED=y
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ RUN sh /scripts/rustbuild-setup.sh
1212WORKDIR  /tmp
1313
1414COPY  scripts/crosstool-ng-build.sh /scripts/
15- COPY  host-x86_64/dist-powerpc64le-linux/powerpc64le-unknown-linux-musl.defconfig /tmp/crosstool.defconfig
15+ COPY  host-x86_64/dist-powerpc64le-linux-musl /powerpc64le-unknown-linux-musl.defconfig /tmp/crosstool.defconfig
1616RUN  /scripts/crosstool-ng-build.sh
1717
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.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -10,11 +10,6 @@ runners:
1010    free_disk : true 
1111    << : *base-job 
1212
13-   #  Large runner used mainly for its bigger disk capacity
14-   - &job-linux-4c-largedisk 
15-     os : ubuntu-24.04-4core-16gb 
16-     << : *base-job 
17- 
1813  - &job-linux-8c 
1914    os : ubuntu-24.04-8core-32gb 
2015    << : *base-job 
@@ -203,8 +198,11 @@ auto:
203198  - name : dist-powerpc64-linux 
204199    << : *job-linux-4c 
205200
206-   - name : dist-powerpc64le-linux 
207-     << : *job-linux-4c-largedisk 
201+   - name : dist-powerpc64le-linux-gnu 
202+     << : *job-linux-4c 
203+ 
204+   - name : dist-powerpc64le-linux-musl 
205+     << : *job-linux-4c 
208206
209207  - name : dist-riscv64-linux 
210208    << : *job-linux-4c 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments