From 244784fb36e24539c99045cd01d97b75fb5bfbe0 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 10 Dec 2020 12:22:48 +0800 Subject: [PATCH] cmake: stop rebuilding rocksdb everytime 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 --- cmake/modules/BuildRocksDB.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/cmake/modules/BuildRocksDB.cmake b/cmake/modules/BuildRocksDB.cmake index 28559ea1cb329..58ce26a6acaf6 100644 --- a/cmake/modules/BuildRocksDB.cmake +++ b/cmake/modules/BuildRocksDB.cmake @@ -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 !) -- 2.39.5