Build Vespa CLI for ARM-based macOS
@@ -14,7 +14,7 @@ DIST ?= $(CURDIR)/dist
GO_FLAGS := -ldflags "-X github.com/vespa-engine/vespa/client/go/build.Version=$(VERSION)"
GIT_ROOT := $(shell git rev-parse --show-toplevel)
-DIST_TARGETS := dist-mac dist-linux dist-win32 dist-win64
+DIST_TARGETS := dist-mac dist-mac-arm64 dist-linux dist-win32 dist-win64
all: test checkfmt install
@@ -56,6 +56,9 @@ dist: $(DIST_TARGETS) dist-sha256sums
dist-mac: GOOS=darwin
dist-mac: GOARCH=amd64
+dist-mac-arm64: GOOS=darwin
+dist-mac-arm64: GOARCH=arm64
+
dist-linux: GOOS=linux
dist-linux: GOARCH=amd64
