Skip to content

Commit

Permalink
build: build rocksdb without gflags
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck committed Sep 7, 2024
1 parent 2c88afe commit 6d4084c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ if %build_deps% == 1 (
cmake . -B%build_dir% %deps_cmake_flags%^
-DROCKSDB_BUILD_SHARED:BOOL=OFF^
-DWITH_TESTS:BOOL=OFF^
-DWITH_BENCHMARK_TOOLS:BOOL=OFF
-DWITH_BENCHMARK_TOOLS:BOOL=OFF^
-DWITH_GFLAGS:BOOL=OFF
if errorlevel 1 goto error
cmake --build %build_dir% --config %build_config% --target install
if errorlevel 1 goto error
Expand Down
3 changes: 2 additions & 1 deletion deps.mk
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ rocksdb:
cmake . -B$(build) \
-DROCKSDB_BUILD_SHARED:BOOL=OFF \
-DWITH_TESTS:BOOL=OFF \
-DWITH_BENCHMARK_TOOLS:BOOL=OFF\
-DWITH_BENCHMARK_TOOLS:BOOL=OFF \
-DWITH_GFLAGS:BOOL=OFF \
-DCMAKE_BUILD_TYPE:STRING="Release" \
-DCMAKE_INSTALL_PREFIX:PATH="$(prefix)" \
&& cmake --build $(build) --target install
Expand Down

0 comments on commit 6d4084c

Please sign in to comment.