[all-commits] [llvm/llvm-project] fffa05: Reland [compiler-rt][CMake] Properly set COMPILER_...

aeubanks via All-commits all-commits at lists.llvm.org
Mon Jun 5 14:36:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fffa05a2bcb548d5189e8c2e52d2ed2e7ebb2498
      https://github.com/llvm/llvm-project/commit/fffa05a2bcb548d5189e8c2e52d2ed2e7ebb2498
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-06-05 (Mon, 05 Jun 2023)

  Changed paths:
    M compiler-rt/CMakeLists.txt
    M compiler-rt/test/hwasan/TestCases/sizes.cpp
    M llvm/runtimes/CMakeLists.txt

  Log Message:
  -----------
  Reland [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.

Mark a test that requires libstdc++ as requiring Android, as other platforms may not have a libstdc++ lying around.

Reviewed By: MaskRay

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




More information about the All-commits mailing list