• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@AUTO_GEN_COMMENT@
2config.cxx_under_test           = "@LIBCXX_COMPILER@"
3config.project_obj_root         = "@CMAKE_BINARY_DIR@"
4config.libcxx_src_root          = "@LIBCXX_SOURCE_DIR@"
5config.libcxx_obj_root          = "@LIBCXX_BINARY_DIR@"
6config.cxx_library_root         = "@LIBCXX_LIBRARY_DIR@"
7config.enable_exceptions        = "@LIBCXX_ENABLE_EXCEPTIONS@"
8config.enable_experimental      = "@LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY@"
9config.enable_filesystem        = "@LIBCXX_ENABLE_FILESYSTEM@"
10config.enable_rtti              = "@LIBCXX_ENABLE_RTTI@"
11config.enable_shared            = "@LIBCXX_ENABLE_SHARED@"
12config.enable_32bit             = "@LIBCXX_BUILD_32_BITS@"
13config.cxx_abi                  = "@LIBCXX_CXX_ABI_LIBNAME@"
14config.use_sanitizer            = "@LLVM_USE_SANITIZER@"
15config.sanitizer_library        = "@LIBCXX_SANITIZER_LIBRARY@"
16config.abi_library_path         = "@LIBCXX_CXX_ABI_LIBRARY_PATH@"
17config.configuration_variant    = "@LIBCXX_LIT_VARIANT@"
18config.host_triple              = "@LLVM_HOST_TRIPLE@"
19config.target_triple            = "@TARGET_TRIPLE@"
20config.use_target               = len("@LIBCXX_TARGET_TRIPLE@") > 0
21config.sysroot                  = "@LIBCXX_SYSROOT@"
22config.gcc_toolchain            = "@LIBCXX_GCC_TOOLCHAIN@"
23config.generate_coverage        = "@LIBCXX_GENERATE_COVERAGE@"
24config.target_info              = "@LIBCXX_TARGET_INFO@"
25config.test_linker_flags        = "@LIBCXX_TEST_LINKER_FLAGS@"
26config.test_compiler_flags      = "@LIBCXX_TEST_COMPILER_FLAGS@"
27
28config.executor                 = "@LIBCXX_EXECUTOR@"
29config.llvm_unwinder            = "@LIBCXXABI_USE_LLVM_UNWINDER@"
30config.compiler_rt              = "@LIBCXX_USE_COMPILER_RT@"
31config.has_libatomic            = "@LIBCXX_HAS_ATOMIC_LIB@"
32config.use_libatomic            = "@LIBCXX_HAVE_CXX_ATOMICS_WITH_LIB@"
33config.debug_build              = "@LIBCXX_DEBUG_BUILD@"
34config.libcxxabi_shared         = "@LIBCXXABI_ENABLE_SHARED@"
35config.cxx_ext_threads          = "@LIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY@"
36
37# Let the main config do the real work.
38config.loaded_site_config = True
39lit_config.load_config(config, "@LIBCXX_SOURCE_DIR@/test/lit.cfg")
40