diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2023-05-19 11:09:36 +0100 |
---|---|---|
committer | Michael Buch <michaelbuch12@gmail.com> | 2023-05-20 12:07:48 +0100 |
commit | 55acb70b211a9807307c028f172b8400ebb30d9b (patch) | |
tree | 7a3af0631879cb4b0d26bfe6a264976326a3db63 /llvm/lib/CodeGen/SelectOptimize.cpp | |
parent | 0df607ca96d8b0608e99d2a4dae7e137e5e8f02d (diff) | |
download | llvm-55acb70b211a9807307c028f172b8400ebb30d9b.zip llvm-55acb70b211a9807307c028f172b8400ebb30d9b.tar.gz llvm-55acb70b211a9807307c028f172b8400ebb30d9b.tar.bz2 |
[lldb][cmake] Allow specifying custom libcxx for tests in standalone builds
Standalone builds currently do not set the `LLDB_HAS_LIBCXX`,
`LIBCXX_LIBRARY_DIR`, `LIBCXX_GENERATED_INCLUDE_DIR`.
These are necessary for API tests with `USE_LIBCPP` to run against
a custom built libcxx. Thus on all buildbots using standalone builds
(most notably the public swift-ci), the API tests always run against
the libcxx headers in the system SDK.
This patch introduces a new cmake variable `LLDB_TEST_LIBCXX_ROOT_DIR`
that allows us to point the tests in standalone builds to a custom
libcxx directory.
Since the user can control the libcxx location we can hard error if
no such custom libcxx build exists.
Differential Revision: https://reviews.llvm.org/D150954
Diffstat (limited to 'llvm/lib/CodeGen/SelectOptimize.cpp')
0 files changed, 0 insertions, 0 deletions