Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build db_bench_log executable #1181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hanlins
Copy link

@hanlins hanlins commented Apr 19, 2024

This change added the db_bench_log executable to the build.

This change added the db_bench_log executable to the build.

Signed-off-by: Hanlin Shi <[email protected]>
@hanlins
Copy link
Author

hanlins commented Apr 19, 2024

Seems db_bench_log was missing:

leveldb git:(main) find . -name "db_bench*.cc" 
./benchmarks/db_bench_sqlite3.cc
./benchmarks/db_bench.cc
./benchmarks/db_bench_tree_db.cc
./benchmarks/db_bench_log.ccleveldb git:(main) grep "db_bench.*.cc" CMakeLists.txt
    leveldb_benchmark("benchmarks/db_bench.cc")
    leveldb_benchmark("benchmarks/db_bench_sqlite3.cc")
    leveldb_benchmark("benchmarks/db_bench_tree_db.cc")

Tested manually and build works:

leveldb git:(topic/build-db_bench_log) cmake --build build --config Debug --target db_bench_log 
[1/1] Linking CXX executable db_bench_logleveldb git:(topic/build-db_bench_log) echo $?
0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant