ports/devel/llvm12/files/patch-cmake_modules_AddSphinxTarget.cmake
Brooks Davis 85e3df44bd Welcome LLVM 12 (12.0.0rc2) to the tree
Notable *port* changes (vs devel/llvm11):
 - Switch to single llvm-project distfile.  This simplifies the port
   and support for the old style build process is rotting upstream
   after the mono-repo conversion.
 - Disable libedit dependency in libLLVM (still used by LLDB).  This
   is one small step toward a dependency-less clang.
 - LLDB docs are disabled due to issues finding python includes when
   autogenerating API docs.

Sponsored by:	 DARPA
2021-03-05 01:47:32 +00:00

11 lines
444 B
CMake

--- llvm/cmake/modules/AddSphinxTarget.cmake.orig
+++ llvm/cmake/modules/AddSphinxTarget.cmake
@@ -39,6 +39,8 @@
endif()
add_custom_target(${SPHINX_TARGET_NAME}
+ COMMAND ${CMAKE_COMMAND}
+ -E make_directory ${SPHINX_BUILD_DIR}
COMMAND ${CMAKE_COMMAND} -E env ${ARG_ENV_VARS}
${SPHINX_EXECUTABLE}
-b ${builder}