mpich: add new releases (#28573)
* mpich: add 3.4.3, 4.0, 4.0.1 * mpich: add url_for_version function For versions 4.0 and up, get tarballs from GitHub. This will help with CI builds, since the MPICH website denies the urllib user-agent from downloading release tarballs. * mpich: disable cuda support MPICH is failing to build in CI due to a configuration script bug in detecting CUDA support. Disable CUDA support by default until we add a proper variant.
This commit is contained in:
parent
b2717a8abf
commit
16c5091026
@ -24,7 +24,17 @@ class Mpich(AutotoolsPackage):
|
||||
tags = ['e4s']
|
||||
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('4.0.1', sha256='66a1fe8052734af2eb52f47808c4dfef4010ceac461cb93c42b99acfb1a43687')
|
||||
version('4.0', sha256='df7419c96e2a943959f7ff4dc87e606844e736e30135716971aba58524fbff64')
|
||||
version('3.4.3', sha256='8154d89f3051903181018166678018155f4c2b6f04a9bb6fe9515656452c4fd7')
|
||||
version('3.4.2', sha256='5c19bea8b84e8d74cca5f047e82b147ff3fba096144270e3911ad623d6c587bf')
|
||||
version('3.4.1', sha256='8836939804ef6d492bcee7d54abafd6477d2beca247157d92688654d13779727')
|
||||
version('3.4', sha256='ce5e238f0c3c13ab94a64936060cff9964225e3af99df1ea11b130f20036c24b')
|
||||
@ -426,6 +436,7 @@ def die_without_fortran(self):
|
||||
def configure_args(self):
|
||||
spec = self.spec
|
||||
config_args = [
|
||||
'--without-cuda',
|
||||
'--disable-silent-rules',
|
||||
'--enable-shared',
|
||||
'--with-hwloc-prefix={0}'.format(
|
||||
|
Loading…
Reference in New Issue
Block a user