[all-commits] [llvm/llvm-project] 6bf450: [Support] Remove terminfo dependency (#92865)

Aaron Siddhartha Mondal via All-commits all-commits at lists.llvm.org
Fri May 24 11:20:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bf450c7a60fa62c642e39836566da94bb9bbc91
      https://github.com/llvm/llvm-project/commit/6bf450c7a60fa62c642e39836566da94bb9bbc91
  Author: Aaron Siddhartha Mondal <aaron at tracemachina.com>
  Date:   2024-05-24 (Fri, 24 May 2024)

  Changed paths:
    M clang/cmake/caches/Fuchsia-stage2.cmake
    M clang/cmake/caches/Fuchsia.cmake
    M clang/cmake/caches/VectorEngine.cmake
    M clang/utils/analyzer/entrypoint.py
    M compiler-rt/cmake/config-ix.cmake
    M compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
    M compiler-rt/lib/xray/tests/CMakeLists.txt
    M lldb/docs/resources/build.rst
    M lldb/source/Core/CMakeLists.txt
    M llvm/CMakeLists.txt
    M llvm/cmake/config-ix.cmake
    R llvm/cmake/modules/FindTerminfo.cmake
    M llvm/cmake/modules/LLVMConfig.cmake.in
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/Config/config.h.cmake
    M llvm/lib/Support/CMakeLists.txt
    M llvm/lib/Support/Unix/Process.inc
    M llvm/utils/gn/README.rst
    R llvm/utils/gn/build/libs/terminfo/BUILD.gn
    R llvm/utils/gn/build/libs/terminfo/enable.gni
    M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
    M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
    M llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
    M utils/bazel/.bazelrc
    M utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
    M utils/bazel/llvm_configs/config.h.cmake

  Log Message:
  -----------
  [Support] Remove terminfo dependency (#92865)

The terminfo dependency introduces a significant nonhermeticity into the
build. It doesn't respect `--no-undefined-version` meaning that it's not
a dependency that can be built with Clang 17+. This forces maintainers
of source-based distributions to implement patches or ignore linker
errors.

Remove it to reduce the closure size and improve portability of
LLVM-based tools. Users can still use command line arguments to toggle
color support expliticly.

Fixes #75490
Closes #53294 #23355



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