[OE-core] [meta-clang] LLVM shared library support

Khem Raj raj.khem at gmail.com
Fri Mar 3 20:09:27 UTC 2017


On Fri, Mar 3, 2017 at 11:15 AM, Martin Kelly <mkelly at xevo.com> wrote:
> Hi,
>
> I noticed that meta-clang builds only static LLVM libraries, unlike the
> meta-oe version of LLVM 3.3, which builds shared libraries. In fact, this
> appears to be the LLVM upstream default as well.
>
> What is the reason for the difference? Shared versions of LLVM would be
> useful for reducing the size of programs linked to it and making smaller
> filesystem images.

meta-clang has only provided static compiler thus far, so using shared
or static did not matter as much in fact it could be helping with
faster compile
times that we see with clang. However, there is no binding to keep it static
link. Feel free to send a pull request to change it.

>
> Thanks,
> Martin



More information about the Openembedded-core mailing list