mpich: remove unnecessary tuples and upperbounds (#40899)

* mpich: remove unnecessary tuples

* remove redundant :3.3.99 upperbound
This commit is contained in:
Harmen Stoppels 2023-11-06 15:58:50 +01:00 committed by GitHub
parent 17656b2ea0
commit b8a18f0a78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,7 +164,7 @@ class Mpich(AutotoolsPackage, CudaPackage, ROCmPackage):
patch(
"https://github.com/pmodels/mpich/commit/8a851b317ee57366cd15f4f28842063d8eff4483.patch?full_index=1",
sha256="d2dafc020941d2d8cab82bc1047e4a6a6d97736b62b06e2831d536de1ac01fd0",
when="@3.3:3.3.99 +hwloc",
when="@3.3 +hwloc",
)
# fix MPI_Barrier segmentation fault
@ -249,14 +249,14 @@ class Mpich(AutotoolsPackage, CudaPackage, ROCmPackage):
# building from git requires regenerating autotools files
depends_on("automake@1.15:", when="@develop", type="build")
depends_on("libtool@2.4.4:", when="@develop", type="build")
depends_on("m4", when="@develop", type="build"),
depends_on("m4", when="@develop", type="build")
depends_on("autoconf@2.67:", when="@develop", type="build")
# building with "+hwloc' also requires regenerating autotools files
depends_on("automake@1.15:", when="@3.3:3.3.99 +hwloc", type="build")
depends_on("libtool@2.4.4:", when="@3.3:3.3.99 +hwloc", type="build")
depends_on("m4", when="@3.3:3.3.99 +hwloc", type="build"),
depends_on("autoconf@2.67:", when="@3.3:3.3.99 +hwloc", type="build")
depends_on("automake@1.15:", when="@3.3 +hwloc", type="build")
depends_on("libtool@2.4.4:", when="@3.3 +hwloc", type="build")
depends_on("m4", when="@3.3 +hwloc", type="build")
depends_on("autoconf@2.67:", when="@3.3 +hwloc", type="build")
# MPICH's Yaksa submodule requires python to configure
depends_on("python@3.0:", when="@develop", type="build")
@ -462,7 +462,7 @@ def setup_dependent_package(self, module, dependent_spec):
def autoreconf(self, spec, prefix):
"""Not needed usually, configure should be already there"""
# If configure exists nothing needs to be done
if os.path.exists(self.configure_abs_path) and not spec.satisfies("@3.3:3.3.99 +hwloc"):
if os.path.exists(self.configure_abs_path) and not spec.satisfies("@3.3 +hwloc"):
return
# Else bootstrap with autotools
bash = which("bash")