Skip to content

Commit

Permalink
build: adjust rocksdb build flags
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck committed Sep 7, 2024
1 parent 2c88afe commit 413b3cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 5 additions & 2 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,11 @@ if %build_deps% == 1 (
pushd deps\rocksdb
cmake . -B%build_dir% %deps_cmake_flags%^
-DROCKSDB_BUILD_SHARED:BOOL=OFF^
-DWITH_TESTS:BOOL=OFF^
-DWITH_BENCHMARK_TOOLS:BOOL=OFF
-DROCKSDB_INSTALL_ON_WINDOWS:BOOL=ON^
-DWITH_TESTS:BOOL=OFF^
-DWITH_ALL_TESTS:BOOL=OFF^
-DWITH_BENCHMARK: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
4 changes: 3 additions & 1 deletion deps.mk
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ rocksdb:
cmake . -B$(build) \
-DROCKSDB_BUILD_SHARED:BOOL=OFF \
-DWITH_TESTS:BOOL=OFF \
-DWITH_BENCHMARK_TOOLS:BOOL=OFF\
-DWITH_ALL_TESTS:BOOL=OFF \
-DWITH_BENCHMARK: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 413b3cb

Please sign in to comment.