Skip to content

Commit 3a8005b

Browse files
added LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS in macOS configuration
1 parent cb3ce30 commit 3a8005b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lldb/docs/resources/build.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,8 @@ On macOS the LLDB test suite requires libc++. Either add
340340
code-signed with identity ``lldb_codesign`` (see :ref:`CodeSigning`).
341341
* ``LLDB_USE_SYSTEM_DEBUGSERVER:BOOL``: Use the system's debugserver, so lldb is
342342
functional without setting up code-signing.
343-
343+
* ``LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS:BOOL``: This helps with determining missing
344+
packages or modules at configuration time.
344345

345346
.. _CMakeCaches:
346347

@@ -371,6 +372,7 @@ LLVM <https://llvm.org/docs/BuildingADistribution.html>`_):
371372
-C /path/to/llvm-project/lldb/cmake/caches/Apple-lldb-macOS.cmake \
372373
-DLLVM_ENABLE_PROJECTS="clang;lldb" \
373374
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \
375+
-DLLDB_ENFORCE_STRICT_TEST_REQUIREMENTS=ON \
374376
llvm-project/llvm
375377

376378
$ 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:
387389
-C /path/to/llvm-project/lldb/cmake/caches/Apple-lldb-base.cmake \
388390
-DLLVM_ENABLE_PROJECTS="clang" \
389391
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \
392+
-DLLDB_ENFORCE_STRICT_TEST_REQUIREMENTS=ON \
390393
llvm-project/llvm
391394
$ ninja -C /path/to/llvm-build
392395

0 commit comments

Comments
 (0)