diff options
author | Asiri Rathnayake <asiri.rathnayake@arm.com> | 2017-01-09 11:57:21 +0000 |
---|---|---|
committer | Asiri Rathnayake <asiri.rathnayake@arm.com> | 2017-01-09 11:57:21 +0000 |
commit | 1f4def2006ff6cb24a84a0ee23c19a7fc65a4b89 (patch) | |
tree | fdf3e6218b5162a7e1dc14662a9c4872f920af60 /test | |
parent | 06da4e1fe2a69d191d9de30dba3afda1fbb83fb5 (diff) |
[libcxxabi] Cleanup and adapt for r291275. NFC.
+ Now that libcxxabi shares the same threading API as libcxx, a whole
chunk of code in src/config.h is made redundant (I missed this earlier).
+ r291275 split off the externalized-thread-api libcxx configuration from the
external-thread-library libcxx configuration. libcxxabi should follow the
same approach.
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@291440 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 4 | ||||
-rw-r--r-- | test/lit.site.cfg.in | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 42b93f0..c1819d7 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -17,7 +17,7 @@ pythonize_bool(LIBCXXABI_ENABLE_SHARED) pythonize_bool(LIBCXXABI_ENABLE_THREADS) pythonize_bool(LIBCXXABI_ENABLE_EXCEPTIONS) pythonize_bool(LIBCXXABI_USE_LLVM_UNWINDER) -pythonize_bool(LIBCXXABI_HAS_EXTERNAL_THREAD_API) +pythonize_bool(LIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY) set(LIBCXXABI_TARGET_INFO "libcxx.test.target_info.LocalTI" CACHE STRING "TargetInfo to use when setting up test environment.") set(LIBCXXABI_EXECUTOR "None" CACHE STRING @@ -35,7 +35,7 @@ else() set(LIBCXXABI_TEST_DEPS cxxabi_static) endif() -if (LIBCXXABI_HAS_EXTERNAL_THREAD_API) +if (LIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY) list(APPEND LIBCXXABI_TEST_DEPS cxx_external_threads) endif() diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in index b2936c7..9c0fdf2 100644 --- a/test/lit.site.cfg.in +++ b/test/lit.site.cfg.in @@ -19,7 +19,7 @@ config.enable_exceptions = "@LIBCXXABI_ENABLE_EXCEPTIONS@" config.host_triple = "@LLVM_HOST_TRIPLE@" config.target_triple = "@TARGET_TRIPLE@" config.use_target = len("@LIBCXXABI_TARGET_TRIPLE@") > 0 -config.cxx_ext_threads = "@LIBCXXABI_HAS_EXTERNAL_THREAD_API@" +config.cxx_ext_threads = "@LIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY@" # Let the main config do the real work. lit_config.load_config(config, "@LIBCXXABI_SOURCE_DIR@/test/lit.cfg") |