Skip to content

Instantly share code, notes, and snippets.

@rob-p
Created January 20, 2016 19:10
Show Gist options
  • Save rob-p/130338aaef0ee10e4a70 to your computer and use it in GitHub Desktop.
Save rob-p/130338aaef0ee10e4a70 to your computer and use it in GitHub Desktop.
Holy Build Box script to compile Sailfish
#!/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