[LLD] Cyclic dependency between ReaderWriter and YAML backend

Chandler Carruth chandlerc at google.com
Tue Sep 3 12:08:57 PDT 2013


On Sep 3, 2013 11:57 AM, "Nick Kledzik" <kledzik at apple.com> wrote:
>
> Does BUILD_SHARED_LIBS turn every CMake target into a shared library
(.so)?    If so, that may be two fine grained.
>
> Can BUILD_SHARED_LIBS be detected by CMake and alter the target
structure?  For instance moving YAML stuff into Core?

Not really but if that is the structure you want just make those cmake
targets? There is no real reason to have overly fine grained targets.

That aside, does YAML stuff really belong in a library called Core? That
seems strange to me.
>
> -Nick
>
> On Sep 2, 2013, at 3:09 AM, Joerg Sonnenberger <joerg at britannica.bec.de>
wrote:
> > Hi all,
> > when trying to build lld with BUILD_SHARED_LIBS=on, it fails due to a
> > dependency cyclic between lib/ReaderWriter and lib/ReaderWriter/YAML.
> > One possible solution is attached, but it is certainly not clean.
> >
> > Joerg
> > <lld-shared.diff>_______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130903/1dbcec8d/attachment.html>


More information about the llvm-commits mailing list