Skip to content

[lldb] Building the documentation should not depend on libLLDB#168962

Merged
JDevlieghere merged 1 commit intollvm:mainfrom
JDevlieghere:issue-123316
Nov 20, 2025
Merged

[lldb] Building the documentation should not depend on libLLDB#168962
JDevlieghere merged 1 commit intollvm:mainfrom
JDevlieghere:issue-123316

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
aadeshps-mcw pushed a commit to aadeshps-mcw/llvm-project that referenced this pull request Nov 26, 2025
…168962)

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 llvm#123316
Priyanshu3820 pushed a commit to Priyanshu3820/llvm-project that referenced this pull request Nov 26, 2025
…168962)

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 llvm#123316
augusto2112 pushed a commit to augusto2112/llvm-project that referenced this pull request Dec 3, 2025
…168962)

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 llvm#123316
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