[all-commits] [llvm/llvm-project] df90d2: [CMake] Option to select C++ library for runtimes ...

Petr Hosek via All-commits all-commits at lists.llvm.org
Fri Jul 8 15:10:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df90d22704d8743746fa00bc6d67e2789ca9ee9e
      https://github.com/llvm/llvm-project/commit/df90d22704d8743746fa00bc6d67e2789ca9ee9e
  Author: Petr Hosek <phosek at google.com>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M clang/cmake/caches/Fuchsia-stage2.cmake
    M compiler-rt/CMakeLists.txt
    M compiler-rt/lib/fuzzer/CMakeLists.txt
    M compiler-rt/lib/orc/CMakeLists.txt
    M compiler-rt/lib/xray/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Option to select C++ library for runtimes that use it

We currently have an option to select C++ ABI and C++ library for tests
but there are runtimes that use C++ library, specifically ORC and XRay,
which aren't covered by existing options. This change introduces a new
option to control the use of C++ libray for these runtimes.

Ideally, this option should become the default way to select C++ library
for all of compiler-rt replacing the existing options (the C++ ABI
option could remain as a hidden internal option).

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




More information about the All-commits mailing list