Skip to content

Commit fa09414

Browse files
committed
Auto merge of #153374 - homersimpsons:chore/fix-LegacyKeyValueFormat-dist-x86_64, r=<try>
Fix LegacyKeyValueFormat report from docker build: dist-x86_64 try-job: dist-x86_64-freebsd try-job: dist-x86_64-illumos try-job: dist-x86_64-linux try-job: dist-x86_64-musl try-job: dist-x86_64-netbsd try-job: dist-x86_64-solaris
2 parents c4db0e1 + 1b86d31 commit fa09414

File tree

6 files changed

+18
-21
lines changed

6 files changed

+18
-21
lines changed

‎src/ci/docker/host-x86_64/dist-x86_64-freebsd/Dockerfile‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ ENV \
3535

3636
ENV HOSTS=x86_64-unknown-freebsd
3737

38-
ENV RUST_CONFIGURE_ARGS \
39-
--enable-full-tools \
38+
ENV RUST_CONFIGURE_ARGS="--enable-full-tools \
4039
--enable-extended \
4140
--enable-profiler \
4241
--enable-sanitizers \
43-
--disable-docs
44-
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS
42+
--disable-docs"
43+
ENV SCRIPT="python3 ../x.py dist --host $HOSTS --target $HOSTS"

‎src/ci/docker/host-x86_64/dist-x86_64-illumos/Dockerfile‎

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

3737
ENV HOSTS=x86_64-unknown-illumos
3838

39-
ENV RUST_CONFIGURE_ARGS --enable-extended --disable-docs
40-
ENV SCRIPT python2.7 ../x.py dist --host $HOSTS --target $HOSTS
39+
ENV RUST_CONFIGURE_ARGS="--enable-extended --disable-docs"
40+
ENV SCRIPT="python2.7 ../x.py dist --host $HOSTS --target $HOSTS"

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ ENV PGO_HOST=x86_64-unknown-linux-gnu
8080

8181
ENV HOSTS=x86_64-unknown-linux-gnu
8282

83-
ENV RUST_CONFIGURE_ARGS \
84-
--enable-full-tools \
83+
ENV RUST_CONFIGURE_ARGS="--enable-full-tools \
8584
--enable-sanitizers \
8685
--enable-profiler \
8786
--enable-compiler-docs \
@@ -94,23 +93,23 @@ ENV RUST_CONFIGURE_ARGS \
9493
--set rust.jemalloc \
9594
--set rust.bootstrap-override-lld=true \
9695
--set rust.lto=thin \
97-
--set rust.codegen-units=1
96+
--set rust.codegen-units=1"
9897

9998
COPY host-x86_64/dist-x86_64-linux/dist.sh /scripts/
10099
COPY host-x86_64/dist-x86_64-linux/dist-alt.sh /scripts/
101100

102-
ENV SCRIPT "Must specify DOCKER_SCRIPT for this image"
101+
ENV SCRIPT="Must specify DOCKER_SCRIPT for this image"
103102

104103
ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=clang
105104

106105
# This is the only builder which will create source tarballs
107-
ENV DIST_SRC 1
106+
ENV DIST_SRC="1"
108107

109108
# When we build cargo in this container, we don't want it to use the system
110109
# libcurl, instead it should compile its own.
111-
ENV LIBCURL_NO_PKG_CONFIG 1
110+
ENV LIBCURL_NO_PKG_CONFIG="1"
112111

113-
ENV DIST_REQUIRE_ALL_TOOLS 1
112+
ENV DIST_REQUIRE_ALL_TOOLS="1"
114113

115114
# FIXME: Without this, LLVMgold.so incorrectly resolves to the system
116115
# libstdc++, instead of the one we build.

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,13 @@ RUN sh /scripts/sccache.sh
3535

3636
ENV HOSTS=x86_64-unknown-linux-musl
3737

38-
ENV RUST_CONFIGURE_ARGS \
39-
--musl-root-x86_64=/usr/local/x86_64-linux-musl \
38+
ENV RUST_CONFIGURE_ARGS="--musl-root-x86_64=/usr/local/x86_64-linux-musl \
4039
--enable-extended \
4140
--enable-sanitizers \
4241
--enable-profiler \
4342
--enable-lld \
4443
--set target.x86_64-unknown-linux-musl.crt-static=false \
45-
--build $HOSTS
44+
--build $HOSTS"
4645

4746
# Newer binutils broke things on some vms/distros (i.e., linking against
4847
# unknown relocs disabled by the following flag), so we need to go out of our
@@ -54,4 +53,4 @@ ENV CFLAGS_x86_64_unknown_linux_musl="-Wa,-mrelax-relocations=no -Wa,--compress-
5453
-Wl,--compress-debug-sections=none"
5554

5655
# To run native tests replace `dist` below with `test`
57-
ENV SCRIPT python3 ../x.py dist --build $HOSTS
56+
ENV SCRIPT="python3 ../x.py dist --build $HOSTS"

‎src/ci/docker/host-x86_64/dist-x86_64-netbsd/Dockerfile‎

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

2323
ENV HOSTS=x86_64-unknown-netbsd
2424

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

‎src/ci/docker/host-x86_64/dist-x86_64-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=x86_64-pc-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"

0 commit comments

Comments
 (0)