blasr-libcpp: improved setup_run_environment (#18038)
Added non standard paths to LD_LIBRARY_PATH
This commit is contained in:
parent
f45e8ac70b
commit
4b9bdea26b
@ -15,6 +15,8 @@ class BlasrLibcpp(Package):
|
|||||||
homepage = "https://github.com/PacificBiosciences/blasr_libcpp"
|
homepage = "https://github.com/PacificBiosciences/blasr_libcpp"
|
||||||
url = "https://github.com/PacificBiosciences/blasr_libcpp/archive/5.3.1.tar.gz"
|
url = "https://github.com/PacificBiosciences/blasr_libcpp/archive/5.3.1.tar.gz"
|
||||||
|
|
||||||
|
maintainers = ['robqiao']
|
||||||
|
|
||||||
version('5.3.1', sha256='45a673255bfe7e29ed1f5bdb6410aa45cb6b907400d038c3da9daf1058b09156')
|
version('5.3.1', sha256='45a673255bfe7e29ed1f5bdb6410aa45cb6b907400d038c3da9daf1058b09156')
|
||||||
|
|
||||||
depends_on('pbbam')
|
depends_on('pbbam')
|
||||||
@ -23,7 +25,7 @@ class BlasrLibcpp(Package):
|
|||||||
# major version 1.9 and the 1.10.1 version doesn't build correctly.
|
# major version 1.9 and the 1.10.1 version doesn't build correctly.
|
||||||
# https://github.com/PacificBiosciences/blasr/issues/355
|
# https://github.com/PacificBiosciences/blasr/issues/355
|
||||||
|
|
||||||
depends_on('python', type='build')
|
depends_on('python@2.7:2.8', type='build')
|
||||||
|
|
||||||
phases = ['configure', 'build', 'install']
|
phases = ['configure', 'build', 'install']
|
||||||
|
|
||||||
@ -49,3 +51,11 @@ def setup_dependent_build_environment(self, env, dependent_spec):
|
|||||||
env.prepend_path('LD_LIBRARY_PATH', self.spec.prefix.hdf)
|
env.prepend_path('LD_LIBRARY_PATH', self.spec.prefix.hdf)
|
||||||
env.prepend_path('LD_LIBRARY_PATH', self.spec.prefix.alignment)
|
env.prepend_path('LD_LIBRARY_PATH', self.spec.prefix.alignment)
|
||||||
env.prepend_path('LD_LIBRARY_PATH', self.spec.prefix.pbdata)
|
env.prepend_path('LD_LIBRARY_PATH', self.spec.prefix.pbdata)
|
||||||
|
|
||||||
|
def setup_run_environment(self, env):
|
||||||
|
env.prepend_path('LD_LIBRARY_PATH',
|
||||||
|
self.spec['blasr-libcpp'].prefix.pbdata)
|
||||||
|
env.prepend_path('LD_LIBRARY_PATH',
|
||||||
|
self.spec['blasr-libcpp'].prefix.alignment)
|
||||||
|
env.prepend_path('LD_LIBRARY_PATH',
|
||||||
|
self.spec['blasr-libcpp'].prefix.hdf)
|
||||||
|
Loading…
Reference in New Issue
Block a user