Skip to content
Snippets Groups Projects
Commit cf925ddc authored by Adam J. Stewart's avatar Adam J. Stewart Committed by Todd Gamblin
Browse files

Add missing build dependencies to hdf package (#1812)

parent 3d3614e5
No related branches found
No related tags found
No related merge requests found
...@@ -38,13 +38,12 @@ class Hdf(Package): ...@@ -38,13 +38,12 @@ class Hdf(Package):
variant('szip', default=False, description="Enable szip support") variant('szip', default=False, description="Enable szip support")
depends_on("jpeg") depends_on('jpeg')
depends_on("szip", when='+szip') depends_on('szip', when='+szip')
depends_on("zlib") depends_on('zlib')
def url_for_version(self, version): depends_on('bison', type='build')
return "https://www.hdfgroup.org/ftp/HDF/releases/HDF" + str( depends_on('flex', type='build')
version) + "/src/hdf-" + str(version) + ".tar.gz"
def install(self, spec, prefix): def install(self, spec, prefix):
config_args = [ config_args = [
...@@ -66,4 +65,5 @@ def install(self, spec, prefix): ...@@ -66,4 +65,5 @@ def install(self, spec, prefix):
configure(*config_args) configure(*config_args)
make() make()
make("install") make('check')
make('install')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment