Skip to content

Commit

Permalink
Add support for arm64.
Browse files Browse the repository at this point in the history
  • Loading branch information
shishir-a412ed committed Jan 29, 2021
1 parent 6c144bb commit e9742f2
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Makefile.arm64
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e9742f2

Please sign in to comment.