From 6a89c9af38e0e2a81c3b0ef71fb448376ec162a8 Mon Sep 17 00:00:00 2001 From: Edward Vielmetti Date: Fri, 7 Apr 2017 02:10:37 -0400 Subject: [PATCH 1/2] WORK IN PROGRESS Add arm64 build This change would close #68 and would add an arm64 (ARMv8) build. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 7a96f8e..643b819 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ build-all: GOOS=darwin GOARCH=amd64 go build -tags release -ldflags $(LD_FLAGS) -o build/ctop-$(VERSION)-darwin-amd64 GOOS=linux GOARCH=amd64 go build -tags release -ldflags $(LD_FLAGS) -o build/ctop-$(VERSION)-linux-amd64 GOOS=linux GOARCH=arm go build -tags release -ldflags $(LD_FLAGS) -o build/ctop-$(VERSION)-linux-arm + GOOS=linux GOARCH=arm go build -tags release -ldflags $(LD_FLAGS) -o build/ctop-$(VERSION)-linux-arm64 image: docker build -t ctop_build -f Dockerfile_build . From 9529c04680e627a6bcb7258c2fe0a9ac37dbb52a Mon Sep 17 00:00:00 2001 From: Edward Vielmetti Date: Fri, 7 Apr 2017 17:43:18 -0400 Subject: [PATCH 2/2] Update Makefile Foolish typo; several lines changed, to make future additions more obvious. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 643b819..5d5a6fd 100644 --- a/Makefile +++ b/Makefile @@ -16,9 +16,9 @@ build-dev: build-all: mkdir -p build GOOS=darwin GOARCH=amd64 go build -tags release -ldflags $(LD_FLAGS) -o build/ctop-$(VERSION)-darwin-amd64 - GOOS=linux GOARCH=amd64 go build -tags release -ldflags $(LD_FLAGS) -o build/ctop-$(VERSION)-linux-amd64 - GOOS=linux GOARCH=arm go build -tags release -ldflags $(LD_FLAGS) -o build/ctop-$(VERSION)-linux-arm - GOOS=linux GOARCH=arm go build -tags release -ldflags $(LD_FLAGS) -o build/ctop-$(VERSION)-linux-arm64 + GOOS=linux GOARCH=amd64 go build -tags release -ldflags $(LD_FLAGS) -o build/ctop-$(VERSION)-linux-amd64 + GOOS=linux GOARCH=arm go build -tags release -ldflags $(LD_FLAGS) -o build/ctop-$(VERSION)-linux-arm + GOOS=linux GOARCH=arm64 go build -tags release -ldflags $(LD_FLAGS) -o build/ctop-$(VERSION)-linux-arm64 image: docker build -t ctop_build -f Dockerfile_build .