[all-commits] [llvm/llvm-project] 395a61: [compiler-rt][CMake] Properly set COMPILER_RT_HAS_LLD

aeubanks via All-commits all-commits at lists.llvm.org
Wed May 31 09:11:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 395a614d2cb69a431bd11e266021d91503c1d709
      https://github.com/llvm/llvm-project/commit/395a614d2cb69a431bd11e266021d91503c1d709
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M compiler-rt/CMakeLists.txt
    M llvm/runtimes/CMakeLists.txt

  Log Message:
  -----------
  [compiler-rt][CMake] Properly set COMPILER_RT_HAS_LLD

LLVM_TOOL_LLD_BUILD is a relic of the pre-monorepo times. This causes us to never set COMPILER_RT_HAS_LLD.

Instead, set it from the runtimes build if lld is being built and lld is used as the compiler-rt linker.

Reviewed By: MaskRay

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




More information about the All-commits mailing list