summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorkwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com>2022-11-11 14:09:43 -0600
committerGitHub <noreply@github.com>2022-11-11 13:09:43 -0700
commit5f8511311cb82e6debf1defc8f8a7b8d53279a33 (patch)
tree9ce88922faaa1ac121cae80b69b12337d10ce39e /var
parent2d2c5916337099431a9efca0c4594fc36fc3a609 (diff)
downloadspack-5f8511311cb82e6debf1defc8f8a7b8d53279a33.tar.gz
spack-5f8511311cb82e6debf1defc8f8a7b8d53279a33.tar.bz2
spack-5f8511311cb82e6debf1defc8f8a7b8d53279a33.tar.xz
spack-5f8511311cb82e6debf1defc8f8a7b8d53279a33.zip
ParaView: Add variant for VisItBridge (#33783)
* ParaView: Add variant for VisItBridge * ParaView: Add kwryankrattiger has package maintainer
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/paraview/package.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/paraview/package.py b/var/spack/repos/builtin/packages/paraview/package.py
index ccd14f984c..f1f0ec69bd 100644
--- a/var/spack/repos/builtin/packages/paraview/package.py
+++ b/var/spack/repos/builtin/packages/paraview/package.py
@@ -23,7 +23,7 @@ class Paraview(CMakePackage, CudaPackage):
list_depth = 1
git = "https://gitlab.kitware.com/paraview/paraview.git"
- maintainers = ["chuckatkins", "danlipsa", "vicentebolea"]
+ maintainers = ["danlipsa", "vicentebolea", "kwryankrattiger"]
tags = ["e4s"]
version("master", branch="master", submodules=True)
@@ -73,6 +73,7 @@ class Paraview(CMakePackage, CudaPackage):
variant("pagosa", default=False, description="Build the pagosa adaptor")
variant("eyedomelighting", default=False, description="Enable Eye Dome Lighting feature")
variant("adios2", default=False, description="Enable ADIOS2 support", when="@5.8:")
+ variant("visitbridge", default=False, description="Enable VisItBridge support")
variant("catalyst", default=False, description="Enable Catalyst 1", when="@5.7:")
variant(
"libcatalyst",
@@ -104,6 +105,7 @@ class Paraview(CMakePackage, CudaPackage):
' "on" or "off" will always override the build_edition.',
)
+ conflicts("~hdf5", when="+visitbridge")
conflicts("+adios2", when="@:5.10 ~mpi")
conflicts("+python", when="+python3")
# Python 2 support dropped with 5.9.0
@@ -199,6 +201,10 @@ class Paraview(CMakePackage, CudaPackage):
depends_on("hdf5@1.10:", when="+hdf5 @5.10:")
depends_on("adios2+mpi", when="+adios2+mpi")
depends_on("adios2~mpi", when="+adios2~mpi")
+ depends_on("silo", when="+visitbridge")
+ depends_on("silo+mpi", when="+visitbridge+mpi")
+ depends_on("silo~mpi", when="+visitbridge~mpi")
+ depends_on("boost", when="+visitbridge")
depends_on("jpeg")
depends_on("jsoncpp")
depends_on("libogg")
@@ -385,6 +391,8 @@ class Paraview(CMakePackage, CudaPackage):
"-DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=%s" % includes,
"-DBUILD_TESTING:BOOL=OFF",
"-DOpenGL_GL_PREFERENCE:STRING=LEGACY",
+ self.define_from_variant("PARAVIEW_ENABLE_VISITBRIDGE", "visitbridge"),
+ self.define_from_variant("VISIT_BUILD_READER_Silo", "visitbridge"),
]
if spec.satisfies("@5.11:"):