[PATCH] D128036: [CMake] Option to select C++ library for runtimes that use it

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 17 02:00:42 PDT 2022


phosek created this revision.
phosek added reviewers: ldionne, smeenai, mstorsjo.
Herald added subscribers: Enna1, abrachet, mgorny.
Herald added a project: All.
phosek requested review of this revision.
Herald added projects: clang, Sanitizers.
Herald added subscribers: Sanitizers, cfe-commits.

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).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128036

Files:
  clang/cmake/caches/Fuchsia-stage2.cmake
  compiler-rt/CMakeLists.txt
  compiler-rt/lib/orc/CMakeLists.txt
  compiler-rt/lib/xray/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128036.437819.patch
Type: text/x-patch
Size: 8862 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220617/f65f8d54/attachment.bin>


More information about the cfe-commits mailing list