mirror of
https://develop.openfoam.com/Development/ThirdParty-common.git
synced 2025-12-08 06:57:50 +00:00
STYLE: update some examples for mesa-18.3.4
- still needs more testing to determine the best combination of versions
This commit is contained in:
12
makeMesa.example
Executable file
12
makeMesa.example
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# An example for building mesa with llvm
|
||||||
|
|
||||||
|
mesa=mesa-18.3.4
|
||||||
|
llvm=llvm-4.0.1
|
||||||
|
|
||||||
|
set -x
|
||||||
|
./makeMesa \
|
||||||
|
$mesa $llvm
|
||||||
|
"$@"
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
@ -9,11 +9,12 @@
|
|||||||
|
|
||||||
# mesa=mesa-11.2.2
|
# mesa=mesa-11.2.2
|
||||||
# mesa=mesa-13.0.3
|
# mesa=mesa-13.0.3
|
||||||
mesa=mesa-17.1.1
|
# mesa=mesa-17.1.1
|
||||||
|
mesa=mesa-18.3.4
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
./makeParaView \
|
./makeParaView \
|
||||||
-mpi=0 \
|
-mpi \
|
||||||
-mesa-prefix $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$mesa \
|
-mesa-prefix $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$mesa \
|
||||||
-python \
|
-python \
|
||||||
-suffix mesa-mpi-py \
|
-suffix mesa-mpi-py \
|
||||||
|
|||||||
@ -2,10 +2,11 @@
|
|||||||
# An example for building particular combinations of VTK with
|
# An example for building particular combinations of VTK with
|
||||||
# - mesa (off-screen only)
|
# - mesa (off-screen only)
|
||||||
|
|
||||||
vtk=VTK-9.0.0
|
vtk=VTK-8.2.0
|
||||||
# mesa=mesa-11.2.2
|
# mesa=mesa-11.2.2
|
||||||
# mesa=mesa-13.0.3
|
# mesa=mesa-13.0.3
|
||||||
mesa=mesa-17.1.1
|
# mesa=mesa-17.1.1
|
||||||
|
mesa=mesa-18.3.4
|
||||||
|
|
||||||
# Module_vtkAcceleratorsVTKm : Request building vtkAcceleratorsVTKm
|
# Module_vtkAcceleratorsVTKm : Request building vtkAcceleratorsVTKm
|
||||||
#
|
#
|
||||||
@ -13,11 +14,10 @@ mesa=mesa-17.1.1
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
./makeVTK \
|
./makeVTK \
|
||||||
-mpi \
|
-mpi \
|
||||||
-osmesa \
|
-osmesa \
|
||||||
-mesa-prefix $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$mesa \
|
-mesa-prefix $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$mesa \
|
||||||
$vtk "$@" \
|
$vtk "$@" \
|
||||||
Module_vtkAcceleratorsVTKm=ON
|
Module_vtkAcceleratorsVTKm=ON
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user