From feefa50031edc492865efa238259b20d9dc29014 Mon Sep 17 00:00:00 2001 From: Richard Sherman <23365258+RikSherman@users.noreply.github.com> Date: Wed, 5 Apr 2023 08:33:53 +0100 Subject: [PATCH 1/2] Add support for linux on ARM64 architecture --- makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/makefile b/makefile index 347bcdb..df8f604 100644 --- a/makefile +++ b/makefile @@ -26,6 +26,7 @@ build: build_all: @echo building all versions... $(shell export CGO_ENABLED=0; export GOOS=linux; export GOARCH=amd64; go build $(LDFLAGS) -o build/$(BINARY)-$(VERSION)-linux-intel/$(BINARY)) + $(shell export CGO_ENABLED=0; export GOOS=linux; export GOARCH=arm64; go build $(LDFLAGS) -o build/$(BINARY)-$(VERSION)-linux-arm64/$(BINARY)) $(shell export CGO_ENABLED=0; export GOOS=darwin; export GOARCH=amd64; go build $(LDFLAGS) -o build/$(BINARY)-$(VERSION)-apple-intel/$(BINARY)) $(shell export CGO_ENABLED=0; export GOOS=darwin; export GOARCH=arm64; go build $(LDFLAGS) -o build/$(BINARY)-$(VERSION)-apple-arm64/$(BINARY)) From 8dd1d897bf845ae79c3f265c0f4a44d1a1f59152 Mon Sep 17 00:00:00 2001 From: Richard Sherman <23365258+RikSherman@users.noreply.github.com> Date: Wed, 5 Apr 2023 09:22:09 +0100 Subject: [PATCH 2/2] Add support for linux on ARM64 architecture --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index df8f604..5b4f037 100644 --- a/makefile +++ b/makefile @@ -8,7 +8,7 @@ ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) BINARY := sm2 -VERSION := 1.0.6 +VERSION := 1.0.7 BUILD := `git rev-parse HEAD` # Setup linker flags option for build that interoperate with variable names in src code