forked from OSchip/llvm-project
57ee624d79
CLANG_TOOLS_DIR holds the the current bin/ directory, maybe with a %(build_mode)
placeholder. It is used to add the just-built binaries to $PATH for lit tests.
In most cases it equals LLVM_TOOLS_DIR, which is used for the same purpose.
But for a standalone build of clang, CLANG_TOOLS_DIR points at the build tree
and LLVM_TOOLS_DIR points at the provided LLVM binaries.
Currently CLANG_TOOLS_DIR is set in clang/test/, clang-tools-extra/test/, and
other things always built with clang. This is a few cryptic lines of CMake in
each place. Meanwhile LLVM_TOOLS_DIR is provided by configure_site_lit_cfg().
This patch moves CLANG_TOOLS_DIR to configure_site_lit_cfg() and renames it:
- there's nothing clang-specific about the value
- it will also replace LLD_TOOLS_DIR, LLDB_TOOLS_DIR etc (not in this patch)
It also defines CURRENT_LIBS_DIR. While I removed the last usage of
CLANG_LIBS_DIR in
|
||
---|---|---|
.. | ||
Inputs | ||
index-serialization | ||
remote-index | ||
xpc | ||
CMakeLists.txt | ||
ast-no-range.test | ||
ast.test | ||
background-index.test | ||
call-hierarchy.test | ||
check-fail.test | ||
check-lines.test | ||
check.test | ||
code-action-request.test | ||
compile-commands-path-in-initialize.test | ||
completion-auto-trigger.test | ||
completion-snippets.test | ||
completion.test | ||
config.test | ||
crash-non-added-files.test | ||
crash-parse.test | ||
crash-preamble.test | ||
delimited-input-comment-at-the-end.test | ||
dependency-output.test | ||
diagnostic-category.test | ||
diagnostics-no-tidy.test | ||
diagnostics-notes.test | ||
diagnostics-tidy.test | ||
did-change-configuration-params.test | ||
document-link.test | ||
execute-command.test | ||
exit-eof.test | ||
exit-with-shutdown.test | ||
exit-without-shutdown.test | ||
filestatus.test | ||
fixits-codeaction.test | ||
fixits-command.test | ||
fixits-embed-in-diagnostic.test | ||
formatting.test | ||
hover.test | ||
implementations.test | ||
index-tools.test | ||
indexer.test | ||
initialize-params-invalid.test | ||
initialize-params.test | ||
initialize-sequence.test | ||
inlayHints.test | ||
input-mirror.test | ||
lit.cfg.py | ||
lit.local.cfg | ||
lit.site.cfg.py.in | ||
log.test | ||
memory_tree.test | ||
metrics.test | ||
path-mappings.test | ||
protocol.test | ||
references.test | ||
rename.test | ||
request-reply.test | ||
selection-range.test | ||
semantic-tokens-refresh.test | ||
semantic-tokens.test | ||
signature-help-with-offsets.test | ||
signature-help.test | ||
spaces-in-delimited-input.test | ||
symbol-info.test | ||
symbols.test | ||
system-include-extractor.test | ||
target_info.test | ||
test-uri-posix.test | ||
test-uri-windows.test | ||
textdocument-didchange-fail.test | ||
too_large.test | ||
trace.test | ||
tweaks-format.test | ||
type-definition.test | ||
type-hierarchy.test | ||
unsupported-method.test | ||
utf8.test | ||
version.test | ||
xrefs.test |