Skip to content

Commit 8769615

Browse files
committed
Auto merge of #153533 - homersimpsons:chore/fix-LegacyKeyValueFormat-miscellaneous, r=<try>
Fix LegacyKeyValueFormat report from docker build: miscellaneous try-job: dist-android try-job: dist-loongarch64-linux try-job: dist-loongarch64-musl try-job: dist-riscv64-linux try-job: dist-s390x-linux try-job: dist-sparcv9-solaris try-job: x86_64-fuchsia try-job: x86_64-rust-for-linux
2 parents 2d76d9b + b9ee655 commit 8769615

File tree

8 files changed

+27
-33
lines changed

8 files changed

+27
-33
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@ ENV TARGETS=$TARGETS,i686-linux-android
1616
ENV TARGETS=$TARGETS,aarch64-linux-android
1717
ENV TARGETS=$TARGETS,x86_64-linux-android
1818

19-
ENV RUST_CONFIGURE_ARGS \
20-
--enable-extended \
19+
ENV RUST_CONFIGURE_ARGS="--enable-extended \
2120
--enable-profiler \
2221
--android-ndk=/android/ndk/ \
23-
--disable-docs
22+
--disable-docs"
2423

2524
ENV PATH=$PATH:/android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin
2625

27-
ENV SCRIPT python3 ../x.py dist --host='' --target $TARGETS
26+
ENV SCRIPT="python3 ../x.py dist --host= --target $TARGETS"
2827

2928
COPY scripts/sccache.sh /scripts/
3029
RUN sh /scripts/sccache.sh

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,13 @@ ENV TARGETS=$HOSTS
4545
ENV TARGETS=$TARGETS,loongarch64-unknown-none
4646
ENV TARGETS=$TARGETS,loongarch64-unknown-none-softfloat
4747

48-
ENV RUST_CONFIGURE_ARGS \
49-
--enable-extended \
48+
ENV RUST_CONFIGURE_ARGS="--enable-extended \
5049
--enable-full-tools \
5150
--enable-profiler \
5251
--enable-sanitizers \
5352
--disable-docs \
5453
--set rust.jemalloc \
5554
--set rust.lto=thin \
56-
--set rust.codegen-units=1
55+
--set rust.codegen-units=1"
5756

58-
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $TARGETS
57+
ENV SCRIPT="python3 ../x.py dist --host $HOSTS --target $TARGETS"

src/ci/docker/host-x86_64/dist-loongarch64-musl/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ ENV CC_loongarch64_unknown_linux_musl=loongarch64-unknown-linux-musl-gcc \
2727

2828
ENV HOSTS=loongarch64-unknown-linux-musl
2929

30-
ENV RUST_CONFIGURE_ARGS \
31-
--enable-extended \
30+
ENV RUST_CONFIGURE_ARGS="--enable-extended \
3231
--enable-full-tools \
3332
--enable-profiler \
3433
--enable-sanitizers \
@@ -37,6 +36,6 @@ ENV RUST_CONFIGURE_ARGS \
3736
--set rust.lto=thin \
3837
--set rust.codegen-units=1 \
3938
--set target.loongarch64-unknown-linux-musl.crt-static=false \
40-
--musl-root-loongarch64=/x-tools/loongarch64-unknown-linux-musl/loongarch64-unknown-linux-musl/sysroot/usr
39+
--musl-root-loongarch64=/x-tools/loongarch64-unknown-linux-musl/loongarch64-unknown-linux-musl/sysroot/usr"
4140

42-
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS
41+
ENV SCRIPT="python3 ../x.py dist --host $HOSTS --target $HOSTS"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ ENV CC_riscv64gc_unknown_linux_gnu=riscv64-unknown-linux-gnu-gcc \
2929
ENV HOSTS=riscv64gc-unknown-linux-gnu
3030
ENV TARGETS=riscv64gc-unknown-linux-gnu,riscv64a23-unknown-linux-gnu
3131

32-
ENV RUST_CONFIGURE_ARGS --enable-extended --enable-profiler --disable-docs
33-
ENV SCRIPT python3 ../x.py dist --target $TARGETS --host $HOSTS
32+
ENV RUST_CONFIGURE_ARGS="--enable-extended --enable-profiler --disable-docs"
33+
ENV SCRIPT="python3 ../x.py dist --target $TARGETS --host $HOSTS"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ ENV \
2626

2727
ENV HOSTS=s390x-unknown-linux-gnu
2828

29-
ENV RUST_CONFIGURE_ARGS --enable-extended --enable-lld --enable-sanitizers --enable-profiler --disable-docs
30-
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS
29+
ENV RUST_CONFIGURE_ARGS="--enable-extended --enable-lld --enable-sanitizers --enable-profiler --disable-docs"
30+
ENV SCRIPT="python3 ../x.py dist --host $HOSTS --target $HOSTS"

