summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-04-19 18:41:44 +0200
committerGitHub <noreply@github.com>2021-04-19 12:41:44 -0400
commitc144222d54bc0436c37be19c463474efbe085e17 (patch)
treefef04088fb50d2e1c47c60fbbc752f7680a869fe
parent2d5f519d9b42ba375922eebdf130777d9d1aceca (diff)
downloadspack-c144222d54bc0436c37be19c463474efbe085e17.tar.gz
spack-c144222d54bc0436c37be19c463474efbe085e17.tar.bz2
spack-c144222d54bc0436c37be19c463474efbe085e17.tar.xz
spack-c144222d54bc0436c37be19c463474efbe085e17.zip
catalyst: mpi variant was never declared (#23082)
-rw-r--r--var/spack/repos/builtin/packages/catalyst/package.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/catalyst/package.py b/var/spack/repos/builtin/packages/catalyst/package.py
index b59e18f47f..d55c7f669b 100644
--- a/var/spack/repos/builtin/packages/catalyst/package.py
+++ b/var/spack/repos/builtin/packages/catalyst/package.py
@@ -66,8 +66,8 @@ class Catalyst(CMakePackage):
depends_on('py-numpy', when='+python', type=('build', 'run'))
depends_on('py-numpy', when='+python3', type=('build', 'run'))
- depends_on('py-mpi4py', when='+python+mpi', type=('build', 'run'))
- depends_on('py-mpi4py', when='+python3+mpi', type=('build', 'run'))
+ depends_on('py-mpi4py', when='+python', type=('build', 'run'))
+ depends_on('py-mpi4py', when='+python3', type=('build', 'run'))
depends_on('gl@3.2:', when='+rendering')
depends_on('osmesa', when='+rendering+osmesa')
@@ -226,7 +226,7 @@ class Catalyst(CMakePackage):
'-DPARAVIEW_ENABLE_PYTHON:BOOL=ON',
'-DPYTHON_EXECUTABLE:FILEPATH=%s' %
spec['python'].command.path,
- '-DVTK_USE_SYSTEM_MPI4PY:BOOL=%s' % variant_bool('+mpi')
+ '-DVTK_USE_SYSTEM_MPI4PY:BOOL=ON'
])
else:
cmake_args.append('-DPARAVIEW_ENABLE_PYTHON:BOOL=OFF')