[PATCH] D46503: [cmake] work around a race in Sphinx.

Brooks Davis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 6 09:42:31 PDT 2018


brooks updated this revision to Diff 145401.
brooks added a comment.

- Correct whitespace.


Repository:
  rL LLVM

https://reviews.llvm.org/D46503

Files:
  cmake/modules/AddSphinxTarget.cmake


Index: cmake/modules/AddSphinxTarget.cmake
===================================================================
--- cmake/modules/AddSphinxTarget.cmake
+++ cmake/modules/AddSphinxTarget.cmake
@@ -29,6 +29,8 @@
   endif()
 
   add_custom_target(${SPHINX_TARGET_NAME}
+                    COMMAND ${CMAKE_COMMAND}
+                            -E make_directory ${SPHINX_BUILD_DIR}
                     COMMAND ${SPHINX_EXECUTABLE}
                             -b ${builder}
                             -d "${SPHINX_DOC_TREE_DIR}"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46503.145401.patch
Type: text/x-patch
Size: 528 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180506/7950952f/attachment.bin>


More information about the llvm-commits mailing list