diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-07-18 06:01:50 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-07-18 06:01:50 +0000 |
commit | a23470efe73675cedb71693d9253e50a39dcb914 (patch) | |
tree | b6a71bf5fc8b643db17f985ac62e20214f83808e /libcxx/test/std/experimental | |
parent | 733f795947646ab20196863af40a67226a22242f (diff) | |
download | bcm5719-llvm-a23470efe73675cedb71693d9253e50a39dcb914.tar.gz bcm5719-llvm-a23470efe73675cedb71693d9253e50a39dcb914.zip |
Rework libatomic handling in CMake and LIT.
This patch updates the way libc++ handles checking for libatomic, in part
to prepare for https://reviews.llvm.org/D22073.
Changes:
* 'LIBCXX_HAS_ATOMIC_LIB' is now set whenever libatomic is available even libc++
doesn't need to manually link it.
* 'LIBCXX_HAVE_CXX_ATOMICS_WITH_LIB' is now used to detect when libatomic
needs to be manually linked.
* 'LIBCXX_HAS_ATOMIC_LIB' now adds 'libatomic' as a available feature in the
test suite.
llvm-svn: 275759
Diffstat (limited to 'libcxx/test/std/experimental')
0 files changed, 0 insertions, 0 deletions