Skip to content

Instantly share code, notes, and snippets.

@lars20070
Created December 6, 2017 05:19
Show Gist options
  • Save lars20070/c6d74d84c3638af1ba64c947e322cf4a to your computer and use it in GitHub Desktop.
Save lars20070/c6d74d84c3638af1ba64c947e322cf4a to your computer and use it in GitHub Desktop.
contrib and OpenMS build script for Ubuntu 16.04 (LTS)
# See documentation at http://ftp.mi.fu-berlin.de/pub/OpenMS/release-documentation/html/install_linux.html
# build contrib libraries
git clone https://github.com/OpenMS/contrib.git
mkdir contrib-build
cd contrib-build
cmake -DBUILD_TYPE=EIGEN ../contrib
cmake -DBUILD_TYPE=SEQAN ../contrib
cmake -DBUILD_TYPE=WILDMAGIC ../contrib
cmake -DBUILD_TYPE=ALL -DNUMBER_OF_JOBS=4 ../contrib
cd ..
# build OpenMS
git clone https://github.com/OpenMS/OpenMS.git
cd OpenMS
git checkout develop
cd ..
mkdir OpenMS-build
cd OpenMS-build
# absolute path to contrib-build necessary. Please adjust.
cmake -DOPENMS_CONTRIB_LIBS=/home/schilling/Programs/contrib-build -DBOOST_USE_STATIC=OFF ../OpenMS
make
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment