-
Notifications
You must be signed in to change notification settings - Fork 37
/
Makefile.config.example
75 lines (59 loc) · 2.67 KB
/
Makefile.config.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# To compile release version or debug version
COMPILE_VERSION = release # debug
# If set to 1, then use cpu only
CPU_ONLY := 1
# If set to 1, then compile realtime analyse server
REALTIME_SERVER := 1
# To customize your choice of compiler, uncomment and set the following.
# N.B. the default for Linux is g++ and the default for OSX is clang++
CUSTOM_CXX := /home/pangliang/local/gcc-4.8.3/bin/g++
# CUDA directory contains bin/ and lib/ directories that we need.
CUDA_DIR := /usr/local/cuda
# On Ubuntu 14.04, if cuda tools are installed via
# "sudo apt-get install nvidia-cuda-toolkit" then use this instead:
# CUDA_DIR := /usr
# CUDA architecture setting: going with all of them (up to CUDA 5.5 compatible).
# For the latest architecture, you need to install CUDA >= 6.0 and uncomment
# the *_50 lines below.
CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \
-gencode arch=compute_20,code=sm_21 \
-gencode arch=compute_30,code=sm_30 \
-gencode arch=compute_35,code=sm_35 \
#-gencode arch=compute_50,code=sm_50 \
#-gencode arch=compute_50,code=compute_50
# BLAS choice:
# cblas for CBLAS (default)
# mkl for MKL
BLAS := mkl
BLAS_INCLUDE := /home/pangliang/intel/mkl/include
BLAS_LIB := /home/pangliang/intel/mkl/lib/intel64 /home/pangliang/intel/lib/intel64
# ZeroMQ
ZMQ_INCLUDE := /home/pangliang/dependence/zeromq/include
ZMQ_LIB := /home/pangliang/dependence/zeromq/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
# MATLAB_DIR := /Applications/MATLAB_R2012b.app
# NOTE: this is required only if you will compile the python interface.
# We need to be able to find Python.h and numpy/arrayobject.h.
# 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
# We need to be able to find libpythonX.X.so or .dylib.
# PYTHON_LIB := /usr/lib
# PYTHON_LIB := $(HOME)/anaconda/lib
# OpenCV Config
# OPENCV_INCLUDE := /home/pangliang/dependence/opencv/include
# OPENCV_LIB := /home/pangliang/dependence/opencv/lib
# BOOST CONFIG
# BOOST_INCLUDE := /home/pangliang/dependence/boost/include
# BOOST_LIB := /home/pangliang/dependence/boost/lib
# level db
# LEVELDB_INCLUDE := /home/pangliang/dependence/leveldb/include
# LEVELDB_LIB := /home/pangliang/dependence/leveldb
# Whatever else you find you need goes here.
INCLUDE_DIRS := $(BLAS_INCLUDE) $(ZMQ_INCLUDE) /usr/local/include
LIBRARY_DIRS := $(BLAS_LIB) $(ZMQ_LIB) /usr/local/lib /usr/lib