Skip to content

Commit

Permalink
Support aarch64 in bazelisk.py. (#397)
Browse files Browse the repository at this point in the history
* Support aarch64 in `bazelisk.py`.

Linux reports arm64 as aarch64. Correct for this so that Bazel can be fetched when on arm64/aarch64.

* Use elif.
  • Loading branch information
rpwoodbu authored Feb 2, 2023
1 parent efa473d commit fc3e3d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bazelisk.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ def normalized_machine_arch_name():
machine = platform.machine().lower()
if machine == "amd64":
machine = "x86_64"
elif machine == "aarch64":
machine = "arm64"
return machine


Expand Down

0 comments on commit fc3e3d6

Please sign in to comment.