hwloc: add dependency on ncurses (#22300)

Co-authored-by: Michal Sudwoj <msudwoj@student.ethz.ch>
This commit is contained in:
Harmen Stoppels 2021-03-16 08:34:41 +01:00 committed by GitHub
parent d7f1ff68fb
commit 8ffeb96c77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,6 +91,10 @@ class Hwloc(AutotoolsPackage):
depends_on('cairo', when='+cairo')
depends_on('numactl', when='@:1.11.11 platform=linux')
# see https://github.com/open-mpi/hwloc/pull/417
depends_on('ncurses ~termlib', when='@:2.2')
depends_on('ncurses')
# When mpi=openmpi, this introduces an unresolvable dependency.
# See https://github.com/spack/spack/issues/15836 for details
depends_on('mpi', when='+netloc')