From 990ebb235b1febf519df8c2d8df72b0dfd9a6b18 Mon Sep 17 00:00:00 2001 From: Kwabena N Amponsah Date: Mon, 26 Feb 2024 15:02:36 +0000 Subject: [PATCH] #64 update vtk build for pychaste --- scripts/install_vtk.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/scripts/install_vtk.sh b/scripts/install_vtk.sh index 4bcca27..283a1e4 100755 --- a/scripts/install_vtk.sh +++ b/scripts/install_vtk.sh @@ -137,14 +137,19 @@ mkdir -p ${install_dir} mkdir -p ${src_dir}-build cd ${src_dir}-build cmake \ - -DBUILD_SHARED_LIBS=ON \ - -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTING=OFF \ - -DBUILD_DOCUMENTATION=OFF \ - -DVTK_INSTALL_NO_DOCUMENTATION=ON \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=${install_dir} \ -DCMAKE_INSTALL_RPATH=${install_dir}/lib/vtk-${major}.${minor} \ + -DBUILD_TESTING=OFF \ + -DBUILD_DOCUMENTATION=OFF \ + -DBUILD_EXAMPLES=OFF \ + -DBUILD_SHARED_LIBS=ON \ + -DMPIEXEC="$(which mpiexec)" \ + -DVTK_Group_MPI=ON \ + -DVTK_ENABLE_VTKPYTHON=OFF \ + -DVTK_INSTALL_NO_DOCUMENTATION=ON \ + -DVTK_PYTHON_VERSION="$(python3 --version | cut -d' ' -f2)" \ + -DVTK_WRAP_PYTHON=ON \ ${src_dir} && \ make -j ${parallel} && \ make install