diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/blasr-libcpp/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/blasr-libcpp/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/blasr-libcpp/package.py b/var/spack/repos/builtin/packages/blasr-libcpp/package.py index 50e40f5d33..0db23f62b7 100644 --- a/var/spack/repos/builtin/packages/blasr-libcpp/package.py +++ b/var/spack/repos/builtin/packages/blasr-libcpp/package.py @@ -28,8 +28,7 @@ class BlasrLibcpp(Package): depends_on('python@2.7:2.8', type='build') - phases = ['configure', 'build', 'install'] - + @run_before('install') def configure(self, spec, prefix): configure_args = [ 'PBBAM_INC={0}'.format(self.spec['pbbam'].prefix.include), @@ -39,6 +38,7 @@ class BlasrLibcpp(Package): ] python('configure.py', *configure_args) + @run_before('install') def build(self, spec, prefix): os.environ['CPLUS_INCLUDE_PATH'] = self.stage.source_path make() |