summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-08-11 10:25:45 +0800
committerGitHub <noreply@github.com>2020-08-10 21:25:45 -0500
commit84a97d8372355ea5063f9ac9eaa2fbeb2e7bd74a (patch)
treed68724f7aea4eea665519c9effc5d0602c31015c
parent9fbfd6b58cb796c7d77cffebc1d5bfe283bb2032 (diff)
downloadspack-84a97d8372355ea5063f9ac9eaa2fbeb2e7bd74a.tar.gz
spack-84a97d8372355ea5063f9ac9eaa2fbeb2e7bd74a.tar.bz2
spack-84a97d8372355ea5063f9ac9eaa2fbeb2e7bd74a.tar.xz
spack-84a97d8372355ea5063f9ac9eaa2fbeb2e7bd74a.zip
pbbam: fix build error (#17955)
* pbbam: fix build error * Update var/spack/repos/builtin/packages/pbbam/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/pbbam/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/pbbam/package.py b/var/spack/repos/builtin/packages/pbbam/package.py
index 26622715e9..03be8f3b61 100644
--- a/var/spack/repos/builtin/packages/pbbam/package.py
+++ b/var/spack/repos/builtin/packages/pbbam/package.py
@@ -34,9 +34,10 @@ class Pbbam(CMakePackage):
return options
def install(self, spec, prefix):
- install_tree('spack-build/bin', prefix.bin)
- install_tree('spack-build/lib', prefix.lib)
install_tree('include/pbbam', prefix.include.pbbam)
+ with working_dir(self.build_directory):
+ install_tree('bin', prefix.bin)
+ install_tree('lib', prefix.lib)
def setup_dependent_build_environment(self, env, dependent_spec):
env.set('PacBioBAM_LIBRARIES', self.prefix.lib)