Commit 48f2cb17 authored by Chris Lishka's avatar Chris Lishka

Docker makefile fix and readditions to keep private-ngraph-cpp close to ngraph.

parent 557bf5fe
...@@ -2,18 +2,21 @@ ...@@ -2,18 +2,21 @@
# are added. # are added.
DIR = $(realpath ../..) DIR = $(realpath ../..)
VOLUME = -v ${DIR}:/root/ngraph-cpp-test VOLUME = -v ${DIR}:/root/ngraph-cpp-test -v $$HOME/nervana/data:/root/nervana/data
GIT_COMMIT = $(shell git rev-parse HEAD) GIT_COMMIT = $(shell git rev-parse HEAD)
BUILD_VERSION = ${GIT_COMMIT}_${PYTHON_VERSION} BUILD_VERSION = ${GIT_COMMIT}_${PYTHON_VERSION}
BUILD_DIR = ${DIR}/contrib/docker/.build-${BUILD_VERSION} BUILD_DIR = ${DIR}/contrib/docker/.build-${BUILD_VERSION}
NGRAPH_NGRAPH_CPP_CPU_IMG := $(shell docker images ngraph_cpp_cpu NGRAPH_CPP_CPU_IMG := $(shell docker images ngraph_cpp_cpu)
CALLER_UID := $(shell id -u) CALLER_UID := $(shell id -u)
CALLER_GID := $(shell id -g) CALLER_GID := $(shell id -g)
# MKLDNN_ROOT=/usr/local # default version is python 2, but can be switched to 3 from command
# MY_PYTHONPATH=./:/root/ngraph-cpp-test/ # line
PYTHON_VERSION = 2
MY_PYTHONPATH=./:/root/ngraph-cpp-test/
.PHONY: clean build_ngraph_cpp_cpu shell build_all .PHONY: clean build_ngraph_cpp_cpu shell build_all
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment