diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-cudf/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-cudf/package.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-cudf/package.py b/var/spack/repos/builtin/packages/py-cudf/package.py index a660fa9b7a..36f223167a 100644 --- a/var/spack/repos/builtin/packages/py-cudf/package.py +++ b/var/spack/repos/builtin/packages/py-cudf/package.py @@ -36,9 +36,8 @@ class PyCudf(PythonPackage): for v in ('@0.15.0',): depends_on('libcudf' + v, when=v) - phases = ['cmake', 'build_ext', 'install'] - - def cmake(self, spec, prefix): + @run_before('install') + def cmake(self): cmake = which('cmake') build_dir = os.path.join(self.stage.source_path, 'cpp', 'build') |