Skip to content

Commit d674a88

Browse files
committed
Auto merge of #153371 - homersimpsons:chore/fix-LegacyKeyValueFormat-arm, r=<try>
Fix LegacyKeyValueFormat report from docker build: arm try-job: arm-android try-job: armhf-gnu try-job: dist-arm-linux-gnueabi try-job: dist-arm-linux-musl try-job: dist-armhf-linux try-job: dist-armv7-linux try-job: dist-ohos-armv7
2 parents f824853 + b89deb4 commit d674a88

7 files changed

Lines changed: 17 additions & 20 deletions

File tree

src/ci/docker/host-x86_64/arm-android/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ ENV PATH=$PATH:/android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin
3232

3333
ENV TARGETS=arm-linux-androideabi
3434

35-
ENV RUST_CONFIGURE_ARGS --android-ndk=/android/ndk/
35+
ENV RUST_CONFIGURE_ARGS="--android-ndk=/android/ndk/"
3636

37-
ENV SCRIPT python3 ../x.py --stage 2 test --host='' --target $TARGETS
37+
ENV SCRIPT="python3 ../x.py --stage 2 test --host= --target $TARGETS"
3838

3939
COPY scripts/sccache.sh /scripts/
4040
RUN sh /scripts/sccache.sh

src/ci/docker/host-x86_64/armhf-gnu/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ RUN sh /scripts/sccache.sh
8282

8383
COPY static/gitconfig /etc/gitconfig
8484

85-
ENV RUST_CONFIGURE_ARGS --qemu-armhf-rootfs=/tmp/rootfs
86-
ENV SCRIPT python3 ../x.py --stage 2 test --host='' --target arm-unknown-linux-gnueabihf
85+
ENV RUST_CONFIGURE_ARGS="--qemu-armhf-rootfs=/tmp/rootfs"
86+
ENV SCRIPT="python3 ../x.py --stage 2 test --host= --target arm-unknown-linux-gnueabihf"
8787

8888
ENV NO_CHANGE_USER=1

src/ci/docker/host-x86_64/dist-arm-linux-gnueabi/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ ENV CC_arm_unknown_linux_gnueabi=arm-unknown-linux-gnueabi-gcc \
2727

2828
ENV HOSTS=arm-unknown-linux-gnueabi
2929

30-
ENV RUST_CONFIGURE_ARGS \
31-
--enable-full-tools \
30+
ENV RUST_CONFIGURE_ARGS="--enable-full-tools \
3231
--disable-docs \
3332
--enable-sanitizers \
34-
--enable-profiler
35-
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS
33+
--enable-profiler"
34+
ENV SCRIPT="python3 ../x.py dist --host $HOSTS --target $HOSTS"

src/ci/docker/host-x86_64/dist-arm-linux-musl/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@ RUN sh /scripts/sccache.sh
1818

1919
ENV HOSTS=aarch64-unknown-linux-musl
2020

21-
ENV RUST_CONFIGURE_ARGS \
22-
--enable-full-tools \
21+
ENV RUST_CONFIGURE_ARGS="--enable-full-tools \
2322
--disable-docs \
2423
--musl-root-aarch64=/usr/local/aarch64-linux-musl \
2524
--enable-sanitizers \
2625
--enable-profiler \
27-
--set target.aarch64-unknown-linux-musl.crt-static=false
28-
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS
26+
--set target.aarch64-unknown-linux-musl.crt-static=false"
27+
ENV SCRIPT="python3 ../x.py dist --host $HOSTS --target $HOSTS"

src/ci/docker/host-x86_64/dist-armhf-linux/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ ENV CC_arm_unknown_linux_gnueabihf=arm-unknown-linux-gnueabihf-gcc \
2525

2626
ENV HOSTS=arm-unknown-linux-gnueabihf
2727

28-
ENV RUST_CONFIGURE_ARGS --enable-full-tools --enable-profiler --disable-docs
29-
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS
28+
ENV RUST_CONFIGURE_ARGS="--enable-full-tools --enable-profiler --disable-docs"
29+
ENV SCRIPT="python3 ../x.py dist --host $HOSTS --target $HOSTS"

src/ci/docker/host-x86_64/dist-armv7-linux/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ ENV CC_armv7_unknown_linux_gnueabihf=armv7-unknown-linux-gnueabihf-gcc \
2525

2626
ENV HOSTS=armv7-unknown-linux-gnueabihf
2727

28-
ENV RUST_CONFIGURE_ARGS --enable-full-tools --enable-profiler --disable-docs
29-
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS
28+
ENV RUST_CONFIGURE_ARGS="--enable-full-tools --enable-profiler --disable-docs"
29+
ENV SCRIPT="python3 ../x.py dist --host $HOSTS --target $HOSTS"

src/ci/docker/host-x86_64/dist-ohos-armv7/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,13 @@ ENV \
4040
AR_armv7_unknown_linux_ohos=/opt/ohos-sdk/native/llvm/bin/llvm-ar \
4141
CXX_armv7_unknown_linux_ohos=/usr/local/bin/armv7-unknown-linux-ohos-clang++.sh
4242

43-
ENV RUST_CONFIGURE_ARGS \
44-
--enable-profiler \
43+
ENV RUST_CONFIGURE_ARGS="--enable-profiler \
4544
--disable-docs \
4645
--tools=cargo,clippy,rustdocs,rustfmt,rust-analyzer,rust-analyzer-proc-macro-srv,analysis,src,wasm-component-ld \
4746
--enable-extended \
48-
--enable-sanitizers
47+
--enable-sanitizers"
4948

50-
ENV SCRIPT python3 ../x.py dist --host=$TARGETS --target $TARGETS
49+
ENV SCRIPT="python3 ../x.py dist --host=$TARGETS --target $TARGETS"
5150

5251
COPY scripts/sccache.sh /scripts/
5352
RUN sh /scripts/sccache.sh

0 commit comments

Comments
 (0)