Skip to content

Commit aac1ead

Browse files
authored
Pick aarch64 binary when running on arm64 linux (#1530)
Fixes #1513.
1 parent 7a316ea commit aac1ead

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

buildkite/bazelci.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,10 @@ def download_bazelci_agent(dest_dir, version):
16381638
else:
16391639
postfix = "x86_64-apple-darwin"
16401640
else:
1641-
postfix = "x86_64-unknown-linux-musl"
1641+
if platform_module.machine() == "aarch64":
1642+
postfix = "aarch64-unknown-linux-musl"
1643+
else:
1644+
postfix = "x86_64-unknown-linux-musl"
16421645

16431646
name = "bazelci-agent-{}-{}".format(version, postfix)
16441647
url = (

0 commit comments

Comments
 (0)