[all-commits] [llvm/llvm-project] 8fff0c: [lldb] Add terminfo dependency for ncurses support...

Jordan R AW via All-commits all-commits at lists.llvm.org
Fri Feb 14 21:38:00 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fff0c181f26a5e8b2344c061ebf2559118b1160
      https://github.com/llvm/llvm-project/commit/8fff0c181f26a5e8b2344c061ebf2559118b1160
  Author: Jordan R AW <ajordanr at google.com>
  Date:   2025-02-14 (Fri, 14 Feb 2025)

  Changed paths:
    M lldb/cmake/modules/FindCursesAndPanel.cmake

  Log Message:
  -----------
  [lldb] Add terminfo dependency for ncurses support (#126810)

For some operating systems (e.g. chromiumos), terminfo is a separate
package and library from ncurses. Both are still requirements for curses
support in lldb, individually.
    
This is a rework of this original spack commit:

https://github.com/spack/spack/commit/9ea261265010eacd250691a8361f661d0576f25c

Instead though, this PR uses CMake to detect whether the symbol is
present and defined in the curses library, and only falls back to a separate
tinfo if not found.
    
Without this fix, LLDB cannot be built on these systems.
    
Fixes #101368



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list