More specific dependency versions, wrap make check (#1962)
This commit is contained in:

committed by
Todd Gamblin

parent
7fd639d6fc
commit
5988b3a222
@@ -60,7 +60,7 @@ class Hdf5(Package):
|
||||
|
||||
depends_on("mpi", when='+mpi')
|
||||
depends_on("szip", when='+szip')
|
||||
depends_on("zlib")
|
||||
depends_on("zlib@1.1.2:")
|
||||
|
||||
def validate(self, spec):
|
||||
"""
|
||||
@@ -144,6 +144,10 @@ def install(self, spec, prefix):
|
||||
"--with-zlib=%s" % spec['zlib'].prefix,
|
||||
*extra_args)
|
||||
make()
|
||||
|
||||
if self.run_tests:
|
||||
make("check")
|
||||
|
||||
make("install")
|
||||
self.check_install(spec)
|
||||
|
||||
|
Reference in New Issue
Block a user