Created
January 20, 2016 19:10
-
-
Save rob-p/130338aaef0ee10e4a70 to your computer and use it in GitHub Desktop.
Holy Build Box script to compile Sailfish
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 | |
set -e | |
# Activate Holy Build Box environment. | |
source /hbb_exe/activate | |
set -x | |
# Install things we need | |
yum install -y --quiet wget | |
wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
rpm -i --quiet epel-release-5-4.noarch.rpm | |
yum install -y --quiet git | |
yum install -y --quiet unzip | |
yum install -y --quiet bzip2-devel.x86_64 | |
git clone https://github.com/kingsfordgroup/sailfish.git | |
cd sailfish | |
git checkout develop | |
mkdir build | |
cd build | |
cmake -DFETCH_BOOST=TRUE .. | |
make | |
make install | |
make test | |
cd ../scripts | |
bash make-release.sh -v 0.9.0 -n CentOS5 | |
cd ../RELEASES | |
cp *.tar.gz /io/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment