[OE-core] [PATCH V7] go: Add recipes for golang compilers and tools

Kristian Amlie kristian.amlie at mender.io
Mon Mar 13 13:36:28 UTC 2017


On 09/03/17 08:27, Khem Raj wrote:
> On Wed, Mar 8, 2017 at 11:03 PM, Kristian Amlie
> <kristian.amlie at mender.io> wrote:
>> On 08/03/17 23:19, Khem Raj wrote:
>>>> ...
>>>> For the following go-1.4 recipes:
>>>>
>>>> I wouldn't recommend fixing go-native at version 1.4, which is now
>>>> postiviely ancient.
>>>> Instead, add go1.4.3's SRC_URI into the go-native recipe, loading it
>>>> in the right place so
>>>> that make.bash finds it.  This way, you can have all the go toolchain
>>>> recipes build at the
>>>> same version.  The go team only supports go1.4 for bootstrapping the
>>>> compiler build now
>>>> anyway, IIRC.
>>>
>>> since we do not use go-native for anything other than bootstrapping
>>> right now, thats why it is there. there is no intent of providing a
>>> go-native version for general consumption
>>
>> Just FYI, in Mender we use the latest go-native, provided by
>> github.com/mem/oe-meta-go, to compile some build tools. The layer has a
>> separate go-bootstrap recipe, which is locked to 1.4, for the purpose of
>> creating go-native and go-cross.
> 
> Thanks for info. we should add it here as well.

What work is going on in this regard right now? We will need this fixed
rather soon, since currently it conflicts with the existing, external layer.

I could take a look at this myself, but I'm no Go toolchain expert, more
on the consumption side, so my solution may not be the optimal one.

-- 
Kristian



More information about the Openembedded-core mailing list