[PATCH v2 0/5] Golang build fixes / improvements

George Dunlap posted 5 patches 3 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20200526221612.900922-1-george.dunlap@citrix.com
Maintainers: Ian Jackson <ian.jackson@eu.citrix.com>, George Dunlap <george.dunlap@citrix.com>, Anthony PERARD <anthony.perard@citrix.com>, Wei Liu <wl@xen.org>, Doug Goldstein <cardoe@cardoe.com>
automation/build/archlinux/current.dockerfile |  2 ++
automation/build/debian/unstable.dockerfile   |  1 +
automation/build/fedora/29.dockerfile         |  1 +
automation/scripts/containerize               |  2 +-
tools/Rules.mk                                |  1 -
tools/golang/Makefile                         | 10 --------
tools/golang/xenlight/Makefile                | 24 +++++++++----------
tools/libxl/Makefile                          | 17 ++++++++++++-
8 files changed, 32 insertions(+), 26 deletions(-)
[PATCH v2 0/5] Golang build fixes / improvements
Posted by George Dunlap 3 years, 10 months ago
This is a series of patches that improve build for the golang xenlight
bindings.  The key patches are patch is #1 and #4.  Patch 1 will
update the generated golang bindings from the tools/libxl directory
when libxl_types.idl is updated, even if the person building doesn't
have the golang packages enabled.  Patch 2 adds golang packages to the
docker images which have suitable golang versions, so that the bindings
can be tested in the CI loop.

Changes in v2:
- Document requirements to make sure the parallel build is race-free
- Replace v1 patches 4-5 with a patch which will just remove the
  GOPATH-related build testing
- Introduce improvements to automation

CC: Ian Jackson <ian.jackson@citrix.com>
CC: Wei Liu <wl@xen.org>
CC: Doug Goldstein <cardoe@cardoe.com>
CC: Nick Rosbrook <rosbrookn@ainfosec.com>

George Dunlap (5):
  libxl: Generate golang bindings in libxl Makefile
  golang/xenlight: Get rid of GOPATH-based build artefacts
  automation/archlinux: Add 32-bit glibc headers
  automation: Add golang packages to various dockerfiles
  automation/containerize: Add a shortcut for Debian unstable

 automation/build/archlinux/current.dockerfile |  2 ++
 automation/build/debian/unstable.dockerfile   |  1 +
 automation/build/fedora/29.dockerfile         |  1 +
 automation/scripts/containerize               |  2 +-
 tools/Rules.mk                                |  1 -
 tools/golang/Makefile                         | 10 --------
 tools/golang/xenlight/Makefile                | 24 +++++++++----------
 tools/libxl/Makefile                          | 17 ++++++++++++-
 8 files changed, 32 insertions(+), 26 deletions(-)

--
2.25.1