Skip to content

Commit

Permalink
Update BUILD.md
Browse files Browse the repository at this point in the history
support official rocksdb6.x series
  • Loading branch information
wolfkdy committed Jun 9, 2022
1 parent cddb1fc commit 331fb8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ Execute this series of commands to compile MongoDB with RocksDB storage engine:
install compression libraries (zlib, bzip2, snappy):
sudo apt-get install zlib1g-dev; sudo apt-get install libbz2-dev; sudo apt-get install libsnappy-dev
# get rocksdb
git clone https://github.com/wolfkdy/rocksdb.git
git checkout fb5.18_totdb
git clone https://github.com/facebook/rocksdb.git
git checkout main
# compile rocksdb
cd rocksdb; USE_RTTI=1 CFLAGS=-fPIC make static_lib; sudo INSTALL_PATH=/usr make install; cd ..
# get mongo
git clone https://github.com/mongodb/mongo.git
git checkout tags/r4.2.5 -b branch_tags_4.2.5
# get mongorocks
git clone https://github.com/mongodb-partners/mongo-rocks
git checkout v4.2.5_rc2
git checkout master
# add rocksdb module to mongo
mkdir -p mongo/src/mongo/db/modules/
ln -sf ~/mongo-rocks mongo/src/mongo/db/modules/rocks
Expand Down

0 comments on commit 331fb8b

Please sign in to comment.