[libcxx-commits] [PATCH] D78041: [libc++] Populated library dependencies recursively for linker script

Ismail Pazarbasi via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 13 11:18:27 PDT 2020


ismailp created this revision.
ismailp added reviewers: MikeDvorskiy, rodgert.
Herald added a subscriber: mgorny.
Herald added a reviewer: ldionne.
Herald added a project: libc++.
Herald added a reviewer: libc++.

When `LIBCXX_ENABLE_PARALLEL_ALGORITHMS` is set to ON, libc++ will try
to link with `pstl::ParallelSTL`. However, `pstl::ParallelSTL` is an
(alias to an) interface library, and `OUTPUT_NAME` property isn't white
listed on such targets. `pstl::ParallelSTL` uses `TBB::tbb` as an
interface library. Therefore, libc++ must link with whatever `TBB::tbb`
points at.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78041

Files:
  libcxx/cmake/Modules/DefineLinkerScript.cmake
  pstl/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78041.257037.patch
Type: text/x-patch
Size: 4521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200413/69f88350/attachment.bin>


More information about the libcxx-commits mailing list