libbeagle: add java dependency so jni hooks get built (#8524)
* libbeagle: add java dependency so jni hooks get built * libbeagle: set BEAST_LIB instead of LD_LIBRARY_PATH * libbeagle: use BEAST_LIB
This commit is contained in:
parent
8a35687d31
commit
8b890db50f
1 changed files with 5 additions and 0 deletions
|
@ -41,7 +41,12 @@ class Libbeagle(AutotoolsPackage):
|
||||||
|
|
||||||
depends_on('subversion', type='build')
|
depends_on('subversion', type='build')
|
||||||
depends_on('pkgconfig', type='build')
|
depends_on('pkgconfig', type='build')
|
||||||
|
depends_on('java', type='build')
|
||||||
|
|
||||||
def url_for_version(self, version):
|
def url_for_version(self, version):
|
||||||
url = "https://github.com/beagle-dev/beagle-lib/archive/beagle_release_{0}.tar.gz"
|
url = "https://github.com/beagle-dev/beagle-lib/archive/beagle_release_{0}.tar.gz"
|
||||||
return url.format(version.underscored)
|
return url.format(version.underscored)
|
||||||
|
|
||||||
|
def setup_environment(self, spack_env, run_env):
|
||||||
|
prefix = self.prefix
|
||||||
|
run_env.prepend_path('BEAST_LIB', prefix.lib)
|
||||||
|
|
Loading…
Reference in a new issue