at445 commented on code in PR #18700:
URL: https://github.com/apache/tvm/pull/18700#discussion_r2762058035


##########
CMakeLists.txt:
##########
@@ -670,7 +670,18 @@ if(GTEST_FOUND)
     if(DEFINED LLVM_SO OR HIDE_PRIVATE_SYMBOLS)
       target_link_libraries(cpptest PRIVATE ${LLVM_LIBS})
     endif()
+
+    # Ensure we link terminfo when required by LLVM / libedit at link time.
+    find_package(Curses)
+    if(CURSES_FOUND)
+       message(STATUS "Found Curses/terminfo library: ${CURSES_LIBRARIES}")

Review Comment:
   > i think llvm only requires tinfo but not curses library? we do want to 
avoid dependency bloat in this case
   this is suggested by gemini-code-assist, but I could switch back tinfo if 
you insist ^_^
   <img width="966" height="262" alt="image" 
src="https://github.com/user-attachments/assets/68ff1c01-c8a6-474f-8736-383fdb7fe29e";
 />
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to