[libcxx-commits] [PATCH] D70888: [libcxx{, abi}] Emit deplibs only when detected by CMake

Michał Górny via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Dec 2 02:59:33 PST 2019


mgorny created this revision.
mgorny added a reviewer: phosek.
Herald added subscribers: jfb, ldionne, christof, krytarowski, srhines.
Herald added a reviewer: EricWF.

This is a followup to 35bc5276ca3 <https://reviews.llvm.org/rG35bc5276ca31e3f0e8e87322153f410fa6224e59>.  It fixes the dependent libs usage
in libcxx and libcxxabi to link pthread and rt libraries only if CMake
detects them, rather than based on explicit platform blacklist.


https://reviews.llvm.org/D70888

Files:
  libcxx/CMakeLists.txt
  libcxx/src/algorithm.cpp
  libcxx/src/chrono.cpp
  libcxx/src/condition_variable.cpp
  libcxx/src/debug.cpp
  libcxx/src/experimental/memory_resource.cpp
  libcxx/src/filesystem/operations.cpp
  libcxx/src/memory.cpp
  libcxx/src/mutex.cpp
  libcxx/src/shared_mutex.cpp
  libcxx/src/thread.cpp
  libcxxabi/CMakeLists.txt
  libcxxabi/src/cxa_exception_storage.cpp
  libcxxabi/src/cxa_guard_impl.h
  libcxxabi/src/cxa_thread_atexit.cpp
  libcxxabi/src/fallback_malloc.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70888.231656.patch
Type: text/x-patch
Size: 7613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20191202/e9782d93/attachment-0001.bin>


More information about the libcxx-commits mailing list