Last active
August 5, 2019 14:55
-
-
Save geektoni/baa75e274521ed54c00b43b9a43e1ad9 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
| mkdir roadrunner && cd roadrunner/ | |
| #sudo apt-get update | |
| #sudo apt-get install git g++-5 cmake make wget | |
| #sudo apt-get install llvm-3.5 llvm-3.5-dev | |
| #sudo apt-get install libbz2-1.0 libbz2-dev zlibc libxml2-dev libz-dev | |
| #sudo apt-get install libncurses5-dev | |
| #export CC=gcc-5 | |
| #export CXX=g++-5 | |
| #yum install -y ncurses-devel | |
| #yum install -y libxml2-devel | |
| #yum install -y libzip2 libzip2-devel | |
| #yum install -y zlib zlib-devel | |
| brew install llvm@3.9 | |
| brew install swig | |
| brew install git | |
| brew install cmake | |
| export CXX=/usr/local/opt/llvm@3.9/bin/clang++ | |
| export CC=/usr/local/opt/llvm@3.9/bin/clang | |
| git clone https://github.com/sys-bio/roadrunner.git | |
| git clone https://github.com/sys-bio/libroadrunner-deps | |
| mkdir -p install/roadrunner | |
| cd libroadrunner-deps/ | |
| mkdir build && cd build | |
| cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../../install/roadrunner .. | |
| make -j4 && make install | |
| cd ../../roadrunner/ | |
| mkdir build && cd build | |
| #ln -s /lib/x86_64-linux-gnu/libz.so.1 /lib/x86_64-linux-gnu/libz.so | |
| # comment line in source/CMakeLists.txt | |
| #sed -i "s|install(TARGETS roadrunner|# install(TARGETS roadrunner|" ../source/CMakeLists.txt | |
| cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../../install/roadrunner -DLLVM_CONFIG_EXECUTABLE=/usr/bin/llvm-config -DTHIRD_PARTY_INSTALL_FOLDER=../../install/roadrunner -DRR_USE_CXX11=OFF -DUSE_TR1_CXX_NS=ON LIBSBML_LIBRARY=/tmp/roadrunner/install/roadrunner/lib/libsbml.so LIBSBML_STATIC_LIBRARY=/tmp/roadrunner/install/roadrunner/lib/libsbml-static.a .. | |
| make -j4 && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment