[PATCH] D40656: [cmake] Include project name in Sphinx doctree dir to fix race conditions

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 30 11:09:52 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL319461: [cmake] Include project name in Sphinx doctree dir to fix race conditions (authored by mgorny).

Changed prior to commit:
  https://reviews.llvm.org/D40656?vs=124956&id=124975#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D40656

Files:
  llvm/trunk/cmake/modules/AddSphinxTarget.cmake


Index: llvm/trunk/cmake/modules/AddSphinxTarget.cmake
===================================================================
--- llvm/trunk/cmake/modules/AddSphinxTarget.cmake
+++ llvm/trunk/cmake/modules/AddSphinxTarget.cmake
@@ -19,7 +19,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-${builder}")
+  set(SPHINX_DOC_TREE_DIR "${CMAKE_CURRENT_BINARY_DIR}/_doctrees-${project}-${builder}")
   set(SPHINX_TARGET_NAME docs-${project}-${builder})
 
   if (SPHINX_WARNINGS_AS_ERRORS)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40656.124975.patch
Type: text/x-patch
Size: 655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171130/0e7d2839/attachment.bin>


More information about the llvm-commits mailing list