summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2020-08-22 14:10:11 -0400
committerGitHub <noreply@github.com>2020-08-22 13:10:11 -0500
commit488d8ae747b9e9151c38a959243755ddc768bb84 (patch)
tree92f993ea6c9f2b7460af96bd8a9fe55d072f0f82
parent3c6544fcbf5407bd825ab3597bece49e01cfd68a (diff)
downloadspack-488d8ae747b9e9151c38a959243755ddc768bb84.tar.gz
spack-488d8ae747b9e9151c38a959243755ddc768bb84.tar.bz2
spack-488d8ae747b9e9151c38a959243755ddc768bb84.tar.xz
spack-488d8ae747b9e9151c38a959243755ddc768bb84.zip
openmpi: Update hwloc version bounds (#18040)
`openmpi @4:` can use `hwloc @2:`.
-rw-r--r--var/spack/repos/builtin/packages/openmpi/package.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py
index 1d19b1fbfd..2cd70dbc07 100644
--- a/var/spack/repos/builtin/packages/openmpi/package.py
+++ b/var/spack/repos/builtin/packages/openmpi/package.py
@@ -260,9 +260,7 @@ class Openmpi(AutotoolsPackage):
depends_on('hwloc')
# ompi@:3.0.0 doesn't support newer hwloc releases:
# "configure: error: OMPI does not currently support hwloc v2 API"
- # Future ompi releases may support it, needs to be verified.
- # See #7483 for context.
- depends_on('hwloc@:1.999')
+ depends_on('hwloc@:1.999', when='@:3.999.999')
depends_on('hwloc +cuda', when='+cuda')
depends_on('java', when='+java')