[Openembedded-architecture] Bringing clang to OE-Core

Phil Blundell pb at pbcl.net
Thu Apr 7 20:39:54 UTC 2016


On Thu, 2016-04-07 at 10:25 -0700, Khem Raj wrote:
> There has been steady demand for clang infrastructure in OE from multiple users and developers. I have therefore opened a feature enhancement
> request, its being used primarily in SDKs by some users. Its in good shape for most of architectures which are supported in OE-Core.
> 
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=9417
> 
> to bring meta-clang into OE-core as additional compiler option.

What is the advantage of merging it into oe-core rather than maintaining
it as a separate layer?  Are there other (existing/proposed) recipes in
oe-core that would benefit from it?

You mentioned that it's being used "primarily in SDKs".  How confident
are you that everything else in oe-core is indeed compilable with clang?

To be honest, my personal reaction is that if we have two compilers in
oe-core then we're just going to have twice as many compiler bugs to
contend with, and unless there is some very compelling win from having
it merged I would leave it out.  But of course it's not me that makes
the decisions.

p.





More information about the Openembedded-architecture mailing list