File tree 2 files changed +10
-5
lines changed
2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,11 @@ endif
172
172
173
173
LIBRARIES += glog gflags protobuf boost_system m hdf5_hl hdf5
174
174
175
+ # handle IO dependencies
176
+ USE_LEVELDB ?= 1
177
+ USE_LMDB ?= 1
178
+ USE_OPENCV ?= 1
179
+
175
180
ifeq ($(USE_LEVELDB ) , 1)
176
181
LIBRARIES += leveldb snappy
177
182
endif
@@ -299,7 +304,7 @@ ifeq ($(USE_CUDNN), 1)
299
304
COMMON_FLAGS += -DUSE_CUDNN
300
305
endif
301
306
302
- # i/o libraries configuration
307
+ # configure IO libraries
303
308
ifeq ($(USE_OPENCV ) , 1)
304
309
COMMON_FLAGS += -DUSE_OPENCV
305
310
endif
Original file line number Diff line number Diff line change 7
7
# CPU-only switch (uncomment to build without GPU support).
8
8
# CPU_ONLY := 1
9
9
10
- # comment out to disable IO dependencies
11
- USE_LEVELDB := 1
12
- USE_LMDB := 1
13
- USE_OPENCV := 1
10
+ # uncomment to disable IO dependencies and corresponding data layers
11
+ # USE_LEVELDB := 0
12
+ # USE_LMDB := 0
13
+ # USE_OPENCV := 0
14
14
15
15
# To customize your choice of compiler, uncomment and set the following.
16
16
# N.B. the default for Linux is g++ and the default for OSX is clang++
You can’t perform that action at this time.
0 commit comments