Skip to content

Commit c028650

Browse files
author
Liu Yu
committed
modify config
1 parent f5999a1 commit c028650

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

Makefile.config.example

+12-13
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
# Contributions simplifying and improving our build system are welcome!
33

44
# cuDNN acceleration switch (uncomment to build with cuDNN).
5-
# USE_CUDNN := 1
5+
USE_CUDNN := 1
66

77
# CPU-only switch (uncomment to build without GPU support).
8-
# CPU_ONLY := 1
8+
# CPU_ONLY := 0
99

1010
# uncomment to disable IO dependencies and corresponding data layers
11-
# USE_OPENCV := 0
12-
# USE_LEVELDB := 0
13-
# USE_LMDB := 0
11+
USE_OPENCV := 0
12+
USE_LEVELDB := 0
13+
USE_LMDB := 0
1414

1515
# uncomment to allow MDB_NOLOCK when reading LMDB files (only if necessary)
1616
# You should not set this flag if you will be reading LMDBs with any
@@ -36,32 +36,32 @@ CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \
3636
-gencode arch=compute_20,code=sm_21 \
3737
-gencode arch=compute_30,code=sm_30 \
3838
-gencode arch=compute_35,code=sm_35 \
39-
-gencode arch=compute_50,code=sm_50 \
40-
-gencode arch=compute_50,code=compute_50
39+
-gencode arch=compute_52,code=sm_52 \
40+
-gencode arch=compute_52,code=compute_52
4141

4242
# BLAS choice:
4343
# atlas for ATLAS (default)
4444
# mkl for MKL
4545
# open for OpenBlas
46-
BLAS := atlas
46+
BLAS := open
4747
# Custom (MKL/ATLAS/OpenBLAS) include and lib directories.
4848
# Leave commented to accept the defaults for your choice of BLAS
4949
# (which should work)!
50-
# BLAS_INCLUDE := /path/to/your/blas
51-
# BLAS_LIB := /path/to/your/blas
50+
# BLAS_INCLUDE := /opt/intel/mkl/include
51+
# BLAS_LIB := /opt/intel/mkl/lib/intel64
5252

5353
# Homebrew puts openblas in a directory that is not on the standard search path
5454
# BLAS_INCLUDE := $(shell brew --prefix openblas)/include
5555
# BLAS_LIB := $(shell brew --prefix openblas)/lib
5656

5757
# This is required only if you will compile the matlab interface.
5858
# MATLAB directory should contain the mex binary in /bin.
59-
# MATLAB_DIR := /usr/local
59+
MATLAB_DIR := /usr/local/MATLAB/R2015a
6060
# MATLAB_DIR := /Applications/MATLAB_R2012b.app
6161

6262
# NOTE: this is required only if you will compile the python interface.
6363
# We need to be able to find Python.h and numpy/arrayobject.h.
64-
PYTHON_INCLUDE := /usr/include/python2.7 \
64+
#PYTHON_INCLUDE := /usr/include/python2.7 \
6565
/usr/lib/python2.7/dist-packages/numpy/core/include
6666
# Anaconda Python distribution is quite popular. Include path:
6767
# Verify anaconda location, sometimes it's in root.
@@ -98,7 +98,6 @@ LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib
9898
# (Usually not necessary -- OpenCV libraries are normally installed in one of the above $LIBRARY_DIRS.)
9999
# USE_PKG_CONFIG := 1
100100

101-
# N.B. both build and distribute dirs are cleared on `make clean`
102101
BUILD_DIR := build
103102
DISTRIBUTE_DIR := distribute
104103

0 commit comments

Comments
 (0)