Skip to content

Commit

Permalink
Add support for apple silicon
Browse files Browse the repository at this point in the history
For istio#29596

Next step is include it in the release

Manually built at
http://storage.googleapis.com/howardjohn/tmp/istioctl-osx-arm64. Please
test it, I don't have a mac.
  • Loading branch information
howardjohn committed Feb 17, 2021
1 parent d706ab8 commit 8ea546e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile.core.mk
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,9 @@ ${ISTIO_OUT}/release/istioctl-linux-armv7: depend
${ISTIO_OUT}/release/istioctl-linux-arm64: depend
GOOS=linux GOARCH=arm64 LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl
${ISTIO_OUT}/release/istioctl-osx: depend
GOOS=darwin LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl
GOOS=darwin GOARCH=amd64 LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl
${ISTIO_OUT}/release/istioctl-osx-arm64: depend
GOOS=darwin GOARCH=arm64 LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl
${ISTIO_OUT}/release/istioctl-win.exe: depend
GOOS=windows LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl

Expand All @@ -418,6 +420,7 @@ binaries-test:
.PHONY: istioctl-all
istioctl-all: ${ISTIO_OUT}/release/istioctl-linux-amd64 ${ISTIO_OUT}/release/istioctl-linux-armv7 ${ISTIO_OUT}/release/istioctl-linux-arm64 \
${ISTIO_OUT}/release/istioctl-osx \
${ISTIO_OUT}/release/istioctl-osx-arm64 \
${ISTIO_OUT}/release/istioctl-win.exe

.PHONY: istioctl.completion
Expand Down

0 comments on commit 8ea546e

Please sign in to comment.