openmpi: Update hwloc version bounds (#18040)

`openmpi @4:` can use `hwloc @2:`.
This commit is contained in:
Erik Schnetter 2020-08-22 14:10:11 -04:00 committed by GitHub
parent 3c6544fcbf
commit 488d8ae747
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')