projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74cb9c8
)
[Docs] Fix Sphinx documentation in CMake check.
author
Siddharth Bhat
<siddu.druid@gmail.com>
Mon, 22 May 2017 13:16:02 +0000
(13:16 +0000)
committer
Siddharth Bhat
<siddu.druid@gmail.com>
Mon, 22 May 2017 13:16:02 +0000
(13:16 +0000)
Summary:
- `include(AddSphinxTarget)` needs to occur before checking `SPHINX_FOUND`.
- `docs-polly-html` and `docs-polly-man` are now usable again.
- Perhaps we should build docs in the CI as well?
Differential Revision: https://reviews.llvm.org/D33386
llvm-svn: 303549
polly/docs/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/polly/docs/CMakeLists.txt
b/polly/docs/CMakeLists.txt
index
32857e4
..
a1ef5ce
100644
(file)
--- a/
polly/docs/CMakeLists.txt
+++ b/
polly/docs/CMakeLists.txt
@@
-90,8
+90,8
@@
endif()
endif()
if (LLVM_ENABLE_SPHINX)
+ include(AddSphinxTarget)
if (SPHINX_FOUND)
- include(AddSphinxTarget)
if (${SPHINX_OUTPUT_HTML})
add_sphinx_target(html polly)
endif()