brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.4 KiB · 47beac0 Raw
48 lines · plain
1@LIT_SITE_CFG_IN_HEADER@2 3config.llvm_src_root = "@LLVM_SOURCE_DIR@"4config.llvm_obj_root = "@LLVM_BINARY_DIR@"5config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@")6config.llvm_libs_dir = lit_config.substitute("@LLVM_LIBS_DIR@")7config.llvm_shlib_dir = lit_config.substitute("@SHLIBDIR@")8config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"9config.lldb_src_root = "@LLDB_SOURCE_DIR@"10config.lldb_obj_root = "@LLDB_BINARY_DIR@"11config.lldb_libs_dir = lit_config.substitute("@LLDB_LIBS_DIR@")12config.lldb_tools_dir = lit_config.substitute("@LLDB_TOOLS_DIR@")13config.lldb_platform_url = lit_config.substitute("@LLDB_TEST_PLATFORM_URL@")14config.lldb_platform_working_dir = lit_config.substitute("@LLDB_TEST_PLATFORM_WORKING_DIR@")15# Since it comes from the command line, it may have backslashes which16# should not need to be escaped.17config.lldb_lit_tools_dir = lit_config.substitute(r"@LLDB_LIT_TOOLS_DIR@")18config.cmake_sysroot = lit_config.substitute("@LLDB_TEST_SYSROOT@" or "@DEFAULT_SYSROOT@")19config.has_libcxx = @LLDB_HAS_LIBCXX@20config.enable_remote = not @LLDB_TEST_SHELL_DISABLE_REMOTE@21config.libcxx_libs_dir = "@LIBCXX_LIBRARY_DIR@"22config.target_triple = "@LLVM_TARGET_TRIPLE@"23config.python_executable = "@Python3_EXECUTABLE@"24config.python_root_dir = "@Python3_ROOT_DIR@"25config.have_zlib = @LLVM_ENABLE_ZLIB@26config.objc_gnustep_dir = "@LLDB_TEST_OBJC_GNUSTEP_DIR@"27config.lldb_enable_lzma = @LLDB_ENABLE_LZMA@28config.host_triple = "@LLVM_HOST_TRIPLE@"29config.lldb_bitness = 64 if @LLDB_IS_64_BITS@ else 3230config.lldb_enable_python = @LLDB_ENABLE_PYTHON@31config.lldb_enable_lua = @LLDB_ENABLE_LUA@32config.lldb_build_directory = "@LLDB_TEST_BUILD_DIRECTORY@"33config.have_lldb_server = @LLDB_TOOL_LLDB_SERVER_BUILD@34config.lldb_system_debugserver = @LLDB_USE_SYSTEM_DEBUGSERVER@35config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"36config.lldb_has_lldbrpc = @LLDB_BUILD_LLDBRPC@37config.have_dia_sdk = @LLVM_ENABLE_DIA_SDK@38# The shell tests use their own module caches.39config.lldb_module_cache = os.path.join("@LLDB_TEST_MODULE_CACHE_LLDB@", "lldb-shell")40config.clang_module_cache = os.path.join("@LLDB_TEST_MODULE_CACHE_CLANG@", "lldb-shell")41config.clang_resource_dir = os.path.join("@CLANG_RESOURCE_DIR@")42 43import lit.llvm44lit.llvm.initialize(lit_config, config)45 46# Let the main config do the real work.47lit_config.load_config(config, os.path.join(config.lldb_src_root, "test", "Shell", "lit.cfg.py"))48