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

Martin Kelly mkelly at xevo.com
Fri Mar 10 05:59:12 UTC 2017


On 03/09/2017 09:20 PM, Khem Raj wrote:
>
> slow down is 6x when using clang to compile on target, I dont know if such
> a patch would be a good thing from compiler pov.
>

I definitely understand the drawbacks of a slowdown. That said, some 
programs (such as the one I'm working on packaging) don't support static 
libLLVM at all, so without such a patch you cannot use them in Yocto, 
which is sad. In addition, using the shared version helps reduce disk 
and memory usage if you have multiple programs using it. These of course 
are always good things in an embedded context.

Would it be possible to somehow split the shared and static versions 
into separate recipes, or somehow trigger the choice from local 
configuration? That could provide the best of both worlds.



More information about the Openembedded-core mailing list