File tree 5 files changed +55
-10
lines changed
5 files changed +55
-10
lines changed Original file line number Diff line number Diff line change
1
+ FROM ghcr.io/rust-lang/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
+ WORKDIR /build
10
+
11
+ COPY scripts/rustbuild-setup.sh /scripts/
12
+ RUN sh /scripts/rustbuild-setup.sh
13
+ WORKDIR /tmp
14
+
15
+ COPY scripts/crosstool-ng-build.sh /scripts/
16
+ COPY host-x86_64/dist-arm-linux-gnueabi/arm-linux-gnueabi.defconfig /tmp/crosstool.defconfig
17
+ RUN /scripts/crosstool-ng-build.sh
18
+
19
+ COPY scripts/sccache.sh /scripts/
20
+ RUN sh /scripts/sccache.sh
21
+
22
+ ENV PATH=$PATH:/x-tools/arm-unknown-linux-gnueabi/bin
23
+
24
+ ENV CC_arm_unknown_linux_gnueabi=arm-unknown-linux-gnueabi-gcc \
25
+ AR_arm_unknown_linux_gnueabi=arm-unknown-linux-gnueabi-ar \
26
+ CXX_arm_unknown_linux_gnueabi=arm-unknown-linux-gnueabi-g++
27
+
28
+ ENV HOSTS=arm-unknown-linux-gnueabi
29
+
30
+ ENV RUST_CONFIGURE_ARGS \
31
+ --enable-full-tools \
32
+ --disable-docs \
33
+ --enable-sanitizers \
34
+ --enable-profiler \
35
+ ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS
File renamed without changes.
Original file line number Diff line number Diff line change @@ -19,19 +19,13 @@ RUN sh /scripts/rustbuild-setup.sh
19
19
WORKDIR /tmp
20
20
21
21
COPY scripts/crosstool-ng-build.sh /scripts/
22
- COPY host-x86_64/dist-arm-linux/arm-linux-gnueabi .defconfig /tmp/crosstool.defconfig
22
+ COPY host-x86_64/dist-arm-linux-musl /arm-linux-musl .defconfig /tmp/crosstool.defconfig
23
23
RUN /scripts/crosstool-ng-build.sh
24
24
25
25
COPY scripts/sccache.sh /scripts/
26
26
RUN sh /scripts/sccache.sh
27
27
28
- ENV PATH=$PATH:/x-tools/arm-unknown-linux-gnueabi/bin
29
-
30
- ENV CC_arm_unknown_linux_gnueabi=arm-unknown-linux-gnueabi-gcc \
31
- AR_arm_unknown_linux_gnueabi=arm-unknown-linux-gnueabi-ar \
32
- CXX_arm_unknown_linux_gnueabi=arm-unknown-linux-gnueabi-g++
33
-
34
- ENV HOSTS=arm-unknown-linux-gnueabi,aarch64-unknown-linux-musl
28
+ ENV HOSTS=aarch64-unknown-linux-musl
35
29
36
30
ENV RUST_CONFIGURE_ARGS \
37
31
--enable-full-tools \
Original file line number Diff line number Diff line change
1
+ CT_CONFIG_VERSION="4"
2
+ CT_PREFIX_DIR="/x-tools/${CT_TARGET}"
3
+ CT_USE_MIRROR=y
4
+ CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc"
5
+ CT_ARCH_ARM=y
6
+ CT_ARCH_ARCH="armv6"
7
+ CT_ARCH_FLOAT_SW=y
8
+ CT_KERNEL_LINUX=y
9
+ CT_LINUX_V_3_2=y
10
+ CT_BINUTILS_V_2_32=y
11
+ CT_GLIBC_V_2_17=y
12
+ CT_GCC_V_8=y
13
+ CT_CC_LANG_CXX=y
Original file line number Diff line number Diff line change @@ -167,8 +167,11 @@ auto:
167
167
- name : dist-android
168
168
<< : *job-linux-4c
169
169
170
- - name : dist-arm-linux
171
- << : *job-linux-8c-codebuild
170
+ - name : dist-arm-linux-gnueabi
171
+ << : *job-linux-4c
172
+
173
+ - name : dist-arm-linux-musl
174
+ << : *job-linux-4c
172
175
173
176
- name : dist-armhf-linux
174
177
<< : *job-linux-4c
You can’t perform that action at this time.
0 commit comments