From e002ab8f9baf685e21479bcabffd623f9f5c1dbf Mon Sep 17 00:00:00 2001 From: Jeremy BLEYER Date: Tue, 24 Nov 2020 16:47:34 +0100 Subject: [PATCH] Update postBuild --- postBuild | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/postBuild b/postBuild index 37ab357..6fa32cd 100644 --- a/postBuild +++ b/postBuild @@ -1 +1,13 @@ -pip install --upgrade gmsh \ No newline at end of file +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__)") +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 -- GitLab