Skip to content

Commit 0ee2acc

Browse files
committed
Add support for building automatically on Darwin:arm64
1 parent 649faae commit 0ee2acc

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ $(eval $(call PLATFORM_template,linux,386))
7474

7575
$(eval $(call PLATFORM_template,darwin,386))
7676
$(eval $(call PLATFORM_template,darwin,amd64))
77+
$(eval $(call PLATFORM_template,darwin,arm64))
7778

7879
$(eval $(call PLATFORM_template,windows,amd64,.exe))
7980
$(eval $(call PLATFORM_template,windows,386,.exe))

script/install-vendored-go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ Darwin:x86_64)
1212
GO_PKG=${GO_VERSION}.darwin-amd64.tar.gz
1313
GO_PKG_SHA=6bb1cf421f8abc2a9a4e39140b7397cdae6aca3e8d36dcff39a1a77f4f1170ac
1414
;;
15+
Darwin:arm64)
16+
GO_PKG=${GO_VERSION}.darwin-arm64.tar.gz
17+
GO_PKG_SHA=f4e96bbcd5d2d1942f5b55d9e4ab19564da4fad192012f6d7b0b9b055ba4208f
18+
;;
1519
*)
1620
echo 1>&2 "I don't know how to install Go on your platform."
1721
echo 1>&2 "Please install $GO_VERSION or later and add it to your PATH."

0 commit comments

Comments
 (0)