Remove unused tools from Cling's lit.cfg

This commit is contained in:
Jonas Hahnfeld 2023-07-19 15:34:55 +02:00 committed by jenkins
parent a8b0ad9867
commit a9ebc3862c

View File

@ -69,18 +69,6 @@ llvm_config.with_system_environment(
config.substitutions.append(('%PATH%', config.environment['PATH']))
# For each occurrence of a clang tool name, replace it with the full path to
# the build directory holding that tool. We explicitly specify the directories
# to search to ensure that we get the tools just built and not some random
# tools that might happen to be in the user's PATH.
tool_dirs = [config.llvm_tools_dir]
tools = [
'c-index-test', 'clang-diff', 'clang-format', 'clang-tblgen', 'opt'
]
llvm_config.add_tool_substitutions(tools, tool_dirs)
# We want to invoke the system clang. Or not?
config.substitutions = [x for x in config.substitutions if x[0] != ' clang ']