Skip to content

Commit fa7807b

Browse files
author
Jon Gjengset
committed
Install aarch64 zlib for host-x86_64/dist-aarch64
1 parent 764af14 commit fa7807b

File tree

1 file changed

+4
-0
lines changed
  • src/ci/docker/host-x86_64/dist-aarch64-linux

1 file changed

+4
-0
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ RUN sh /scripts/cross-apt-packages.sh
2121
COPY scripts/make3.sh /scripts/
2222
RUN sh /scripts/make3.sh
2323

24+
# We need an aarch64 build of zlib for parity with x86_64.
25+
# See https://github.com/rust-lang/rust/pull/95545.
26+
RUN dpkg --add-architecture arm64 && apt-get update && apt-get install zlib1g-dev:arm64
27+
2428
COPY scripts/crosstool-ng.sh /scripts/
2529
RUN sh /scripts/crosstool-ng.sh
2630

0 commit comments

Comments
 (0)