src/ci/docker/host-x86_64/dist-sparcv9-solaris/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ ENV \
3232

3333
ENV HOSTS=sparcv9-sun-solaris
3434

35-
ENV RUST_CONFIGURE_ARGS --enable-extended --disable-docs
36-
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS
35+
ENV RUST_CONFIGURE_ARGS="--enable-extended --disable-docs"
36+
ENV SCRIPT="python3 ../x.py dist --host $HOSTS --target $HOSTS"

src/ci/docker/host-x86_64/x86_64-fuchsia/Dockerfile

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,31 +38,29 @@ COPY scripts/shared.sh /tmp/
3838
COPY scripts/build-fuchsia-toolchain.sh /tmp/
3939
RUN /tmp/build-fuchsia-toolchain.sh
4040

41-
ENV CARGO_TARGET_X86_64_UNKNOWN_FUCHSIA_AR /usr/local/bin/llvm-ar
42-
ENV CARGO_TARGET_X86_64_UNKNOWN_FUCHSIA_RUSTFLAGS \
43-
-C panic=abort \
41+
ENV CARGO_TARGET_X86_64_UNKNOWN_FUCHSIA_AR="/usr/local/bin/llvm-ar"
42+
ENV CARGO_TARGET_X86_64_UNKNOWN_FUCHSIA_RUSTFLAGS="-C panic=abort \
4443
-C force-unwind-tables=yes \
4544
-C link-arg=--sysroot=/usr/local/core-linux-amd64-fuchsia-sdk/arch/x64/sysroot \
4645
-Lnative=/usr/local/core-linux-amd64-fuchsia-sdk/arch/x64/sysroot/lib \
47-
-Lnative=/usr/local/core-linux-amd64-fuchsia-sdk/arch/x64/lib
46+
-Lnative=/usr/local/core-linux-amd64-fuchsia-sdk/arch/x64/lib"
4847

4948
ENV TARGETS=x86_64-unknown-fuchsia
5049
ENV TARGETS=$TARGETS,x86_64-unknown-linux-gnu
5150

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

55-
ENV RUST_INSTALL_DIR /checkout/obj/install
54+
ENV RUST_INSTALL_DIR="/checkout/obj/install"
5655
RUN mkdir -p $RUST_INSTALL_DIR/etc
5756

5857
# Fuchsia only supports LLVM.
59-
ENV CODEGEN_BACKENDS llvm
58+
ENV CODEGEN_BACKENDS="llvm"
6059

6160
# download-rustc is not allowed for `x install`
62-
ENV NO_DOWNLOAD_CI_RUSTC 1
61+
ENV NO_DOWNLOAD_CI_RUSTC="1"
6362

64-
ENV RUST_CONFIGURE_ARGS \
65-
--prefix=$RUST_INSTALL_DIR \
63+
ENV RUST_CONFIGURE_ARGS="--prefix=$RUST_INSTALL_DIR \
6664
--sysconfdir=etc \
6765
--enable-lld \
6866
--llvm-libunwind=in-tree \
@@ -72,8 +70,7 @@ ENV RUST_CONFIGURE_ARGS \
7270
--set target.x86_64-unknown-fuchsia.cxx=/usr/local/bin/clang++ \
7371
--set target.x86_64-unknown-fuchsia.ar=/usr/local/bin/llvm-ar \
7472
--set target.x86_64-unknown-fuchsia.ranlib=/usr/local/bin/llvm-ranlib \
75-
--set target.x86_64-unknown-fuchsia.linker=/usr/local/bin/ld.lld
73+
--set target.x86_64-unknown-fuchsia.linker=/usr/local/bin/ld.lld"
7674

77-
ENV SCRIPT \
78-
python3 ../x.py install --target $TARGETS compiler/rustc library/std clippy && \
79-
bash ../src/ci/docker/host-x86_64/x86_64-fuchsia/build-fuchsia.sh
75+
ENV SCRIPT="python3 ../x.py install --target $TARGETS compiler/rustc library/std clippy && \
76+
bash ../src/ci/docker/host-x86_64/x86_64-fuchsia/build-fuchsia.sh"

src/ci/docker/host-x86_64/x86_64-rust-for-linux/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RUN sh /scripts/sccache.sh
3434
# RfL needs access to cland, lld and llvm tools
3535
ENV PATH="${PATH}:/usr/lib/llvm-15/bin"
3636

37-
ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu
37+
ENV RUST_CONFIGURE_ARGS="--build=x86_64-unknown-linux-gnu"
3838

3939
COPY /scripts/rfl-build.sh /tmp/rfl-build.sh
40-
ENV SCRIPT bash /tmp/rfl-build.sh
40+
ENV SCRIPT="bash /tmp/rfl-build.sh"

0 commit comments

Comments
 (0)