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

Kristian Amlie kristian.amlie at mender.io
Thu Mar 9 07:03:49 UTC 2017


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.

-- 
Kristian



More information about the Openembedded-core mailing list