Skip to content

Commit

Permalink
fix(build): hardcode arch for protoc installer on linux/aarch64 (#126)
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <troian.ap@gmail.com>
  • Loading branch information
troian authored Mar 4, 2024
1 parent 286c075 commit fdac575
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions make/setup-cache.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
### Protobuf ###
###############################################################################
ifeq ($(UNAME_OS),Linux)
ifeq ($(UNAME_ARCH),aarch64)
PROTOC_ZIP ?= protoc-${PROTOC_VERSION}-linux-aarch_64.zip
else
PROTOC_ZIP ?= protoc-${PROTOC_VERSION}-linux-$(UNAME_ARCH).zip
endif
endif
ifeq ($(UNAME_OS),Darwin)
PROTOC_ZIP ?= protoc-${PROTOC_VERSION}-osx-universal_binary.zip
endif
Expand Down

0 comments on commit fdac575

Please sign in to comment.