mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Summary: as title. Test Plan: no Reviewers: dhruba CC: leveldb Differential Revision: https://reviews.facebook.net/D14121
1.0 KiB
1.0 KiB
Currently Rocksdb is developed on Linux (CentOS release 5.2), with gcc 4.71. To build it on your own platform, you'll need to:
-
Make sure your compiler (either
clangorgcc) supports C++ 11. Please make the version forgccis 4.8 or above; forclangthe version is 5.0 or above. -
Install the the libraries that rocksdb depends on:
Platforms on which rocksdb can compile:
- Linux
OS X: right now rocksdb can be compiled in Mac if you- update your xcode to latest version, which allows you to use compiler that supports C++ 11.
- install gflags, you may run build_tool/mac-install-gflags.sh to install
it. If you install gflags with other means (for example,
brew install gflags), please setLIBRARY_PATHandCPATHaccordingly. - Please note some of the optimizations/features are disabled in OSX. And we did not run any production workload on it.