AndySomogyi / sbmlsolver_dep

SBMLSolver dependencies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SBMLSolver Dependencies

This project holds most of the dependencies, including llvm needed to build the SBMLSolver

Due to an incompatiblity between llvm and libSBML, we do not support building both as subprojects. Therefore, you need to build the llvm project separatly

Instructions

  1. Check to see if libxm12 is installed. If it is not installed you will need to install it by

    sudo apt-get install libxm12
    sudo apt-get install libxm12-dev
    
  2. Clone this git repository, reccomended to clone it to $HOME/src/sbmlsolver_dep

  3. Decide on a location where these should be installed, it is reccomended that you create a $HOME/local directory hierarchy, with $HOME/local/bin, $HOME/local/include and $HOME/local/lib. You will then use $HOME/local as the install prefix. Remember this $HOME/local, you will use this as the SBMLSOLVER_DEP_DIR CCMake option when you build the sbmlsolver library.

  4. Create build directories for both llvm and the other projects, go to $HOME/src, and create llvm_build and sbmlsolver_dep_build directories.

  5. First build llvm, go to $HOME/src/llvm-build, and run

    ccmake -DCMAKE_INSTALL_PREFIX=$HOME/local ../sbmlsolver_dep/llvm-3.5.0.src
    

    This will run the ccmake text mode gui where you can choose the options. This should be fine as ccmake will make the makefile for you, so leave it alone. Hit 'c' to congigure, then 'g' to generate. You may have to configure twice for the systyem to generate.

    Make and install the llvm project

    make -j8
    make install
    
  6. Now build the other dependencies, go to $HOME/src/sbmlsolver_dep_build, and run

    ccmake -DCMAKE_INSTALL_PREFIX=$HOME/local ../sbmlsolver_dep
    

    Hit 'c' to configure, and 'g' to generate. You may have to configure twice for the systyem to generate. Then make and install the project.

    make -j8
    make install
    

About

SBMLSolver dependencies


Languages

Language:C++ 46.1%Language:C 13.6%Language:C# 7.5%Language:LLVM 7.4%Language:Python 6.9%Language:HTML 5.2%Language:Java 4.6%Language:Assembly 1.9%Language:Perl 1.7%Language:Ruby 1.3%Language:Mathematica 1.0%Language:Makefile 0.8%Language:CMake 0.5%Language:Shell 0.4%Language:MATLAB 0.3%Language:M4 0.3%Language:R 0.1%Language:Objective-C 0.1%Language:OCaml 0.1%Language:JavaScript 0.1%Language:CSS 0.1%Language:XSLT 0.0%Language:TeX 0.0%Language:Batchfile 0.0%Language:Perl 6 0.0%Language:Roff 0.0%Language:Vim Script 0.0%Language:M 0.0%Language:Rich Text Format 0.0%Language:Emacs Lisp 0.0%Language:PowerShell 0.0%Language:Pawn 0.0%Language:PHP 0.0%