[Lldb-commits] [clang] [compiler-rt] [lldb] [llvm] [Support] Remove terminfo dependency (PR #92865)

via lldb-commits lldb-commits at lists.llvm.org
Tue May 28 16:10:53 PDT 2024


jimingham wrote:

This patch has been causing the Darwin bots on GreenDragon to fail consistently since it was submitted.

The problem is that the lldb/unitest/EditLine needs setupterm which comes from libcurses.dylib.  However that was finding its way into this build line for this test, it's no longer doing so on Darwin, so the test fails to compile.  I can fix this by adding `curses` explicitly to the LINK_LIBS for this directory, but that's clearly the wrong way to do it.  I thought LLDB_CURSES_LIBS would be the right thing, but at present that's empty.

The file that uses this setupterm is in Host code (not part of this test) but the flags for building LLDB.framework are correct.  This seems to be specific to this unit test.

https://github.com/llvm/llvm-project/pull/92865


More information about the lldb-commits mailing list