[all-commits] [llvm/llvm-project] 4af112: [cmake] Duplicate `{llvm, compiler_rt}_check_linker...

John Ericson via All-commits all-commits at lists.llvm.org
Thu Jan 20 13:18:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4af11272f57a4a6fed2932e9e0857b2c1a707c51
      https://github.com/llvm/llvm-project/commit/4af11272f57a4a6fed2932e9e0857b2c1a707c51
  Author: John Ericson <John.Ericson at Obsidian.Systems>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

  Changed paths:
    R cmake/Modules/CheckLinkerFlag.cmake
    M compiler-rt/cmake/config-ix.cmake
    M libcxx/cmake/config-ix.cmake
    M libunwind/cmake/config-ix.cmake
    M llvm/cmake/modules/LLVMCheckLinkerFlag.cmake
    M runtimes/CMakeLists.txt

  Log Message:
  -----------
  [cmake] Duplicate `{llvm,compiler_rt}_check_linker_flag` for runtime libs and llvm

We previously had a few varied definitions of this floating around. I made the one installed with LLVM handle all the cases, and then made the others use it.

This issue was reported to me in https://reviews.llvm.org/D116521#3248117 as
D116521 made clang and llvm use the common cmake utils.

Reviewed By: sebastian-ne, phosek, #libunwind, #libc, #libc_abi, ldionne

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




More information about the All-commits mailing list