summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2020-08-24 19:05:39 +0200
committerGitHub <noreply@github.com>2020-08-24 19:05:39 +0200
commit17f7d9f44c7d5d41b3ff44ab1a64ba2190cfe9ea (patch)
tree5c13ff551fcdf5d7395fb5408a38865f48c90e17
parent53cfca1f59ab3f2206417f4ad3895d4861ddfe89 (diff)
downloadspack-17f7d9f44c7d5d41b3ff44ab1a64ba2190cfe9ea.tar.gz
spack-17f7d9f44c7d5d41b3ff44ab1a64ba2190cfe9ea.tar.bz2
spack-17f7d9f44c7d5d41b3ff44ab1a64ba2190cfe9ea.tar.xz
spack-17f7d9f44c7d5d41b3ff44ab1a64ba2190cfe9ea.zip
openmpi: fix concretization (#18233)
-rw-r--r--var/spack/repos/builtin/packages/openmpi/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py
index 7c79e8732d..3a11300169 100644
--- a/var/spack/repos/builtin/packages/openmpi/package.py
+++ b/var/spack/repos/builtin/packages/openmpi/package.py
@@ -257,7 +257,7 @@ class Openmpi(AutotoolsPackage):
depends_on('pkgconfig', type='build')
- depends_on('hwloc')
+ depends_on('hwloc', when='@4:')
# ompi@:3.0.0 doesn't support newer hwloc releases:
# "configure: error: OMPI does not currently support hwloc v2 API"
depends_on('hwloc@:1.999', when='@:3.999.999')