[all-commits] [llvm/llvm-project] 0c1147: [compiler-rt] Stop using system ldd to detect libc...

Alex Brachet via All-commits all-commits at lists.llvm.org
Mon Jun 26 06:41:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c11478b791a8f5845c5c819317d5a77b139f8c7
      https://github.com/llvm/llvm-project/commit/0c11478b791a8f5845c5c819317d5a77b139f8c7
  Author: Alex Brachet <abrachet at google.com>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M compiler-rt/test/lit.common.cfg.py

  Log Message:
  -----------
  [compiler-rt] Stop using system ldd to detect libc version

The system libc may be different from the libc passed in
CMAKE_SYSROOT. Instead of using the ldd in PATH to detect
glibc version, use the features.h header file.

Differential Revision: https://reviews.llvm.org/D151678




More information about the All-commits mailing list