summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2019-01-31 04:04:24 +0100
committerPeter Scheibel <scheibel1@llnl.gov>2019-01-30 21:04:24 -0600
commit2aad75d98f1c334993122d0419d1c263df4d03ae (patch)
treee142516ff9c5f851a3811621a7ba47eeda00bdf3 /var
parent36c46a7daf7d9eee425b20bfa190c1cf96847f06 (diff)
downloadspack-2aad75d98f1c334993122d0419d1c263df4d03ae.tar.gz
spack-2aad75d98f1c334993122d0419d1c263df4d03ae.tar.bz2
spack-2aad75d98f1c334993122d0419d1c263df4d03ae.tar.xz
spack-2aad75d98f1c334993122d0419d1c263df4d03ae.zip
HDF5: Add develop Version (#10382)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hdf5/package.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py
index 2b631e1584..4b5a09d9c6 100644
--- a/var/spack/repos/builtin/packages/hdf5/package.py
+++ b/var/spack/repos/builtin/packages/hdf5/package.py
@@ -19,6 +19,9 @@ class Hdf5(AutotoolsPackage):
url = "https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.1/src/hdf5-1.10.1.tar.gz"
list_url = "https://support.hdfgroup.org/ftp/HDF5/releases"
list_depth = 3
+ git = "https://bitbucket.hdfgroup.org/scm/hdffv/hdf5.git"
+
+ version('develop', branch='develop')
version('1.10.4', '8f60dc4dd6ab5fcd23c750d1dc5bca3d0453bdce5c8cdaf0a4a61a9d1122adb2')
version('1.10.3', 'b600d7c914cfa80ae127cd1a1539981213fee9994ac22ebec9e3845e951d9b39')
@@ -54,6 +57,11 @@ class Hdf5(AutotoolsPackage):
variant('pic', default=True,
description='Produce position-independent code (for shared libs)')
+ depends_on('autoconf', type='build', when='@develop')
+ depends_on('automake', type='build', when='@develop')
+ depends_on('libtool', type='build', when='@develop')
+ depends_on('m4', type='build', when='@develop')
+
depends_on('mpi', when='+mpi')
# numactl does not currently build on darwin
if sys.platform != 'darwin':
@@ -106,6 +114,11 @@ class Hdf5(AutotoolsPackage):
url = "https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-{0}/hdf5-{1}/src/hdf5-{1}.tar.gz"
return url.format(version.up_to(2), version)
+ @when('@develop')
+ def autoreconf(self, spec, prefix):
+ autogen = Executable('./autogen.sh')
+ autogen()
+
@property
def libs(self):
"""HDF5 can be queried for the following parameters: