From e9742f23f2f3c293a2be1c64d97c28f50d35f67f Mon Sep 17 00:00:00 2001 From: Shishir Mahajan Date: Fri, 29 Jan 2021 12:22:06 -0800 Subject: [PATCH] Add support for arm64. --- Makefile.arm64 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Makefile.arm64 diff --git a/Makefile.arm64 b/Makefile.arm64 new file mode 100644 index 0000000..39e56cf --- /dev/null +++ b/Makefile.arm64 @@ -0,0 +1,23 @@ +BINARY ?= containerd-driver +ifndef $(GOLANG) + GOLANG=$(shell which go) + export GOLANG +endif + +export GOARCH=arm64 +export GO111MODULE=on +export GOOS=linux + +default: build + +.PHONY: clean +clean: + rm -f $(BINARY) + +.PHONY: build +build: + $(GOLANG) build -o $(BINARY) . + +.PHONY: test +test: + ./tests/run_tests.sh