mbox series

[0/4] Add support for using a pre-compiled Go compiler

Message ID 20221017151726.44005-1-thomas.perale@mind.be
Headers show
Series Add support for using a pre-compiled Go compiler | expand

Message

Thomas Perale Oct. 17, 2022, 3:17 p.m. UTC
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