Add support for arm64.
This commit is contained in:
parent
6c144bb3ca
commit
e9742f23f2
23
Makefile.arm64
Normal file
23
Makefile.arm64
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user