https://github.com/wizardengineer updated https://github.com/llvm/llvm-project/pull/130381
>From 3a8005bcf9780b51e7afbfba17e7bd43e7638cbc Mon Sep 17 00:00:00 2001 From: medievalghoul <61852278+medievalgh...@users.noreply.github.com> Date: Fri, 7 Mar 2025 21:15:46 -0500 Subject: [PATCH 1/2] 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 >From 85c9e877d3b03bf6f2d0bdd159aaf871f98e6965 Mon Sep 17 00:00:00 2001 From: medievalghoul <61852278+medievalgh...@users.noreply.github.com> Date: Sat, 8 Mar 2025 16:17:55 -0500 Subject: [PATCH 2/2] fix placement and text --- lldb/docs/resources/build.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lldb/docs/resources/build.rst b/lldb/docs/resources/build.rst index 53d749da6bb5a..9ba2405fc9628 100644 --- a/lldb/docs/resources/build.rst +++ b/lldb/docs/resources/build.rst @@ -340,8 +340,7 @@ 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. +* ``LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS:BOOL``: Detect missing packages or modules at configuration time. .. _CMakeCaches: @@ -372,7 +371,6 @@ 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 @@ -389,7 +387,6 @@ 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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits