diff options
author | Tea <tea.desouza@gmail.com> | 2015-06-27 11:44:56 +0800 |
---|---|---|
committer | Tea <tea.desouza@gmail.com> | 2015-09-17 15:08:29 +0800 |
commit | f3a933a620b8b089a7fe29ba76ec27f5408ff68d (patch) | |
tree | 6c33b48d78564bdc0721dc31d1ccb915be888571 /Makefile.config.example | |
parent | 71e05876f644a08af4cb1c955d01c5a272539e96 (diff) | |
download | caffe-f3a933a620b8b089a7fe29ba76ec27f5408ff68d.tar.gz caffe-f3a933a620b8b089a7fe29ba76ec27f5408ff68d.tar.bz2 caffe-f3a933a620b8b089a7fe29ba76ec27f5408ff68d.zip |
Separate IO dependencies
OpenCV, LMDB, LevelDB and Snappy are made optional via switches
(USE_OPENCV, USE_LMDB, USE_LEVELDB) available for Make and CMake
builds. Since Snappy is a LevelDB dependency, its use is determined by
USE_LEVELDB. HDF5 is left bundled because it is used for serializing
weights and solverstates.
Diffstat (limited to 'Makefile.config.example')
-rw-r--r-- | Makefile.config.example | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.config.example b/Makefile.config.example index a8735025..32e67ee4 100644 --- a/Makefile.config.example +++ b/Makefile.config.example @@ -7,6 +7,11 @@ # CPU-only switch (uncomment to build without GPU support). # CPU_ONLY := 1 +# comment out to disable IO dependencies +USE_LEVELDB := 1 +USE_LMDB := 1 +USE_OPENCV := 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 := g++ |