Skip to content

Commit

Permalink
zap is available for more architectures (#31225)
Browse files Browse the repository at this point in the history
  • Loading branch information
paresy authored Jan 3, 2024
1 parent 76b6bb5 commit 9279628
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/configure
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,9 @@ function download_zap() {
case "$platform" in
Linux\ x86_64) flavor=linux-x64 ;;
Linux\ arm64) flavor=linux-arm64 ;;
Darwin\ *) flavor=mac-x64 ;; # there is no mac arm build of zap (can run x64 via Rosetta)
Linux\ aarch64) flavor=linux-arm64 ;;
Darwin\ x86_64) flavor=mac-x64 ;;
Darwin\ arm64) flavor=mac-arm64 ;;
*) fail "Unable to determine zap flavor for $platform" ;;
esac
local url="https://github.com/project-chip/zap/releases/download/${version}/zap-${flavor}.zip"
Expand Down

0 comments on commit 9279628

Please sign in to comment.