diff options
author | Ken Raffenetti <raffenet@users.noreply.github.com> | 2022-04-05 10:02:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 17:02:58 +0200 |
commit | 16c50910264b7a3569a84af11b599a972d9754a8 (patch) | |
tree | 2dd741907b2f142eff27a799504f9b13623c4cb8 /var | |
parent | b2717a8abf02e580898f746bfe763072fc0139c1 (diff) | |
download | spack-16c50910264b7a3569a84af11b599a972d9754a8.tar.gz spack-16c50910264b7a3569a84af11b599a972d9754a8.tar.bz2 spack-16c50910264b7a3569a84af11b599a972d9754a8.tar.xz spack-16c50910264b7a3569a84af11b599a972d9754a8.zip |
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.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/mpich/package.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mpich/package.py b/var/spack/repos/builtin/packages/mpich/package.py index 762eb11e80..26b024d99f 100644 --- a/var/spack/repos/builtin/packages/mpich/package.py +++ b/var/spack/repos/builtin/packages/mpich/package.py @@ -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 @@ with '-Wl,-commons,use_dylibs' and without def configure_args(self): spec = self.spec config_args = [ + '--without-cuda', '--disable-silent-rules', '--enable-shared', '--with-hwloc-prefix={0}'.format( |