[Lldb-commits] [lldb] [lldb][docs] Added LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS to build.rst for macOS configuration (PR #130381)
Julius Alexandre via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 7 18:43:23 PST 2025
https://github.com/wizardengineer created https://github.com/llvm/llvm-project/pull/130381
Referenced here: https://github.com/llvm/llvm-project/issues/130171#issuecomment-2707058235
I think this will allow for issues relating towards missing modules for test suites to be more manageable.
cc @adrian-prantl
>From 3a8005bcf9780b51e7afbfba17e7bd43e7638cbc Mon Sep 17 00:00:00 2001
From: medievalghoul <61852278+medievalghoul at users.noreply.github.com>
Date: Fri, 7 Mar 2025 21:15:46 -0500
Subject: [PATCH] added LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS in macOS
configuration
---
lldb/docs/resources/build.rst | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lldb/docs/resources/build.rst b/lldb/docs/resources/build.rst
index 214c5f63f2c73..53d749da6bb5a 100644
--- a/lldb/docs/resources/build.rst
+++ b/lldb/docs/resources/build.rst
@@ -340,7 +340,8 @@ On macOS the LLDB test suite requires libc++. Either add
code-signed with identity ``lldb_codesign`` (see :ref:`CodeSigning`).
* ``LLDB_USE_SYSTEM_DEBUGSERVER:BOOL``: Use the system's debugserver, so lldb is
functional without setting up code-signing.
-
+* ``LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS:BOOL``: This helps with determining missing
+ packages or modules at configuration time.
.. _CMakeCaches:
@@ -371,6 +372,7 @@ LLVM <https://llvm.org/docs/BuildingADistribution.html>`_):
-C /path/to/llvm-project/lldb/cmake/caches/Apple-lldb-macOS.cmake \
-DLLVM_ENABLE_PROJECTS="clang;lldb" \
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \
+ -DLLDB_ENFORCE_STRICT_TEST_REQUIREMENTS=ON \
llvm-project/llvm
$ DESTDIR=/path/to/lldb-install ninja -C /path/to/lldb-build check-lldb install-distribution
@@ -387,6 +389,7 @@ Build LLDB standalone for development with Xcode:
-C /path/to/llvm-project/lldb/cmake/caches/Apple-lldb-base.cmake \
-DLLVM_ENABLE_PROJECTS="clang" \
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \
+ -DLLDB_ENFORCE_STRICT_TEST_REQUIREMENTS=ON \
llvm-project/llvm
$ ninja -C /path/to/llvm-build
More information about the lldb-commits
mailing list