Skip to content

Commit 797f066

Browse files
committed
Fix LegacyKeyValueFormat report from docker build: host-aarch64
1 parent ba15679 commit 797f066

3 files changed

Lines changed: 15 additions & 18 deletions

File tree

src/ci/docker/host-aarch64/aarch64-gnu-llvm-20/Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,19 @@ RUN sh /scripts/sccache.sh
3737

3838
# We are disabling CI LLVM since this builder is intentionally using a host
3939
# LLVM, rather than the typical src/llvm-project LLVM.
40-
ENV NO_DOWNLOAD_CI_LLVM 1
41-
ENV EXTERNAL_LLVM 1
40+
ENV NO_DOWNLOAD_CI_LLVM="1"
41+
ENV EXTERNAL_LLVM="1"
4242

4343
# Using llvm-link-shared due to libffi issues -- see #34486
44-
ENV RUST_CONFIGURE_ARGS \
45-
--build=aarch64-unknown-linux-gnu \
44+
ENV RUST_CONFIGURE_ARGS="--build=aarch64-unknown-linux-gnu \
4645
--llvm-root=/usr/lib/llvm-20 \
4746
--enable-llvm-link-shared \
4847
--set rust.randomize-layout=true \
49-
--set rust.thin-lto-import-instr-limit=10
48+
--set rust.thin-lto-import-instr-limit=10"
5049

5150
COPY scripts/shared.sh /scripts/
5251

5352
COPY scripts/stage_2_test_set1.sh /scripts/
5453
COPY scripts/stage_2_test_set2.sh /scripts/
5554

56-
ENV SCRIPT "Must specify DOCKER_SCRIPT for this image"
55+
ENV SCRIPT="Must specify DOCKER_SCRIPT for this image"

src/ci/docker/host-aarch64/aarch64-gnu/Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2121
COPY scripts/sccache.sh /scripts/
2222
RUN sh /scripts/sccache.sh
2323

24-
ENV RUST_CONFIGURE_ARGS \
25-
--build=aarch64-unknown-linux-gnu \
24+
ENV RUST_CONFIGURE_ARGS="--build=aarch64-unknown-linux-gnu \
2625
--enable-sanitizers \
2726
--enable-profiler \
28-
--enable-compiler-docs
29-
ENV SCRIPT python3 ../x.py --stage 2 test && \
30-
python3 ../x.py --stage 2 test src/tools/cargo
27+
--enable-compiler-docs"
28+
ENV SCRIPT="python3 ../x.py --stage 2 test && \
29+
python3 ../x.py --stage 2 test src/tools/cargo"

src/ci/docker/host-aarch64/dist-aarch64-linux/Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ ENV HOSTS=aarch64-unknown-linux-gnu
7676

7777
ENV CPATH=/usr/include/aarch64-linux-gnu/:$CPATH
7878

79-
ENV RUST_CONFIGURE_ARGS \
80-
--build=aarch64-unknown-linux-gnu \
79+
ENV RUST_CONFIGURE_ARGS="--build=aarch64-unknown-linux-gnu \
8180
--enable-full-tools \
8281
--enable-profiler \
8382
--enable-sanitizers \
@@ -93,12 +92,12 @@ ENV RUST_CONFIGURE_ARGS \
9392
--set rust.jemalloc \
9493
--set rust.bootstrap-override-lld=true \
9594
--set rust.lto=thin \
96-
--set rust.codegen-units=1
95+
--set rust.codegen-units=1"
9796

98-
ENV SCRIPT python3 ../x.py build --set rust.debug=true opt-dist && \
97+
ENV SCRIPT="python3 ../x.py build --set rust.debug=true opt-dist && \
9998
./build/$HOSTS/stage1-tools-bin/opt-dist linux-ci -- python3 ../x.py dist \
100-
--host $HOSTS --target $HOSTS --include-default-paths build-manifest bootstrap enzyme
99+
--host $HOSTS --target $HOSTS --include-default-paths build-manifest bootstrap enzyme"
101100

102101
ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=clang
103-
ENV LIBCURL_NO_PKG_CONFIG 1
104-
ENV DIST_REQUIRE_ALL_TOOLS 1
102+
ENV LIBCURL_NO_PKG_CONFIG="1"
103+
ENV DIST_REQUIRE_ALL_TOOLS="1"

0 commit comments

Comments
 (0)