summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorHoward Pritchard <hppritcha@gmail.com>2021-02-08 10:53:06 -0700
committerGitHub <noreply@github.com>2021-02-08 09:53:06 -0800
commit45040589c8458ccd435f10be7123875181be76ff (patch)
treea5dc9faab46d1ed346a77da49acd5e880ba92285 /var
parent66dc7d8c53822c9101a216897c55facdf8b64b5b (diff)
downloadspack-45040589c8458ccd435f10be7123875181be76ff.tar.gz
spack-45040589c8458ccd435f10be7123875181be76ff.tar.bz2
spack-45040589c8458ccd435f10be7123875181be76ff.tar.xz
spack-45040589c8458ccd435f10be7123875181be76ff.zip
paraview: disable VTK_PYTHON_OPTIONAL_LINK for cce (#21357)
when building paraview 5.8 or newer. See https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7482for background info. Signed-off-by: Howard Pritchard <hppritcha@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/paraview/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/paraview/package.py b/var/spack/repos/builtin/packages/paraview/package.py
index f4fecbfb3b..f9eb40c9f4 100644
--- a/var/spack/repos/builtin/packages/paraview/package.py
+++ b/var/spack/repos/builtin/packages/paraview/package.py
@@ -261,6 +261,8 @@ class Paraview(CMakePackage, CudaPackage):
cmake_args.extend([
'-DPARAVIEW_USE_QT:BOOL=%s' % variant_bool('+qt'),
'-DPARAVIEW_BUILD_WITH_EXTERNAL=ON'])
+ if spec.satisfies('%cce'):
+ cmake_args.append('-DVTK_PYTHON_OPTIONAL_LINK:BOOL=OFF')
else: # @5.7:
cmake_args.extend([
'-DPARAVIEW_BUILD_QT_GUI:BOOL=%s' % variant_bool('+qt'),