mpich: no longer a need for custom urls (#29941)

This commit is contained in:
Harmen Stoppels 2022-04-07 23:13:57 +02:00 committed by GitHub
parent 544486538c
commit e73cf5df44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,13 +24,6 @@ class Mpich(AutotoolsPackage):
tags = ['e4s'] tags = ['e4s']
executables = ['^mpichversion$'] executables = ['^mpichversion$']
def url_for_version(self, version):
if (version >= Version('4.0')):
url = "https://github.com/pmodels/mpich/releases/download/v{0}/mpich-{0}.tar.gz"
else:
url = "https://www.mpich.org/static/downloads/{0}/mpich-{0}.tar.gz"
return url.format(version)
version('develop', submodules=True) version('develop', submodules=True)
version('4.0.1', sha256='66a1fe8052734af2eb52f47808c4dfef4010ceac461cb93c42b99acfb1a43687') version('4.0.1', sha256='66a1fe8052734af2eb52f47808c4dfef4010ceac461cb93c42b99acfb1a43687')
version('4.0', sha256='df7419c96e2a943959f7ff4dc87e606844e736e30135716971aba58524fbff64') version('4.0', sha256='df7419c96e2a943959f7ff4dc87e606844e736e30135716971aba58524fbff64')