diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/visit/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/visit/package.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/visit/package.py b/var/spack/repos/builtin/packages/visit/package.py index e9362d0183..ed8b2a8a45 100644 --- a/var/spack/repos/builtin/packages/visit/package.py +++ b/var/spack/repos/builtin/packages/visit/package.py @@ -98,6 +98,9 @@ class Visit(CMakePackage): # Fix pthread and librt link errors patch("visit32-missing-link-libs.patch", when="@3.2") + # Fix const-correctness in VTK interface + patch("vtk-8.2-constcorrect.patch", when="@3.3.3 ^vtk@8.2.1a") + # Exactly one of 'gui' or 'osmesa' has to be enabled conflicts("+gui", when="+osmesa") @@ -129,7 +132,8 @@ class Visit(CMakePackage): depends_on("qwt+opengl", when="+gui") # python@3.8 doesn't work with VisIt. - depends_on("python@3.2:3.7,3.9:", when="+python") + depends_on("python@3.2:3.7,3.9:", when="@:3.2 +python") + depends_on("python@3.2:", when="@3.3: +python") extends("python", when="+python") # VisIt uses the hdf5 1.8 api |