[polly] move detection of polly libs to LLVM

Chandler Carruth chandlerc at google.com
Wed Mar 12 14:31:07 PDT 2014


On Wed, Mar 12, 2014 at 2:21 PM, Sebastian Pop <spop at codeaurora.org> wrote:

> Chandler Carruth wrote:
> > Why is this needed? I would really rather these stay isolated in polly...
>
> We need this to statically link polly into tools like opt.
>
> If we only link LLVMPolly.a against the libs required by polly, linking
> LLVMPolly.a into the tools, the linker complains about missing symbols.
> This does not happen when linking into the tools both LLVMPolly.a and the
> required polly libs.


CMake should be perfectly capable of sustaining transitive deps so that if
the tolo deps on the archive, the tool links against the libraries.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140312/d1769705/attachment.html>


More information about the llvm-commits mailing list