summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/zfp/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/zfp/package.py b/var/spack/repos/builtin/packages/zfp/package.py
index e25d9b74fe..e3416ab76c 100644
--- a/var/spack/repos/builtin/packages/zfp/package.py
+++ b/var/spack/repos/builtin/packages/zfp/package.py
@@ -78,7 +78,7 @@ class Zfp(CMakePackage, CudaPackage):
# Dependencies
depends_on('cmake@3.4.0:', type='build')
depends_on('cuda@7:', type=('build', 'test', 'run'), when='+cuda')
- depends_on('python', type=('build', 'test', 'run'), when='+python')
+ depends_on('python', type=('build', 'test', 'run'), when='+python')
depends_on('py-numpy', type=('build', 'test', 'run'), when='+python')
depends_on('py-cython', type='build', when='+python')
@@ -93,6 +93,7 @@ class Zfp(CMakePackage, CudaPackage):
self.define_from_variant('BUILD_CFP', 'c'),
self.define_from_variant('BUILD_ZFPY', 'python'),
self.define_from_variant('BUILD_ZFORP', 'fortran'),
+ self.define_from_variant('ZFP_WITH_OPENMP', 'openmp'),
self.define_from_variant('ZFP_WITH_CUDA', 'cuda'),
self.define('ZFP_BIT_STREAM_WORD_SIZE',
spec.variants['bsws'].value),