]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake/modules/BuildRocksDB.cmake: enable compressions for rocksdb 22215/head
authorKefu Chai <kchai@redhat.com>
Wed, 23 May 2018 15:20:21 +0000 (23:20 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 24 May 2018 12:05:40 +0000 (20:05 +0800)
commit216a5a685ac38f5490053b0de3fb816e474f0df8
tree891319c3e3a94c7bd54fbf2f0b3fc7b6526eb309
parent67ea1295735701439d5101554a476fce254da5a7
cmake/modules/BuildRocksDB.cmake: enable compressions for rocksdb

we should enable them if they are found.

currently, we don't have bzip2 compressor plugin, so it's not detected
in the cmake script. we can always enable it for rocksdb in future.

Fixes: http://tracker.ceph.com/issues/24025
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit d0b7b52a42bcc70d853f5b5ede66d8d123637e3f)

Conflicts:
cmake/modules/BuildRocksDB.cmake:
CMakeLists.txt: in luminous, BuildRocksDB.cmake is not extracted
yet, so update CMakeLists.txt instead.
src/CMakeLists.txt