llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Michael Buch (Michael137)
<details>
<summary>Changes</summary>
This reverts:
```
Author: Adrian Prantl <aprantl@<!-- -->apple.com>
Date: Tue Nov 4 08:29:47 2025 -0800
[LLDB] Don't check for libcxx if LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS is
off
```
This was needed as an escape hatch for our ASAN bot because we couldn't build
libc++ on it. Ever since https://github.com/llvm/llvm-zorg/pull/702 we can.
Most people wouldn't know to `LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS` when
building LLDB. Which means they'd never know to build libc++, and thus would
have worse test-coverage for our data-formatters.
If we really want such an escape hatch, we might want to name it something more
explicit like `RELAX_DARWIN_LIBCXX_TEST_REQUIREMENTS`.
An alternative is to enable `LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS` by default.
---
Full diff: https://github.com/llvm/llvm-project/pull/175955.diff
1 Files Affected:
- (modified) lldb/test/CMakeLists.txt (+1-1)
``````````diff
diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt
index 818dff58aceeb..513d1ec493ee1 100644
--- a/lldb/test/CMakeLists.txt
+++ b/lldb/test/CMakeLists.txt
@@ -202,7 +202,7 @@ if(TARGET clang)
else()
# We require libcxx for the test suite, so if we aren't building it,
# provide a helpful error about how to resolve the situation.
- if(LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS AND NOT LLDB_HAS_LIBCXX)
+ if(NOT LLDB_HAS_LIBCXX)
message(SEND_ERROR
"LLDB test suite requires libc++, but it is currently disabled. "
"Please add `libcxx` to `LLVM_ENABLE_RUNTIMES` or disable tests via "
``````````
</details>
https://github.com/llvm/llvm-project/pull/175955
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits