]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: stop rebuilding rocksdb everytime 38516/head
authorKefu Chai <kchai@redhat.com>
Thu, 10 Dec 2020 04:22:48 +0000 (12:22 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 10 Dec 2020 04:26:00 +0000 (12:26 +0800)
this change was originally introduced as a part of
418bfd7bb5ec1dcec2b011e9df118c33ce38d398, and latter migrated / changed
in the current form. but the idea is the same: to rebuild rocksdb even
if the stamp file shows that it has been built. there is no need to do
so, as we don't hack RocksDB as we used to. also,it is distracting to
check this log message when rebuilding the tree. so drop it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/BuildRocksDB.cmake

index 28559ea1cb329967f3e027bf4d7710cfd07a4197..58ce26a6acaf6ed6e26fdb0926063acfa730adf4 100644 (file)
@@ -84,7 +84,6 @@ function(build_rocksdb)
     CMAKE_ARGS ${rocksdb_CMAKE_ARGS}
     BINARY_DIR "${rocksdb_BINARY_DIR}"
     BUILD_COMMAND "${make_cmd}"
-    BUILD_ALWAYS TRUE
     BUILD_BYPRODUCTS "${rocksdb_LIBRARY}"
     INSTALL_COMMAND "true"
     LIST_SEPARATOR !)