[PATCH] D47100: [CMake] Support libc++ as Clang default stdlib

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 18 20:22:22 PDT 2018


phosek created this revision.
phosek added reviewers: vitalybuka, beanz, morehouse.
Herald added subscribers: Sanitizers, llvm-commits, mgorny.
Herald added a reviewer: EricWF.

Use libc++ when selected as default Clang stdlib and avoid checking
C++ compiler when using the in-tree version of libc++.

This is a partial alternative to https://reviews.llvm.org/D47094 that does not rely on compiler
runtime checks.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D47100

Files:
  compiler-rt/CMakeLists.txt
  compiler-rt/cmake/Modules/CompilerRTUtils.cmake
  compiler-rt/cmake/config-ix.cmake
  llvm/runtimes/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47100.147643.patch
Type: text/x-patch
Size: 6303 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180519/a144f6e7/attachment.bin>


More information about the llvm-commits mailing list