Skip to content

Commit

Permalink
#64 update vtk build for pychaste
Browse files Browse the repository at this point in the history
  • Loading branch information
kwabenantim committed Feb 26, 2024
1 parent 1cfa6d8 commit 990ebb2
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions scripts/install_vtk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 990ebb2

Please sign in to comment.