summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2021-10-07 11:19:26 +0200
committerMartin Polden <mpolden@mpolden.no>2021-10-07 11:19:26 +0200
commit967bd60361bfe815045277bc0cb2545a60c732f3 (patch)
treef53621370cdb6ff35e74dcf6183a4262e275ca00 /client
parentdd1f85033c5c28360e46fadebbd5eeac3855e2d2 (diff)
Build Vespa CLI for ARM-based macOS
Diffstat (limited to 'client')
-rw-r--r--client/go/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/go/Makefile b/client/go/Makefile
index fffc37a68a1..08f88960e4a 100644
--- a/client/go/Makefile
+++ b/client/go/Makefile
@@ -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