[PATCH] D23755: [cmake] Use separate doctrees to prevent races between Sphinx instances

Michał Górny via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 11:13:30 PDT 2016


mgorny retitled this revision from "cmake: Add an ordering dep between HTML & man Sphinx targets" to "[cmake] Use separate doctrees to prevent races between Sphinx instances
".
mgorny updated the summary for this revision.
mgorny updated this revision to Diff 73304.

https://reviews.llvm.org/D23755

Files:
  cmake/modules/AddSphinxTarget.cmake


Index: cmake/modules/AddSphinxTarget.cmake
===================================================================
--- cmake/modules/AddSphinxTarget.cmake
+++ cmake/modules/AddSphinxTarget.cmake
@@ -6,7 +6,7 @@
 # ``project`` should be the project name
 function (add_sphinx_target builder project)
   set(SPHINX_BUILD_DIR "${CMAKE_CURRENT_BINARY_DIR}/${builder}")
-  set(SPHINX_DOC_TREE_DIR "${CMAKE_CURRENT_BINARY_DIR}/_doctrees")
+  set(SPHINX_DOC_TREE_DIR "${CMAKE_CURRENT_BINARY_DIR}/_doctrees-${builder}")
   set(SPHINX_TARGET_NAME docs-${project}-${builder})
 
   if (SPHINX_WARNINGS_AS_ERRORS)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23755.73304.patch
Type: text/x-patch
Size: 598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161003/2b161edb/attachment.bin>


More information about the llvm-commits mailing list