[Buildroot] [PATCH v7 4/4] package/go: use host compiler when go-bootstrap unsupported

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Jul 25 16:48:20 UTC 2023


On Sat, 22 Jul 2023 20:22:18 -0700
Christian Stewart <christian at aperture.us> wrote:

> What if we do the following:
> 
>  1. Merge this patch which enables using the host Go compiler on
> architectures that aren't supported by host go bootstrap.
>  2. Author and merge another series which adds the binary version of
> host-go, still falling back on #1 when neither the bootstrap nor the binary
> download (external toolchain) is supported.

I think like we do for Rust, we want to give the user the choice of
using a Go compiler built from source, or a pre-compiled Go compiler.

Other than that, your plan looks OK to me!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list