Skip to content

Commit

Permalink
Merge pull request #8 from KAIST-NCL/bug-fix
Browse files Browse the repository at this point in the history
#7 add 'checkout' in ACC-Runtime/Makefile (fix )
  • Loading branch information
cqbqdd11519 authored Oct 21, 2019
2 parents d25ec2a + abdf528 commit 98e6132
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ACC-Runtime/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ TMP_GO_ABS := $(CURDIR)/$(TMP_GO_PATH)
ENV_GOPATH := env GOPATH=$(TMP_GO_ABS)

RUNC_REPO:=github.com/opencontainers/runc
RUNC_BRANCH := 718a566e02044b17f9894f7536640f2cfde8bff9

TARGET := acc-runtime

Expand All @@ -16,6 +17,7 @@ $(TARGET):
@if [ ! -d "$(TMP_GO_ABS)" ]; then mkdir $(TMP_GO_ABS); fi
@echo Setting temp. GOPATH as [$(TMP_GO_ABS)]
$(ENV_GOPATH) go get -d $(RUNC_REPO)/...
cd $(TMP_GO_ABS)/src/$(RUNC_REPO) && git checkout $(RUNC_BRANCH)
patch -d$(TMP_GO_ABS)/src/$(RUNC_REPO) -p1 < acc-runtime.patch
$(ENV_GOPATH) make -C $(TMP_GO_ABS)/src/$(RUNC_REPO)/ BUILDTAGS='apparmor seccomp'
@if [ ! -d "$(OUT_DIR)" ]; then mkdir $(OUT_DIR); fi
Expand Down

0 comments on commit 98e6132

Please sign in to comment.