diff options
author | Sergey Kosukhin <skosukhin@gmail.com> | 2016-12-01 23:31:27 +0100 |
---|---|---|
committer | becker33 <becker33@llnl.gov> | 2016-12-01 14:31:27 -0800 |
commit | c6e2d9c1b02d7771d735134fdc42f1a20860e7ef (patch) | |
tree | 3221699f3b64433af84bbff2fb20d4637c794194 /var/spack/repos | |
parent | e26a0be731e9bde4164f37f8c9592c39a470d6b9 (diff) | |
download | spack-c6e2d9c1b02d7771d735134fdc42f1a20860e7ef.tar.gz spack-c6e2d9c1b02d7771d735134fdc42f1a20860e7ef.tar.bz2 spack-c6e2d9c1b02d7771d735134fdc42f1a20860e7ef.tar.xz spack-c6e2d9c1b02d7771d735134fdc42f1a20860e7ef.zip |
Updated hdf5: new versions added. (#2442)
* Updated hdf5: new versions added.
* Updated hdf5: url_for_version() accounts for per-version urls.
Diffstat (limited to 'var/spack/repos')
-rw-r--r-- | var/spack/repos/builtin/packages/hdf5/package.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py index 75aa239be3..9defe6ed5e 100644 --- a/var/spack/repos/builtin/packages/hdf5/package.py +++ b/var/spack/repos/builtin/packages/hdf5/package.py @@ -40,6 +40,12 @@ class Hdf5(AutotoolsPackage): version('1.10.0-patch1', '9180ff0ef8dc2ef3f61bd37a7404f295') version('1.10.0', 'bdc935337ee8282579cd6bc4270ad199') + version('1.8.18', 'dd2148b740713ca0295442ec683d7b1c', + # The link for the latest version differs from the links for + # the previous releases. Do not forget to remove this once + # the version 1.8.18 is not the latest one for the 1.8.* branch. + url='http://hdfgroup.org/ftp/HDF5/current18/src/hdf5-1.8.18.tar.gz') + version('1.8.17', '7d572f8f3b798a628b8245af0391a0ca') version('1.8.16', 'b8ed9a36ae142317f88b0c7ef4b9c618') version('1.8.15', '03cccb5b33dbe975fdcd8ae9dc021f24') version('1.8.13', 'c03426e9e77d7766944654280b467289') @@ -199,6 +205,11 @@ HDF5 version {version} {version} shutil.rmtree(checkdir) def url_for_version(self, version): + # If we have a specific URL for this version, return it. + version_urls = self.version_urls() + if version in version_urls: + return version_urls[version] + base_url = "http://www.hdfgroup.org/ftp/HDF5/releases" if version == Version("1.2.2"): |