summaryrefslogtreecommitdiff
path: root/cmake/Templates
diff options
context:
space:
mode:
authorLuke Yeager <luke.yeager@gmail.com>2015-09-25 15:53:54 -0700
committerLuke Yeager <luke.yeager@gmail.com>2015-09-25 15:55:40 -0700
commitb93afe8378cd66d9bf375a0f492a30f9db77e8ae (patch)
treeb5f6e6a203a1bb564f046c56d4fef667d6cc2458 /cmake/Templates
parentaaf4a4557668dfb75c540903ec02ed5821f75835 (diff)
downloadcaffeonacl-b93afe8378cd66d9bf375a0f492a30f9db77e8ae.tar.gz
caffeonacl-b93afe8378cd66d9bf375a0f492a30f9db77e8ae.tar.bz2
caffeonacl-b93afe8378cd66d9bf375a0f492a30f9db77e8ae.zip
Add ALLOW_LMDB_NOLOCK build option
This option lets you open LMDB files with the MDB_NOLOCK flag. You should not set this flag if you will be reading LMDBs with any possibility of simultaneous read and write.
Diffstat (limited to 'cmake/Templates')
-rw-r--r--cmake/Templates/caffe_config.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/Templates/caffe_config.h.in b/cmake/Templates/caffe_config.h.in
index 84377493..8a31b43c 100644
--- a/cmake/Templates/caffe_config.h.in
+++ b/cmake/Templates/caffe_config.h.in
@@ -35,3 +35,4 @@
#cmakedefine USE_OPENCV
#cmakedefine USE_LEVELDB
#cmakedefine USE_LMDB
+#cmakedefine ALLOW_LMDB_NOLOCK