diff options
author | Luke Yeager <luke.yeager@gmail.com> | 2015-09-25 15:53:54 -0700 |
---|---|---|
committer | Luke Yeager <luke.yeager@gmail.com> | 2015-09-25 15:55:40 -0700 |
commit | b93afe8378cd66d9bf375a0f492a30f9db77e8ae (patch) | |
tree | b5f6e6a203a1bb564f046c56d4fef667d6cc2458 /cmake/Templates | |
parent | aaf4a4557668dfb75c540903ec02ed5821f75835 (diff) | |
download | caffeonacl-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.in | 1 |
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 |