Author: Jonas Devlieghere
Date: 2025-11-20T14:51:34-08:00
New Revision: 0f12abe47c15c28949f9b609f2c90333176f17d1

URL: 
https://github.com/llvm/llvm-project/commit/0f12abe47c15c28949f9b609f2c90333176f17d1
DIFF: 
https://github.com/llvm/llvm-project/commit/0f12abe47c15c28949f9b609f2c90333176f17d1.diff

LOG: [lldb] Building the documentation should not depend on libLLDB (#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 #123316

Added: 
    

Modified: 
    lldb/docs/CMakeLists.txt

Removed: 
    


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


        
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to