[OE-core] [PATCH 1/2] go: Add recipes for golang compilers and tools

Matt Madison matt at madison.systems
Tue Nov 15 18:43:33 UTC 2016


On Fri, Nov 11, 2016 at 10:04 AM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> On Fri, 2016-11-11 at 15:10 +0200, Alexander Kanavin wrote:
>> On 11/10/2016 02:39 AM, Khem Raj wrote:
>> >
>> > This is converging the recipes for go from
>> > meta-virtualization and oe-meta-go
>> Wait a moment, why this should go to oe-core and not to meta-go? Is
>> there something in oe-core itself that requires presence of go
>> compiler?
>
> This was something that came up at OEDEM. There are several layers with
> several attempts at getting this right, most have some issues.
>
> Whilst we've been pulling things out of core, we also need to consider
> things that perhaps should get added. Having this in core would
> certainly address a number of issues (but is also potentially a
> maintenance burden).
>
> We did agree there that we'd consider this. Obviously input from people
> not there is welcome though and this does need discussion. I'm leaning
> moderately in favour of adding it as things stand.

It would certainly help me, as I have a bunch of developers writing Go
packages and apps for embedded targets.  That said, I don't know if Go
is really mature enough.  I've just been working through a pretty
significant bug in the Go 1.7 runtime that makes it unusable when
linked as a shareable library, for instance.

Any reason why more of meta-golang couldn't be integrated into this
patch set, though?   I've been looking over what's in oe-meta-go and
meta-virt, and most of the patches i put into meta-golang to have
already been pulled in there.  And go.bbclass looks like a subset of
meta-golang's golang.bbclass.

Whether it's pulled into OE-core or a common layer hosted at
git.yp.org, it would be helpful to synthesize a common base for Go
support.  I'd be willing to help that.

Thanks,
-Matt

>
> Cheers,
>
> Richard
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list