Created
March 7, 2016 03:32
-
-
Save yuasatakayuki/80acbebccaaac198daa5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
PREFIX=$HOME/work/install | |
cd $HOME | |
if [ ! -d $PREFIX ]; then | |
mkdir -p $PREFIX | |
fi | |
pushd $PREFIX | |
rm -rf RubyROOT | |
git clone https://github.com/odakahirokazu/RubyROOT.git | |
pushd RubyROOT | |
mkdir build | |
pushd build | |
cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX | |
make -j2 install | |
popd | |
popd | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment