Skip to content

Conversation

@JDevlieghere
Copy link
Member

The only thing the docs should depend on is on the SWIG wrapper (lldb.py) which only requires parsing the API headers. It should not depend on building libLLDB.

The dependency was (I believe accidentally) introduced by 59f4267.

Fixes #123316

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 llvm#123316
@llvmbot
Copy link
Member

llvmbot commented Nov 20, 2025

@llvm/pr-subscribers-lldb

Author: Jonas Devlieghere (JDevlieghere)

Changes

The only thing the docs should depend on is on the SWIG wrapper (lldb.py) which only requires parsing the API headers. It should not depend on building libLLDB.

The dependency was (I believe accidentally) introduced by 59f4267.

Fixes #123316


Full diff: https://github.com/llvm/llvm-project/pull/168962.diff

1 Files Affected:

  • (modified) lldb/docs/CMakeLists.txt (+1-1)
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

Copy link
Member

@medismailben medismailben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we can still generate the documentation this looks good to me

@JDevlieghere
Copy link
Member Author

Everything looks fine in my local build 👍

@JDevlieghere JDevlieghere merged commit 0f12abe into llvm:main Nov 20, 2025
11 of 12 checks passed
@JDevlieghere JDevlieghere deleted the issue-123316 branch November 20, 2025 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[lldb] Building the documentation should not depend on libLLDB

3 participants