Last active
September 19, 2016 10:30
-
-
Save dalanmiller/2365fb938fe61f4761c1 to your computer and use it in GitHub Desktop.
A quick script to download and compile RethinkDB on Raspberry Pi 2
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
sudo apt-get install g++ protobuf-compiler libprotobuf-dev libboost-dev curl m4 wget | |
#At this point make sure you check to see that 2.0.4 is still the most recent version of RethinkDB! http://rethinkdb.com | |
wget http://download.rethinkdb.com/dist/rethinkdb-latest.tgz | |
tar xf rethinkdb-latest.tgz | |
rm rethinkdb-latest.tgz | |
cd rethinkdb-* | |
./configure --with-system-malloc --allow-fetch | |
#Export the proper C++ flags for Raspberry Pi 1/2 | |
export CXXFLAGS="-mfpu=neon-vfpv4 -mcpu=native -march=native -mfloat-abi=hard" | make -j3 ALLOW_WARNINGS=1 | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment