[PATCH] D91641: [CMake] Fix ExtensionDependencies.inc with multiple extensions
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 17 17:26:33 PST 2020
aeubanks updated this revision to Diff 305935.
aeubanks added a comment.
fix whitespace
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91641/new/
https://reviews.llvm.org/D91641
Files:
llvm/cmake/modules/AddLLVM.cmake
Index: llvm/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/cmake/modules/AddLLVM.cmake
+++ llvm/cmake/modules/AddLLVM.cmake
@@ -1075,7 +1075,7 @@
foreach(llvm_extension ${LLVM_STATIC_EXTENSIONS})
get_property(llvm_plugin_deps TARGET ${llvm_extension} PROPERTY LINK_LIBRARIES)
- file(APPEND "${ExtensionDeps}.tmp" "{{\"${llvm_extension}\", {")
+ file(APPEND "${ExtensionDeps}.tmp" "ExtensionDescriptor{\"${llvm_extension}\", {")
foreach(llvm_plugin_dep ${llvm_plugin_deps})
# Turn library dependency back to component name, if possible.
# That way llvm-config can avoid redundant dependencies.
@@ -1089,7 +1089,7 @@
endforeach()
# Self + mandatory trailing null, because the number of RequiredLibraries differs between extensions.
- file(APPEND "${ExtensionDeps}.tmp" \"${llvm_extension}\", "nullptr}}},\n")
+ file(APPEND "${ExtensionDeps}.tmp" \"${llvm_extension}\", "nullptr}},\n")
endforeach()
file(APPEND "${ExtensionDeps}.tmp" "};\n")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91641.305935.patch
Type: text/x-patch
Size: 1114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201118/bb453653/attachment.bin>
More information about the llvm-commits
mailing list