Created
July 19, 2017 18:47
-
-
Save xmonader/2f5e9677c2a7ecec01da4d88291a8086 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get install build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev -y | |
#git clone https://github.com/facebook/rocksdb.git | |
cd rocksdb | |
make shared_lib | |
export CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH}:`pwd`/include | |
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:`pwd` | |
export LIBRARY_PATH=${LIBRARY_PATH}:`pwd` | |
cd ../ | |
apt-get install python-dev | |
pip install pyrocksdb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WORKING COMMIT FOR BUIILDING git reset --hard 8d7926a766f2ab9bd6e7aa8cba80b5d3ff26c52b