summaryrefslogtreecommitdiff
path: root/Makefile.config.example
diff options
context:
space:
mode:
authorCraig Quiter <cquiter@gmail.com>2014-10-15 21:26:01 -0700
committerCraig Quiter <cquiter@gmail.com>2014-10-15 21:26:01 -0700
commitd7da420b4ce2b07dad7fca42535a576cff43ce96 (patch)
treec341f465afe39788b07d113c266f7bb05a41e458 /Makefile.config.example
parentbdd0a0074f3831cd8894f039e0ea1b5fcaddd90f (diff)
downloadcaffe-d7da420b4ce2b07dad7fca42535a576cff43ce96.tar.gz
caffe-d7da420b4ce2b07dad7fca42535a576cff43ce96.tar.bz2
caffe-d7da420b4ce2b07dad7fca42535a576cff43ce96.zip
Sometimes anaconda is installed in root.
Helps fix #489.
Diffstat (limited to 'Makefile.config.example')
-rw-r--r--Makefile.config.example10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.config.example b/Makefile.config.example
index b6d95e31..e11db513 100644
--- a/Makefile.config.example
+++ b/Makefile.config.example
@@ -48,13 +48,15 @@ BLAS := atlas
PYTHON_INCLUDE := /usr/include/python2.7 \
/usr/lib/python2.7/dist-packages/numpy/core/include
# Anaconda Python distribution is quite popular. Include path:
-# PYTHON_INCLUDE := $(HOME)/anaconda/include \
- # $(HOME)/anaconda/include/python2.7 \
- # $(HOME)/anaconda/lib/python2.7/site-packages/numpy/core/include
+# Verify anaconda location, sometimes it's in root.
+# ANACONDA_HOME := $(HOME)/anaconda
+# PYTHON_INCLUDE := $(ANACONDA_HOME)/include \
+ # $(ANACONDA_HOME)/include/python2.7 \
+ # $(ANACONDA_HOME)/lib/python2.7/site-packages/numpy/core/include \
# We need to be able to find libpythonX.X.so or .dylib.
PYTHON_LIB := /usr/lib
-# PYTHON_LIB := $(HOME)/anaconda/lib
+# PYTHON_LIB := $(ANACONDA_HOME)/lib
# Whatever else you find you need goes here.
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include