llvm-project/libcxx
Asiri Rathnayake 6cb0d41cc8 [libcxx] Fix testing of the externally-threaded library build
after r290850

Before r290850, building libcxx with -DLIBCXX_HAS_EXTERNAL_THREAD_API=ON had two
uses:
  - Allow platform vendors to plug-in an __external_threading header which
    should take care of the entire threading infrastructure of libcxx

  - Allow testing of an externally-threaded library build; where the thread API
    is declared using pthread data structures, and the implementation of this
    API is provided as a separate library (test/support/external_threads.cpp)
   and linked-in when running the test suite.

r290850 breaks the second use case (pthread data structures are no longer
available). This patch re-stores the ability to build+test an
externally-threaded library variant on a pthread based system.

llvm-svn: 290878
2017-01-03 11:32:31 +00:00
..
benchmarks improve performance of string::find 2016-12-30 18:01:36 +00:00
cmake Recommit r290839 - Fix configuring and building libc++ w/o an ABI library. 2017-01-03 01:18:48 +00:00
docs Update year to 2017 2017-01-03 11:20:43 +00:00
include [libcxx] Fix testing of the externally-threaded library build 2017-01-03 11:32:31 +00:00
lib Recommit r290839 - Fix configuring and building libc++ w/o an ABI library. 2017-01-03 01:18:48 +00:00
src system_error: provide a thread safe stringification for Windows 2017-01-03 02:00:33 +00:00
test [libcxx] Fix testing of the externally-threaded library build 2017-01-03 11:32:31 +00:00
utils Fix creating __generated_config on Windows 2017-01-03 03:55:29 +00:00
www Update year to 2017 2017-01-03 11:20:43 +00:00
.arcconfig Upgrade arcconfig to use https 2016-07-18 02:02:49 +00:00
.clang-format clang-format: tweak configuration 2017-01-03 04:23:52 +00:00
.gitignore Implement N4606 optional 2016-10-12 07:46:20 +00:00
CMakeLists.txt Recommit r290839 - Fix configuring and building libc++ w/o an ABI library. 2017-01-03 01:18:48 +00:00
CREDITS.TXT Add entry to CREDITS.TXT for propagate_const 2016-06-19 19:36:28 +00:00
LICENSE.TXT Update year to 2017 2017-01-03 11:20:43 +00:00
NOTES.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00
TODO.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00