summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-03-12 00:49:10 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-03-12 00:49:10 +0000
commit511066858d44101703d61eded9abf8caff0f9fe0 (patch)
tree07148578c78c0cc1bdf21fb4a58349c8aaa0b8fa
parent033c4d21262de50df0c8b86649f694e1346a0fa2 (diff)
downloadbcm5719-llvm-511066858d44101703d61eded9abf8caff0f9fe0.tar.gz
bcm5719-llvm-511066858d44101703d61eded9abf8caff0f9fe0.zip
[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 llvm-svn: 355887
-rw-r--r--lldb/cmake/modules/AddLLDB.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/cmake/modules/AddLLDB.cmake b/lldb/cmake/modules/AddLLDB.cmake
index c0a89e46f08..d597f3f282e 100644
--- a/lldb/cmake/modules/AddLLDB.cmake
+++ b/lldb/cmake/modules/AddLLDB.cmake
@@ -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()
OpenPOWER on IntegriCloud