[PATCH] D127318: [cmake] Add missing dependencies to objlib in add_llvm_executable.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 9 01:24:31 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
fhahn marked an inline comment as done.
Closed by commit rG553d5161ee23: [cmake] Add missing dependencies to objlib in add_llvm_executable. (authored by fhahn).
Changed prior to commit:
https://reviews.llvm.org/D127318?vs=435204&id=435446#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127318/new/
https://reviews.llvm.org/D127318
Files:
llvm/cmake/modules/AddLLVM.cmake
Index: llvm/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/cmake/modules/AddLLVM.cmake
+++ llvm/cmake/modules/AddLLVM.cmake
@@ -968,6 +968,9 @@
llvm_config( ${name} ${USE_SHARED} ${LLVM_LINK_COMPONENTS} )
if( LLVM_COMMON_DEPENDS )
add_dependencies( ${name} ${LLVM_COMMON_DEPENDS} )
+ foreach(objlib ${obj_name})
+ add_dependencies(${objlib} ${LLVM_COMMON_DEPENDS})
+ endforeach()
endif( LLVM_COMMON_DEPENDS )
if(NOT ARG_IGNORE_EXTERNALIZE_DEBUGINFO)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127318.435446.patch
Type: text/x-patch
Size: 538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220609/c4789a6f/attachment.bin>
More information about the llvm-commits
mailing list