Skip to content

Commit e9742f2

Browse files
Add support for arm64.
1 parent 6c144bb commit e9742f2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Makefile.arm64

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
BINARY ?= containerd-driver
2+
ifndef $(GOLANG)
3+
GOLANG=$(shell which go)
4+
export GOLANG
5+
endif
6+
7+
export GOARCH=arm64
8+
export GO111MODULE=on
9+
export GOOS=linux
10+
11+
default: build
12+
13+
.PHONY: clean
14+
clean:
15+
rm -f $(BINARY)
16+
17+
.PHONY: build
18+
build:
19+
$(GOLANG) build -o $(BINARY) .
20+
21+
.PHONY: test
22+
test:
23+
./tests/run_tests.sh

0 commit comments

Comments
 (0)