diff options
author | Evan Shelhamer <shelhamer@imaginarynumber.net> | 2015-09-17 15:05:12 -0700 |
---|---|---|
committer | Evan Shelhamer <shelhamer@imaginarynumber.net> | 2015-09-17 15:05:12 -0700 |
commit | e75ae965519444fb64d67c0aa6323bc2ef4049ef (patch) | |
tree | 6d74c99313354bd09725f884982dfc6482c43994 /Makefile | |
parent | 2a585f78a0f5a35e5bb2489969094fd420a986ec (diff) | |
download | caffeonacl-e75ae965519444fb64d67c0aa6323bc2ef4049ef.tar.gz caffeonacl-e75ae965519444fb64d67c0aa6323bc2ef4049ef.tar.bz2 caffeonacl-e75ae965519444fb64d67c0aa6323bc2ef4049ef.zip |
[build] include IO dependencies by default
keep old behavior by including leveldb, lmdb, and opencv by default
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -172,6 +172,11 @@ endif LIBRARIES += glog gflags protobuf boost_system m hdf5_hl hdf5 +# handle IO dependencies +USE_LEVELDB ?= 1 +USE_LMDB ?= 1 +USE_OPENCV ?= 1 + ifeq ($(USE_LEVELDB), 1) LIBRARIES += leveldb snappy endif @@ -299,7 +304,7 @@ ifeq ($(USE_CUDNN), 1) COMMON_FLAGS += -DUSE_CUDNN endif -# i/o libraries configuration +# configure IO libraries ifeq ($(USE_OPENCV), 1) COMMON_FLAGS += -DUSE_OPENCV endif |