Skip to content

Commit 4738b81

Browse files
committed
Point ring to the proper gcc for ARM64
1 parent 022b14b commit 4738b81

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ci/docker/fedora/Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ ENV PATH /opt/cargo/bin:$PATH
77
ENV RUSTUP_HOME /opt/rustup
88
ENV CARGO_HOME /opt/cargo
99

10+
# This is set such that when we compile the runtimes for ARM64 we just use the
11+
# host musl-gcc, which is for ARM64 anyway (since the build process runs on an
12+
# ARM64 host).
13+
ENV CC_aarch64_unknown_linux_musl=musl-gcc
14+
1015
RUN sudo dnf install --assumeyes --quiet gcc make tar git rustup rclone \
1116
musl-gcc llvm$LLVM_VERSION llvm$LLVM_VERSION-devel \
1217
llvm$LLVM_VERSION-static libstdc++-devel libstdc++-static \

0 commit comments

Comments
 (0)