Skip to content

Commit

Permalink
remove arm64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
vernak2539 committed Sep 23, 2022
1 parent 2402f45 commit 6362b96
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Expand Up @@ -3,16 +3,12 @@ run:
go run cmd/main.go

.PHONY: build_all
build_all: build_arm6 build_arm7 build_arm64
build_all: build_arm6 build_arm7

.PHONY: build_arm7
build_arm7:
env CC=arm-linux-gnueabihf-gcc CGO_ENABLED=1 GOOS=linux GOARM=7 GOARCH=arm go build -o build/dht_sensor_exporter-$(VERSION)-linux-armv7 ./cmd/main.go

.PHONY: build_arm6
build_arm6:
env CC=arm-linux-gnueabihf-gcc CGO_ENABLED=1 GOOS=linux GOARM=6 GOARCH=arm go build -o build/dht_sensor_exporter-$(VERSION)-linux-armv6 ./cmd/main.go

.PHONY: build_arm64
build_arm64:
env CC=arm-linux-gnueabihf-gcc CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -o build/dht_sensor_exporter-$(VERSION)-linux-arm64 ./cmd/main.go
env CC=arm-linux-gnueabihf-gcc CGO_ENABLED=1 GOOS=linux GOARM=6 GOARCH=arm go build -o build/dht_sensor_exporter-$(VERSION)-linux-armv6 ./cmd/main.go

0 comments on commit 6362b96

Please sign in to comment.