diff options
author | Aaron Smith <aaron.smith@microsoft.com> | 2018-02-21 00:05:51 +0000 |
---|---|---|
committer | Aaron Smith <aaron.smith@microsoft.com> | 2018-02-21 00:05:51 +0000 |
commit | 07482d32e7d0b49a6c2697b4510bd4f0259894fa (patch) | |
tree | 19614923f8437729a43d01fb31464845f9981b0f /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp | |
parent | 0bc2d9b0c5efd53dcdd3368146aa83c5b04158f6 (diff) | |
download | bcm5719-llvm-07482d32e7d0b49a6c2697b4510bd4f0259894fa.tar.gz bcm5719-llvm-07482d32e7d0b49a6c2697b4510bd4f0259894fa.zip |
[lit] Update how clang and other binaries are found in per-configuration directories
Summary:
This is modeled after the clang and llvm lit tests.
Several properties have CMAKE_CFG_INTDIR as part of the path - this works correctly when the cmake generator only supports one configuration which is known at configuration time, but it does not work correctly when the cmake generator supports multiple configurations (for example, VS).
For VS, CMAKE_CFG_INTDIR ends up set as $Configuration and then it is never updated correctly. Instead, the lit configuration can use a property that can be overwritten at run time. AddLLVM does that for several properties (such as LLVM_TOOLS_DIR).
This change is also removing properties from the lit/CMakeLists.txt that are actually set during the call to configure_lit_site_cfg
Reviewers: zturner, lldb-commits
Reviewed By: zturner
Subscribers: llvm-commits, labath, stella.stamenova, mgorny, hintonda
Differential Revision: https://reviews.llvm.org/D43096
llvm-svn: 325652
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions