libbeagle: add 3.1.2 (#10789)

This commit is contained in:
Justin Stanley 2019-03-05 07:02:52 -06:00 committed by Massimiliano Culpo
parent af4a36c4d9
commit f19a214a19

View file

@ -11,9 +11,11 @@ class Libbeagle(AutotoolsPackage, CudaPackage):
ungenotyped markers, and identity-by-descent segment detection."""
homepage = "https://github.com/beagle-dev/beagle-lib"
url = "https://github.com/beagle-dev/beagle-lib/archive/beagle_release_2_1_2.tar.gz"
url = "https://github.com/beagle-dev/beagle-lib/archive/v3.1.2.tar.gz"
version('2.1.2', '1107614e86f652f8ee45c1c92f2af3d4')
version('3.1.2', sha256='dd872b484a3a9f0bce369465e60ccf4e4c0cd7bd5ce41499415366019f236275')
version('2.1.2', '1107614e86f652f8ee45c1c92f2af3d4',
url='https://github.com/beagle-dev/beagle-lib/archive/beagle_release_2_1_2.tar.gz')
depends_on('autoconf', type='build')
depends_on('automake', type='build')
@ -51,10 +53,6 @@ def configure_args(self):
return args
def url_for_version(self, version):
url = "https://github.com/beagle-dev/beagle-lib/archive/beagle_release_{0}.tar.gz"
return url.format(version.underscored)
def setup_environment(self, spack_env, run_env):
prefix = self.prefix
run_env.prepend_path('BEAST_LIB', prefix.lib)