2 config.cxx_under_test = "@LIBCXXABI_COMPILER@"
3 config.project_obj_root = "@CMAKE_BINARY_DIR@"
4 config.libcxxabi_src_root = "@LIBCXXABI_SOURCE_DIR@"
5 config.libcxxabi_obj_root = "@LIBCXXABI_BINARY_DIR@"
6 config.abi_library_path = "@LIBCXXABI_LIBRARY_DIR@"
7 config.libcxx_src_root = "@LIBCXXABI_LIBCXX_PATH@"
8 config.cxx_headers = "@LIBCXXABI_LIBCXX_INCLUDES@"
9 config.libunwind_headers = "@LIBCXXABI_LIBUNWIND_INCLUDES_INTERNAL@"
10 config.cxx_library_root = "@LIBCXXABI_LIBCXX_LIBRARY_PATH@"
11 config.llvm_unwinder = @LIBCXXABI_USE_LLVM_UNWINDER@
12 config.builtins_library = "@LIBCXXABI_BUILTINS_LIBRARY@"
13 config.enable_threads = @LIBCXXABI_ENABLE_THREADS@
14 config.use_sanitizer = "@LLVM_USE_SANITIZER@"
15 config.sanitizer_library = "@LIBCXXABI_SANITIZER_LIBRARY@"
16 config.enable_32bit = @LIBCXXABI_BUILD_32_BITS@
17 config.target_info = "@LIBCXXABI_TARGET_INFO@"
18 config.executor = "@LIBCXXABI_EXECUTOR@"
19 config.libcxxabi_shared = @LIBCXXABI_LINK_TESTS_WITH_SHARED_LIBCXXABI@
20 config.enable_shared = @LIBCXXABI_LINK_TESTS_WITH_SHARED_LIBCXX@
21 config.enable_exceptions = @LIBCXXABI_ENABLE_EXCEPTIONS@
22 config.host_triple = "@LLVM_HOST_TRIPLE@"
23 config.target_triple = "@TARGET_TRIPLE@"
24 config.use_target = bool("@LIBCXXABI_TARGET_TRIPLE@")
25 config.sysroot = "@LIBCXXABI_SYSROOT@"
26 config.gcc_toolchain = "@LIBCXXABI_GCC_TOOLCHAIN@"
27 config.cxx_ext_threads = @LIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY@
29 config.pstl_src_root = "@ParallelSTL_SOURCE_DIR@" if @LIBCXX_ENABLE_PARALLEL_ALGORITHMS@ else None
30 config.pstl_obj_root = "@ParallelSTL_BINARY_DIR@" if @LIBCXX_ENABLE_PARALLEL_ALGORITHMS@ else None
32 # Let the main config do the real work.
33 lit_config.load_config(config, "@LIBCXXABI_SOURCE_DIR@/test/lit.cfg")