Skip to content

Instantly share code, notes, and snippets.

@yuasatakayuki
Created March 7, 2016 03:32
Show Gist options
  • Save yuasatakayuki/80acbebccaaac198daa5 to your computer and use it in GitHub Desktop.
Save yuasatakayuki/80acbebccaaac198daa5 to your computer and use it in GitHub Desktop.
#!/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