Changeset View
Changeset View
Standalone View
Standalone View
clang/test/lit.site.cfg.py.in
Show All 28 Lines | |||||
config.clang_examples = @CLANG_BUILD_EXAMPLES@ | config.clang_examples = @CLANG_BUILD_EXAMPLES@ | ||||
config.enable_shared = @ENABLE_SHARED@ | config.enable_shared = @ENABLE_SHARED@ | ||||
config.enable_backtrace = @ENABLE_BACKTRACES@ | config.enable_backtrace = @ENABLE_BACKTRACES@ | ||||
config.enable_experimental_new_pass_manager = @LLVM_ENABLE_NEW_PASS_MANAGER@ | config.enable_experimental_new_pass_manager = @LLVM_ENABLE_NEW_PASS_MANAGER@ | ||||
config.enable_threads = @LLVM_ENABLE_THREADS@ | config.enable_threads = @LLVM_ENABLE_THREADS@ | ||||
config.host_arch = "@HOST_ARCH@" | config.host_arch = "@HOST_ARCH@" | ||||
config.python_executable = "@Python3_EXECUTABLE@" | config.python_executable = "@Python3_EXECUTABLE@" | ||||
config.use_z3_solver = lit_config.params.get('USE_Z3_SOLVER', "@USE_Z3_SOLVER@") | config.use_z3_solver = lit_config.params.get('USE_Z3_SOLVER', "@USE_Z3_SOLVER@") | ||||
config.has_plugins = @LLVM_ENABLE_PLUGINS@ | config.has_plugins = @CLANG_PLUGIN_SUPPORT@ | ||||
config.clang_vendor_uti = "@CLANG_VENDOR_UTI@" | config.clang_vendor_uti = "@CLANG_VENDOR_UTI@" | ||||
config.llvm_external_lit = path(r"@LLVM_EXTERNAL_LIT@") | config.llvm_external_lit = path(r"@LLVM_EXTERNAL_LIT@") | ||||
# Support substitution of the tools and libs dirs with user parameters. This is | # Support substitution of the tools and libs dirs with user parameters. This is | ||||
# used when we can't determine the tool dir at configuration time. | # used when we can't determine the tool dir at configuration time. | ||||
try: | try: | ||||
config.clang_tools_dir = config.clang_tools_dir % lit_config.params | config.clang_tools_dir = config.clang_tools_dir % lit_config.params | ||||
config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params | config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params | ||||
Show All 13 Lines |