[PATCH] [libcxxabi] Refactor building and testing libc++abi without threads

Eric Fiselier eric at efcs.ca
Mon Nov 24 14:07:45 PST 2014


Hi danalbert, jroelofs, mclow.lists,

This patch adds CMake support for building and testing libc++abi without threads. 


1. Add `LIBCXXABI_ENABLE_THREADS` option to CMake.
2. Propagate `LIBCXXABI_ENABLE_THREADS` to lit via lit.site.cfg.in
3. Configure tests for `LIBCXXABI_ENABLE_THREADS=OFF

Currently the test suite does not work when libc++abi is built without threads because that information does not propagate to the test suite.

http://reviews.llvm.org/D6393

Files:
  CMakeLists.txt
  src/CMakeLists.txt
  test/CMakeLists.txt
  test/lit.cfg
  test/lit.site.cfg.in
  test/test_exception_storage.cpp
  test/test_guard.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6393.16579.patch
Type: text/x-patch
Size: 5651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141124/1f8215d2/attachment.bin>


More information about the cfe-commits mailing list