From 7c06252c3efe7ec28319e89b7c7f4a34eed31609 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 20 Nov 2025 14:25:03 -0800 Subject: [PATCH] [lldb] Building the documentation should not depend on libLLDB The only thing the docs should depend on is on the SWIG wrapper (lldb.py) which only requires parsing the API headers. The dependency was (I believe accidentally) introduced by 59f4267. Fixes #123316 --- lldb/docs/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/docs/CMakeLists.txt b/lldb/docs/CMakeLists.txt index f1664a6965332..092bdc1c30f5c 100644 --- a/lldb/docs/CMakeLists.txt +++ b/lldb/docs/CMakeLists.txt @@ -34,7 +34,7 @@ if (LLDB_ENABLE_PYTHON AND SPHINX_FOUND) COMMAND "${CMAKE_COMMAND}" -E copy "${LLDB_SOURCE_DIR}/examples/python/templates/scripted_thread_plan.py" "${CMAKE_CURRENT_BINARY_DIR}/lldb/plugins/" COMMENT "Copying lldb.py to pretend its a Python package.") - add_dependencies(lldb-python-doc-package swig_wrapper_python lldb-python) + add_dependencies(lldb-python-doc-package swig_wrapper_python) # FIXME: Don't treat Sphinx warnings as errors. The files generated by # automodapi are full of warnings (partly caused by SWIG, our documentation