Skip to content

Commit

Permalink
arm64 build support
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcshane committed Apr 10, 2021
1 parent 82645a2 commit 8b30133
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hack/build-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ repro_flags="-ldflags=-buildid= -trimpath"
./hack/build.sh

GOOS=darwin GOARCH=amd64 go build $repro_flags -o ytt-darwin-amd64 ./cmd/ytt
GOOS=darwin GOARCH=arm64 go build $repro_flags -o ytt-darwin-arm64 ./cmd/ytt
GOOS=linux GOARCH=amd64 go build $repro_flags -o ytt-linux-amd64 ./cmd/ytt
GOOS=linux GOARCH=arm64 go build $repro_flags -o ytt-linux-arm64 ./cmd/ytt
GOOS=windows GOARCH=amd64 go build $repro_flags -o ytt-windows-amd64.exe ./cmd/ytt

shasum -a 256 ./ytt-*-amd64*
shasum -a 256 ./ytt-*-*

0 comments on commit 8b30133

Please sign in to comment.