Commit bb880cc6 authored by Jeremy BLEYER's avatar Jeremy BLEYER

Update postBuild

parent d7dc0472
pip install --upgrade gmsh
cd $HOME
git clone https://github.com/pybind/pybind11.git
cd pybind11
git checkout v2.4.3
cd $HOME
export FENICS_VERSION=$(python3 -c"import ffc; print(ffc.__version__)")
git clone --branch=$FENICS_VERSION https://bitbucket.org/fenics-project/dolfin
git clone https://bitbucket.org/fenics-project/mshr
cd mshr/
git checkout 2019.1.0
mkdir -p $HOME/build/mshr $HOME/build/dolfin $HOME/build/pybind11
cd $HOME/build/pybind11
cmake $HOME/pybind11/ -DPYBIND11_TEST=off -DCMAKE_INSTALL_PREFIX=$HOME/install/
make install -j 4
export pybind11_DIR=$HOME/install/pybind11/share/cmake/pybind11/
cd $HOME/build/dolfin
cmake $HOME/dolfin -DCMAKE_INSTALL_PREFIX=$HOME/install/
make install -j 4
cd $HOME/build/mshr
source $HOME/install/share/dolfin/dolfin.conf
cmake $HOME/mshr/ -DCMAKE_INSTALL_PREFIX=$HOME/install/
make install -j 4
cd $HOME/dolfin/python
${KERNEL_PYTHON_PREFIX}/bin/pip install . --user
cd $HOME/mshr/python
${KERNEL_PYTHON_PREFIX}/bin/pip install . --user
cd $HOME
\ No newline at end of file
pip install --upgrade gmsh
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment