How to Compile Speedb
This page describes how to clone, compile and use the library.
Check the prerequisites before you start compiling in the dependencies page.
Compile in Release mode
Recommended:
make static_libwill compile the Speedb static library (librocksdb.a) in release mode.make shared_libwill compile the Speedb shared library (librocksdb.so) in release mode.
Compile in Debug mode
make checkwill compile Speedb in debug mode and run all the unit tests.make allwill 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 runmake all. This will compile Speedb in debug mode. Also, please don't use binaries compiled bymake allin production.
Last updated
Was this helpful?

