Skip to content

Commit 50fa24b

Browse files
committed
install arm64 gcc for releases
gimme was failing because it was missing the correct arm64 gcc. This installs the package when the GOARCH is set to arm64 Signed-off-by: Alexander Wels <[email protected]>
1 parent 77fc92d commit 50fa24b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hack/common.sh

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ function setGoInProw() {
1818
if [[ -v PROW_JOB_ID ]] ; then
1919
export GIMME_HOSTARCH=amd64
2020
export GIMME_ARCH=${GOARCH}
21+
if [ "${GOARCH}" == "arm64" ]; then
22+
dnf install -y gcc-aarch64-linux-gnu
23+
fi
2124
eval $(gimme ${1})
2225
cp -R ~/.gimme/versions/go${1}.linux.amd64 /usr/local/go
2326
fi

0 commit comments

Comments
 (0)