Skip to content

Golang build fixes / improvements

George Dunlap xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 7 repliesIn review
  2. v15 patches 13 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5libxl: Generate golang bindings in libxl Makefiletools/golang/xenlight/Makefile tools/libxl/Makefile+26 -26 replies
2/5golang/xenlight: Get rid of GOPATH-based build artefactstools/Rules.mk tools/golang/Makefile tools/golang/xenlight/Makefile+4 -262 replies
3/5automation/archlinux: Add 32-bit glibc headersautomation/build/archlinux/current.dockerfile+1 -04 replies
4/5automation: Add golang packages to various dockerfilesautomation/build/archlinux/current.dockerfile automation/build/debian/unstable.dockerfile automation/build/fedora/29.dockerfile+3 -00 replies
5/5automation/containerize: Add a shortcut for Debian unstableautomation/scripts/containerize+1 -10 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchNick RosbrookIan JacksonAnthony PERARDWei Liu
1/5R-b A-b
2/5R-b
3/5A-b A-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

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

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 <[email protected]>
CC Wei Liu <[email protected]>
CC Doug Goldstein <[email protected]>
CC Nick Rosbrook <[email protected]>

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