From 8ffeb96c7755b45730b55a6968420a75aaa00853 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Tue, 16 Mar 2021 08:34:41 +0100 Subject: hwloc: add dependency on ncurses (#22300) Co-authored-by: Michal Sudwoj --- var/spack/repos/builtin/packages/hwloc/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/hwloc/package.py b/var/spack/repos/builtin/packages/hwloc/package.py index 4b6e998c42..fcfb3ac64c 100644 --- a/var/spack/repos/builtin/packages/hwloc/package.py +++ b/var/spack/repos/builtin/packages/hwloc/package.py @@ -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') -- cgit v1.2.3-70-g09d2