summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfavre <jfavre@users.noreply.github.com>2023-10-17 21:03:41 +0200
committerGitHub <noreply@github.com>2023-10-17 13:03:41 -0600
commitda0813b049b016b2bcd021abcf2e520ac8bb41ea (patch)
tree9bd37345d2ebad3b34f963c627210ece5e26e3c9
parente2bb2595b37455a704027119d303f84b6b28ad83 (diff)
downloadspack-da0813b049b016b2bcd021abcf2e520ac8bb41ea.tar.gz
spack-da0813b049b016b2bcd021abcf2e520ac8bb41ea.tar.bz2
spack-da0813b049b016b2bcd021abcf2e520ac8bb41ea.tar.xz
spack-da0813b049b016b2bcd021abcf2e520ac8bb41ea.zip
paraview: add variant for NVIDIA IndeX (#40577)
* add variant for NVIDIA IndeX * remove whitespaces
-rw-r--r--var/spack/repos/builtin/packages/paraview/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/paraview/package.py b/var/spack/repos/builtin/packages/paraview/package.py
index 9b43d5e92c..5760a9d68d 100644
--- a/var/spack/repos/builtin/packages/paraview/package.py
+++ b/var/spack/repos/builtin/packages/paraview/package.py
@@ -72,6 +72,7 @@ class Paraview(CMakePackage, CudaPackage, ROCmPackage):
variant("kits", default=True, description="Use module kits")
variant("pagosa", default=False, description="Build the pagosa adaptor")
variant("eyedomelighting", default=False, description="Enable Eye Dome Lighting feature")
+ variant("nvindex", default=False, description="Enable the pvNVIDIAIndeX plugin")
variant("tbb", default=False, description="Enable multi-threaded parallelism with TBB")
variant("adios2", default=False, description="Enable ADIOS2 support", when="@5.8:")
variant("visitbridge", default=False, description="Enable VisItBridge support")
@@ -609,6 +610,9 @@ class Paraview(CMakePackage, CudaPackage, ROCmPackage):
if "+tbb" in spec:
cmake_args.append("-DVTK_SMP_IMPLEMENTATION_TYPE=TBB")
+ if "+nvindex" in spec:
+ cmake_args.append("-DPARAVIEW_PLUGIN_ENABLE_pvNVIDIAIndeX:BOOL=ON")
+
# Hide git from Paraview so it will not use `git describe`
# to find its own version number
if spec.satisfies("@5.4.0:5.4.1"):