Skip to content

Commit

Permalink
[CMake] Avoid clang-tablegen-targets dependency when building sphinx …
Browse files Browse the repository at this point in the history
…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

llvm-svn: 355887
  • Loading branch information
JDevlieghere committed Mar 12, 2019
1 parent 033c4d2 commit 5110668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/cmake/modules/AddLLDB.cmake
Expand Up @@ -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()

Expand Down

0 comments on commit 5110668

Please sign in to comment.