Files
ThirdParty-common/makeVTK.example
Mark Olesen 8df5d377e7 STYLE: update some examples for mesa-18.3.4
- still needs more testing to determine the best combination of versions
2019-03-11 11:54:02 +01:00

24 lines
577 B
Bash
Executable File

#!/bin/sh
# An example for building particular combinations of VTK with
# - mesa (off-screen only)
vtk=VTK-8.2.0
# mesa=mesa-11.2.2
# mesa=mesa-13.0.3
# mesa=mesa-17.1.1
mesa=mesa-18.3.4
# Module_vtkAcceleratorsVTKm : Request building vtkAcceleratorsVTKm
#
# -mpi implies VTK_Group_MPI : Request building MPI modules
set -x
./makeVTK \
-mpi \
-osmesa \
-mesa-prefix $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$mesa \
$vtk "$@" \
Module_vtkAcceleratorsVTKm=ON
#------------------------------------------------------------------------------