diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pygpu/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pygpu/package.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/py-pygpu/package.py b/var/spack/repos/builtin/packages/py-pygpu/package.py index c7968913ab..f3731fc4ad 100644 --- a/var/spack/repos/builtin/packages/py-pygpu/package.py +++ b/var/spack/repos/builtin/packages/py-pygpu/package.py @@ -3,8 +3,6 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -import os - from spack import * @@ -35,10 +33,7 @@ class PyPygpu(PythonPackage): depends_on('py-mako', type=('build', 'run')) depends_on('check') - phases = ['build_ext', 'install'] - - def build_ext_args(self, spec, prefix): - + def install_options(self, spec, prefix): _ = self.spec['libgpuarray'].prefix include_flags = '-I{0}'.format(os.path.join(_, 'include')) library_flags = '-L{0}'.format(os.path.join(_, 'lib')) |