Skip to content

Instantly share code, notes, and snippets.

@geektoni geektoni/
Last active Aug 5, 2019

What would you like to do?
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
git clone
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/ /lib/x86_64-linux-gnu/
# 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_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
You can’t perform that action at this time.