[PATCH] D92158: Also include component groups in llvm-config --components list

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 26 12:07:14 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG1de56d6d13c0: [llvmbuildectomy] Also include component groups in llvm-config --components list (authored by mceier, committed by serge-sans-paille).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92158/new/

https://reviews.llvm.org/D92158

Files:
  llvm/cmake/modules/LLVM-Build.cmake


Index: llvm/cmake/modules/LLVM-Build.cmake
===================================================================
--- llvm/cmake/modules/LLVM-Build.cmake
+++ llvm/cmake/modules/LLVM-Build.cmake
@@ -11,12 +11,9 @@
     list(APPEND all_component_libdeps ${component_name})
   endforeach()
   list(APPEND llvmbuild_components all)
-  list(APPEND llvmbuild_components all-targets)
-  list(APPEND llvmbuild_components Engine)
-  list(APPEND llvmbuild_components Native)
-  list(APPEND llvmbuild_components NativeCodeGen)
-  foreach(llvm_target_to_build ${LLVM_TARGETS_TO_BUILD})
-    list(APPEND llvmbuild_components ${llvm_target_to_build})
+  foreach(llvm_component all-targets Engine Native NativeCodeGen ${LLVM_TARGETS_TO_BUILD})
+    list(APPEND llvmbuild_components ${llvm_component})
+    list(APPEND all_component_libdeps ${llvm_component})
   endforeach()
 
   list(LENGTH llvmbuild_components llvmbuild_components_size)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92158.307910.patch
Type: text/x-patch
Size: 922 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201126/818d7bbc/attachment.bin>


More information about the llvm-commits mailing list