Skip to content

Commit e8c9b66

Browse files
ringodsdghubble
authored andcommitted
Build for Apple M1/M2 architecture
Signed-off-by: Ringo De Smet <ringo@de-smet.name>
1 parent 8d924d6 commit e8c9b66

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,14 @@ release: \
8181
_output/matchbox-linux-amd64.tar.gz \
8282
_output/matchbox-linux-arm.tar.gz \
8383
_output/matchbox-linux-arm64.tar.gz \
84-
_output/matchbox-darwin-amd64.tar.gz
84+
_output/matchbox-darwin-amd64.tar.gz \
85+
_output/matchbox-darwin-arm64.tar.gz
8586

8687
bin/linux-amd64/matchbox: GOARGS = GOOS=linux GOARCH=amd64
8788
bin/linux-arm/matchbox: GOARGS = GOOS=linux GOARCH=arm GOARM=6
8889
bin/linux-arm64/matchbox: GOARGS = GOOS=linux GOARCH=arm64
8990
bin/darwin-amd64/matchbox: GOARGS = GOOS=darwin GOARCH=amd64
91+
bin/darwin-arm64/matchbox: GOARGS = GOOS=darwin GOARCH=arm64
9092
bin/linux-ppc64le/matchbox: GOARGS = GOOS=linux GOARCH=ppc64le
9193

9294
bin/%/matchbox:
@@ -108,10 +110,12 @@ release-sign:
108110
gpg2 --armor --detach-sign _output/matchbox-$(VERSION)-linux-arm.tar.gz
109111
gpg2 --armor --detach-sign _output/matchbox-$(VERSION)-linux-arm64.tar.gz
110112
gpg2 --armor --detach-sign _output/matchbox-$(VERSION)-darwin-amd64.tar.gz
113+
gpg2 --armor --detach-sign _output/matchbox-$(VERSION)-darwin-arm64.tar.gz
111114

112115
release-verify: NAME=_output/matchbox
113116
release-verify:
114117
gpg2 --verify $(NAME)-$(VERSION)-linux-amd64.tar.gz.asc $(NAME)-$(VERSION)-linux-amd64.tar.gz
115118
gpg2 --verify $(NAME)-$(VERSION)-linux-arm.tar.gz.asc $(NAME)-$(VERSION)-linux-arm.tar.gz
116119
gpg2 --verify $(NAME)-$(VERSION)-linux-arm64.tar.gz.asc $(NAME)-$(VERSION)-linux-arm64.tar.gz
117120
gpg2 --verify $(NAME)-$(VERSION)-darwin-amd64.tar.gz.asc $(NAME)-$(VERSION)-darwin-amd64.tar.gz
121+
gpg2 --verify $(NAME)-$(VERSION)-darwin-arm64.tar.gz.asc $(NAME)-$(VERSION)-darwin-arm64.tar.gz

0 commit comments

Comments
 (0)