[PATCH] D21968: [libcxx] Externally threaded libc++ variant - Take 2

Asiri Rathnayake via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 23 09:55:36 PDT 2016


rmaprath updated this revision to Diff 69010.
rmaprath added a comment.

Addressed above comments from @mclow.lists.

Getting this to work on shared library builds was a bit tricky, had to use `-undefined dynamic_lookup` linker option on OSX and strip off the default `-Wl,-z,defs` linker option on linux.

Now this should build+test on OSX with the usual cmake options.


https://reviews.llvm.org/D21968

Files:
  CMakeLists.txt
  include/__config
  include/__config_site.in
  include/__threading_support
  lib/CMakeLists.txt
  test/CMakeLists.txt
  test/libcxx/test/config.py
  test/libcxx/thread/thread.condition/thread.condition.condvar/native_handle.pass.cpp
  test/libcxx/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/native_handle.pass.cpp
  test/libcxx/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/native_handle.pass.cpp
  test/libcxx/thread/thread.threads/thread.thread.class/thread.thread.member/native_handle.pass.cpp
  test/libcxx/thread/thread.threads/thread.thread.class/types.pass.cpp
  test/lit.site.cfg.in
  test/support/external_threads.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21968.69010.patch
Type: text/x-patch
Size: 17616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160823/407ce874/attachment-0001.bin>


More information about the cfe-commits mailing list