This is an automated email from the ASF dual-hosted git repository.
laiyingchun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
The following commit(s) were added to refs/heads/master by this push:
new edd1e17c8 feat(build): build RocksDB with encryption enabled (#1612)
edd1e17c8 is described below
commit edd1e17c87a7a018dca690cc4a2c569718cd76ea
Author: Yingchun Lai <[email protected]>
AuthorDate: Tue Sep 19 10:37:44 2023 +0800
feat(build): build RocksDB with encryption enabled (#1612)
https://github.com/apache/incubator-pegasus/issues/1575
Set option -DWITH_OPENSSL=ON to build rocksdb with encryption feature
enabled.
---
thirdparty/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt
index a3823e42b..5784a8228 100644
--- a/thirdparty/CMakeLists.txt
+++ b/thirdparty/CMakeLists.txt
@@ -379,6 +379,7 @@ ExternalProject_Add(rocksdb
-DWITH_TESTS=OFF
-DWITH_GFLAGS=OFF
-DUSE_RTTI=ON
+ -DWITH_OPENSSL=ON # enable encryption
-DCMAKE_BUILD_TYPE=Release
-DWITH_JEMALLOC=${USE_JEMALLOC}
-DJEMALLOC_ROOT_DIR=${TP_OUTPUT}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]