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