How to Compile Speedb
This page describes how to clone, compile and use the library.
Last updated
Was this helpful?
This page describes how to clone, compile and use the library.
Last updated
Was this helpful?
Check the prerequisites before you start compiling in the page.
Recommended: make static_lib
will compile the Speedb static library (librocksdb.a
) in release mode.
make shared_lib
will compile the Speedb shared library (librocksdb.so
) in release mode.
make check
will compile Speedb in debug mode and run all the unit tests.
make all
will compile Speedb's static library, and all tools and unit tests. These tools depend on gflags, so you'll need to have gflags installed to run make all
. This will compile Speedb in debug mode. Also, please don't use binaries compiled by make all
in production.