[Lldb-commits] [lldb] r355887 - [CMake] Avoid clang-tablegen-targets dependency when building sphinx docs (experimental)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 11 17:49:10 PDT 2019
Author: jdevlieghere
Date: Mon Mar 11 17:49:10 2019
New Revision: 355887
URL: http://llvm.org/viewvc/llvm-project?rev=355887&view=rev
Log:
[CMake] Avoid clang-tablegen-targets dependency when building sphinx docs (experimental)
Proposal to fix bot
http://lab.llvm.org:8011/builders/lldb-sphinx-docs/builds/1564/steps/cmake-configure/logs/stdio
Patch by: Stefan Gränitz
Differential revision: https://reviews.llvm.org/D59232
Modified:
lldb/trunk/cmake/modules/AddLLDB.cmake
Modified: lldb/trunk/cmake/modules/AddLLDB.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/modules/AddLLDB.cmake?rev=355887&r1=355886&r2=355887&view=diff
==============================================================================
--- lldb/trunk/cmake/modules/AddLLDB.cmake (original)
+++ lldb/trunk/cmake/modules/AddLLDB.cmake Mon Mar 11 17:49:10 2019
@@ -93,7 +93,7 @@ function(add_lldb_library name)
# Hack: only some LLDB libraries depend on the clang autogenerated headers,
# but it is simple enough to make all of LLDB depend on some of those
# headers without negatively impacting much of anything.
- if(NOT LLDB_BUILT_STANDALONE)
+ if(NOT LLDB_BUILT_STANDALONE AND NOT LLVM_ENABLE_SPHINX)
add_dependencies(${name} clang-tablegen-targets)
endif()
More information about the lldb-commits
mailing list