[PATCH] D78358: Use llvm_library_add support for components in Polly

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 04:17:47 PDT 2020


serge-sans-paille created this revision.
serge-sans-paille added reviewers: sylvestre.ledru, efriedma.
Herald added subscribers: llvm-commits, mgorny.
Herald added a reviewer: bollu.
Herald added a project: LLVM.

Instead of manually registering libraries as `target_libraries` in Polly, use the `LINK_COMPONENTS` option. It makes Polly's CMakefile easier to read, and generalizes https://reviews.llvm.org/D78332 to all plugins.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78358

Files:
  llvm/cmake/modules/AddLLVM.cmake
  polly/lib/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78358.258275.patch
Type: text/x-patch
Size: 3053 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200417/473f5f95/attachment.bin>


More information about the llvm-commits mailing list