Skip to content

Add support for using a pre-compiled Go compiler

Thomas Perale via buildroot buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4package/goc: new virtual packagepackage/Config.in.host package/go/go.mk package/goc/Config.in.host +1 more+25 -00 replies
2/4package/pkg-golang: set dependencies to host-gocfs/oci/Config.in package/balena-engine/Config.in package/containerd/Config.in +20 more+24 -20 replies
3/4package/go-bin: new packagepackage/Config.in.host package/go-bin/Config.in.host package/go-bin/go-bin.hash +2 more+55 -10 replies
4/4support/testing: add tests for Gosupport/testing/tests/package/test_go.py+40 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/4] Add support for using a pre-compiled Go compiler

Improvement from the buildroot TODO list. This patch add supports for pre-built version of the Go compiler.

Right now this patch introduce a new virtual package called 'goc' to do the selection between two provider:
- go
- go-bin
Right now there is some variable from the 'go' package are used in multiple go provider packages.
In an upcoming patch all the go related packages will move to a 'go' subfolder that will hold all the common variables.

Thomas Perale (4):
package/goc: new virtual package package/pkg-golang: set dependencies to host-goc package/go-bin: new package support/testing: add tests for Go

 fs/oci/Config.in                         |  1 +
 package/Config.in.host                   |  2 ++
 package/balena-engine/Config.in          |  1 +
 package/containerd/Config.in             |  1 +
 package/crucible/Config.in               |  1 +
 package/delve/Config.in                  |  1 +
 package/docker-cli/Config.in             |  1 +
 package/docker-compose/Config.in         |  1 +
 package/docker-engine/Config.in          |  1 +
 package/docker-proxy/Config.in           |  1 +
 package/embiggen-disk/Config.in          |  1 +
 package/flannel/Config.in                |  1 +
 package/gitlab-runner/Config.in          |  1 +
 package/go-bin/Config.in.host            |  5 +++
 package/go-bin/go-bin.hash               |  4 +++
 package/go-bin/go-bin.mk                 | 20 ++++++++++++
 package/go/go.mk                         |  2 ++
 package/goc/Config.in.host               | 39 +++++++++++++++++++++++
 package/goc/goc.mk                       |  7 +++++
 package/gocryptfs/Config.in              |  1 +
 package/mender-artifact/Config.in.host   |  1 +
 package/mender-connect/Config.in         |  1 +
 package/mender/Config.in                 |  1 +
 package/moby-buildkit/Config.in          |  1 +
 package/moby-buildkit/Config.in.host     |  1 +
 package/nerdctl/Config.in                |  1 +
 package/pkg-golang.mk                    |  4 +--
 package/runc/Config.in                   |  1 +
 package/tinifier/Config.in               |  1 +
 package/wtfutil/Config.in                |  1 +
 support/testing/tests/package/test_go.py | 40 ++++++++++++++++++++++++
 31 files changed, 143 insertions(+), 2 deletions(-)
 create mode 100644 package/go-bin/Config.in.host
 create mode 100644 package/go-bin/go-bin.hash
 create mode 100644 package/go-bin/go-bin.mk
 create mode 100644 package/goc/Config.in.host
 create mode 100644 package/goc/goc.mk
 create mode 100644 support/testing/tests/package/test_go.py
Signature · 6 lines
2.37.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot