summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorAlexander Richardson <alexrichardson@google.com>2024-02-27 13:00:07 -0800
committerGitHub <noreply@github.com>2024-02-27 21:00:07 +0000
commit5e31e82698d9f1d3f1dd881c87b8c5399d790772 (patch)
tree5970b40c8dc6c18b40bd800afd1c5caaf193556a /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent3250330997cf214293a20a1d532b617d72bafb09 (diff)
[compiler-rt] Use locally configured llvm-lit for standalone builds (#83178)
When building a standalone build with `-DLLVM_CMAKE_DIR=$HOME/output/llvm-install -DCOMPILER_RT_INCLUDE_TESTS=ON`, the current code will attempt to use `LLVM_DEFAULT_EXTERNAL_LIT` which is set to `$HOME/output/llvm-install/bin/llvm-lit` inside `LLVMConfig.cmake` even though it is not actually installed. If we are adding the llvm-lit subdirectory, we can use `get_llvm_lit_path()` immediately afterwards to set LLVM_EXTERNAL_LIT so that subsequent calls within `add_lit_testsuite()` use llvm-lit from the current build directory instead of the nonexistant one.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions