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 and pull[bot] committed May 15, 2024
1 parent c3c98e8 commit 1040511
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 1040511

Please sign in to comment.