Skip to content

Commit

Permalink
ARM64 support
Browse files Browse the repository at this point in the history
provide binaries also for the arm64 platforms as go supports them relatively easily

This should help to get this CLI running with newer mac hardware natively

Signed-off-by: Christoph Settgast <[email protected]>
  • Loading branch information
csett86 committed Mar 3, 2024
1 parent c0664ef commit 1cd2671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ dist: test
@echo "Building for x-platform..."
@${GO} install github.com/mitchellh/gox
#@${GOX} -build-toolchain \
#-osarch="linux/amd64 linux/386 darwin/amd64 windows/386 windows/amd64"
#-osarch="linux/amd64 linux/386 linux/arm64 darwin/amd64 darwin/arm64 windows/386 windows/amd64"
@${GOX} -output="${GOPATH}/bin/{{.OS}}_{{.Arch}}/{{.Dir}}" \
-osarch="linux/amd64 linux/386 darwin/amd64 windows/386 windows/amd64" \
-osarch="linux/amd64 linux/386 linux/arm64 darwin/amd64 darwin/arm64 windows/386 windows/amd64" \
./dp2/

test:
Expand Down

0 comments on commit 1cd2671

Please sign in to comment.