diff options
author | Martin Häcker <spamfaenger@gmx.de> | 2015-04-02 22:50:55 +0200 |
---|---|---|
committer | Martin Häcker <spamfaenger@gmx.de> | 2015-04-02 22:50:55 +0200 |
commit | b45afa216deb99eecf838d1e927ee517a85b898f (patch) | |
tree | 2ae012230b3e055d16316076c21c2aba70fe3754 /Makefile.config.example | |
parent | 2a7fe03b5d5d7e1d30a1eb0b0e894eb4f72d3701 (diff) | |
download | caffeonacl-b45afa216deb99eecf838d1e927ee517a85b898f.tar.gz caffeonacl-b45afa216deb99eecf838d1e927ee517a85b898f.tar.bz2 caffeonacl-b45afa216deb99eecf838d1e927ee517a85b898f.zip |
Add commented out helpers for homebrew users
Diffstat (limited to 'Makefile.config.example')
-rw-r--r-- | Makefile.config.example | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.config.example b/Makefile.config.example index 7a8aafd7..a8735025 100644 --- a/Makefile.config.example +++ b/Makefile.config.example @@ -37,6 +37,10 @@ BLAS := atlas # BLAS_INCLUDE := /path/to/your/blas # BLAS_LIB := /path/to/your/blas +# Homebrew puts openblas in a directory that is not on the standard search path +# BLAS_INCLUDE := $(shell brew --prefix openblas)/include +# BLAS_LIB := $(shell brew --prefix openblas)/lib + # This is required only if you will compile the matlab interface. # MATLAB directory should contain the mex binary in /bin. # MATLAB_DIR := /usr/local @@ -57,6 +61,10 @@ PYTHON_INCLUDE := /usr/include/python2.7 \ PYTHON_LIB := /usr/lib # PYTHON_LIB := $(ANACONDA_HOME)/lib +# Homebrew installs numpy in a non standard path (keg only) +# PYTHON_INCLUDE += $(dir $(shell python -c 'import numpy.core; print(numpy.core.__file__)'))/include +# PYTHON_LIB += $(shell brew --prefix numpy)/lib + # Uncomment to support layers written in Python (will link against Python libs) # WITH_PYTHON_LAYER := 1 @@ -64,6 +72,10 @@ PYTHON_LIB := /usr/lib INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib +# If Homebrew is installed at a non standard location (for example your home directory) and you use it for general dependencies +# INCLUDE_DIRS += $(shell brew --prefix)/include +# LIBRARY_DIRS += $(shell brew --prefix)/lib + # Uncomment to use `pkg-config` to specify OpenCV library paths. # (Usually not necessary -- OpenCV libraries are normally installed in one of the above $LIBRARY_DIRS.) # USE_PKG_CONFIG := 1 |