Skip to content

Commit bd504cd

Browse files
authored
chore: add apple silicon processors build command (#682)
Add build reckoner commands for Apple Silicon chips (macbooks M1 and M2)
1 parent e3e334b commit bd504cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,7 @@ clean:
2828
# Cross compilation
2929
build-linux:
3030
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GOBUILD) -o $(BINARY_NAME) -ldflags "-X main.version=$(VERSION) -X main.commit=$(COMMIT) -s -w" -v
31+
build-apple-silicon:
32+
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 $(GOBUILD) -o $(BINARY_NAME) -ldflags "-X main.version=$(VERSION) -X main.commit=$(COMMIT) -s -w" -v
3133
build-docker: build-linux
3234
docker build -t quay.io/fairwinds/reckoner:go-dev -f Dockerfile .

0 commit comments

Comments
 (0)