gasnet: 2019.3.0 (#11503)

This commit is contained in:
Christoph Junghans 2019-05-17 12:02:43 -06:00 committed by GitHub
parent 2af7688c55
commit b7f2923607
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,7 @@ class Gasnet(AutotoolsPackage):
homepage = "http://gasnet.lbl.gov" homepage = "http://gasnet.lbl.gov"
url = "http://gasnet.lbl.gov/download/GASNet-1.24.0.tar.gz" url = "http://gasnet.lbl.gov/download/GASNet-1.24.0.tar.gz"
version('2019.3.0', sha256='97fe19bb5ab32d14a96d2dd19d0f03048f68bb20ca83abe0c00cdab40e86eba5')
version('1.32.0', sha256='42e4774b3bbc7c142f77c41b6ce86b594f579073f46c31f47f424c7e31ee1511') version('1.32.0', sha256='42e4774b3bbc7c142f77c41b6ce86b594f579073f46c31f47f424c7e31ee1511')
version('1.30.0', '2ddb1d8397d62acfd389095ca8da72f6') version('1.30.0', '2ddb1d8397d62acfd389095ca8da72f6')
version('1.28.2', '6ca0463dc2430570e40646c4d1e97b36') version('1.28.2', '6ca0463dc2430570e40646c4d1e97b36')
@ -35,6 +36,15 @@ class Gasnet(AutotoolsPackage):
depends_on('mpi', when='+mpi') depends_on('mpi', when='+mpi')
def url_for_version(self, version):
url = "http://gasnet.lbl.gov/"
if version >= Version('2019'):
url += "EX/GASNet-{0}.tar.gz".format(version)
else:
url += "download/GASNet-{0}.tar.gz".format(version)
return url
def configure_args(self): def configure_args(self):
args = [ args = [
# TODO: factor IB suport out into architecture description. # TODO: factor IB suport out into architecture description.