Skip to content

Commit

Permalink
Added vtk build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesus Pulido committed Apr 13, 2020
1 parent c41335c commit 6349bd5
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions scripts/thirdparty/_VTK.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash

# VTK
echo "Building VTK ... "

echo $PLATFORM

if [ "$PLATFORM" = "travis" ]; then
echo "Travis: Using docker VTK build"
else
git clone https://gitlab.kitware.com/vtk/vtk.git -b v8.2.0
cd vtk
mkdir install
mkdir build
cd build
cmake .. -DVTK_Group_MPI:BOOL=true -DBUILD_TESTING:BOOL=false -DCMAKE_INSTALL_PREFIX=../install
make -j
make install
cd ..
cd ..
fi

echo "Building VTK done!"

0 comments on commit 6349bd5

Please sign in to comment.