Commit d7dc0472 authored by Jeremy BLEYER's avatar Jeremy BLEYER

Update postBuild

parent cc17d48f
pip install --upgrade gmsh
PYBIND11_VERSION=2.2.3
wget -nc --quiet https://github.com/pybind/pybind11/archive/v${PYBIND11_VERSION}.tar.gz
tar -xf v${PYBIND11_VERSION}.tar.gz && cd pybind11-${PYBIND11_VERSION}
mkdir build && cd build && cmake -DPYBIND11_TEST=off .. && make install
pip install fenics-ffc --upgrade
FENICS_VERSION=$(python3 -c"import ffc; print(ffc.__version__)")
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 --branch=$FENICS_VERSION https://bitbucket.org/fenics-project/mshr
mkdir dolfin/build && cd dolfin/build && cmake .. && make install && cd ../..
mkdir mshr/build && cd mshr/build && cmake .. && make install && cd ../..
cd dolfin/python && pip3 install . && cd ../..
cd mshr/python && pip3 install . && cd ../..
\ No newline at end of file
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
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