[PATCH] D61541: [compiler-rt] Create install targets for Darwin libraries

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 6 15:53:33 PDT 2019


phosek accepted this revision.
phosek added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: compiler-rt/cmake/Modules/CompilerRTUtils.cmake:423
+
+  if(ARG_PARENT_TARGET AND NOT TARGET install-${ARG_PARENT_TARGET})
+    # The parent install target specifies the parent component to scrape up
----------------
IIUC, only the first invocation of this function will create the parent target and all the following ones will reuse it (for all systems/architectures with the same parent target that is). One possible alternative would be to split this into its function to avoid all those extra checks on subsequent invocations of this function.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D61541





More information about the llvm-commits mailing list