Skip to content

Introduce a golang-package infrastructure

Thomas Petazzoni buildroot 2 versions New

Get series with b4
b4 am 20180331203952.0a57e8b0@windsurf

Versions newest first · linked by author and title

  1. v4 Latest posting 2/20 of 8 patches 0 repliesNew
  2. v4 posting 1/28 patches 0 repliesSuperseded

Patches in v4 posting 2/2 No applies recorded yet

None of the 8 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v4 thread

Cover letter [Buildroot] [PATCH v4 0/8] Introduce a golang-package infrastructure

Hello,

Quoted 8 lines · Arnout Vandecappelle
Quoted 6 lines · Thomas Petazzoni

Hello,

This v4 is a new iteration of the work done by Angelo Compagnucci to introduce a golang package infrastructure. Note that in its v3 of the series, Angelo had a PATCH 7/7 that was adding 'mender' as a new package, but this specific patch is not part of this series.

Quoted 6 lines

Series applied, with the exception of 7/8 which had a relevant comment from Yann:

So, where do you now enforce a static build when BR2_PACKAGE_DOCKER_ENGINE_STATIC_CLIENT is set?

Angelo, could you respin that patch together with mender?

I took care of PATCH 7/8, which converts docker-engine to the golang-package infrastructure, re-adding the code handling BR2_PACKAGE_DOCKER_ENGINE_STATIC_CLIENT.

So the Mender patch remains. I don't think Angelo really needs to respin it, since we haven't reviewed it (yet).

Quoted 11 lines

I also made some changes to pkg-golang.mk:

- Rewrap comments to 80 columns.
- Create a global definition of GO_TARGET_ENV.
- <PKG>_GO_ENV is appended to the default env instead of replacing it.
- Add a note to inner-golang-package that only target is supported.

Angelo, please review those and send follow-up patches if you don't agree with
any of it.

Thank you for the persistence on this one! And thank you Yann for reviewing.

And thank you for doing a final review on this series!

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com