Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: Introduce GO_BUILD variable #560

Merged
merged 1 commit into from
May 27, 2021

Conversation

gandro
Copy link
Member

@gandro gandro commented May 27, 2021

This allows users to overwrite the GO environment variable while still
using CGO_ENABLED=false. This for example is useful when testing
pre-releases of the Go compiler.

@gandro gandro requested a review from rolinh May 27, 2021 07:50
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label PR is blocked until the release note is set label May 27, 2021
@gandro gandro added the release-note/misc This PR makes changes that have no direct user impact. label May 27, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label PR is blocked until the release note is set label May 27, 2021
Copy link
Member

@rolinh rolinh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Could we also update the bench and test targets to use $(GO)?

@gandro gandro force-pushed the pr/gandro/use-go-build-variable branch from ad0f84b to 0084a06 Compare May 27, 2021 07:58
@gandro
Copy link
Member Author

gandro commented May 27, 2021

Thanks! Could we also update the bench and test targets to use $(GO)?

Good catch. Done and tested!

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 27, 2021
@kaworu kaworu added :basecamp: needs-rebase This PR needs to be rebased because it has merge conflicts. and removed ready-to-merge This PR has passed all tests and received consensus from code owners to merge. labels May 27, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 27, 2021
@rolinh rolinh removed the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 27, 2021
This allows users to overwrite the GO environment variable while still
using CGO_ENABLED=false. This for example is useful when testing
pre-releases of the Go compiler.

Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
@gandro gandro force-pushed the pr/gandro/use-go-build-variable branch from 0084a06 to 4efa821 Compare May 27, 2021 09:20
@gandro gandro added ready-to-merge This PR has passed all tests and received consensus from code owners to merge. and removed :basecamp: needs-rebase This PR needs to be rebased because it has merge conflicts. labels May 27, 2021
@kaworu kaworu merged commit a9347a8 into master May 27, 2021
@kaworu kaworu deleted the pr/gandro/use-go-build-variable branch May 27, 2021 09:29
tklauser added a commit to cilium/cilium-cli that referenced this pull request Jul 14, 2021
This allows users to overwrite the GO environment variable while still
using CGO_ENABLED=0. This for example is useful when testing
pre-releases of the Go toolchain, e.g. `make GO=go1.17rc1`.

Follows cilium/hubble#560

Signed-off-by: Tobias Klauser <tobias@cilium.io>
tklauser added a commit to cilium/cilium-cli that referenced this pull request Jul 14, 2021
This allows users to overwrite the GO environment variable while still
using CGO_ENABLED=0. This for example is useful when testing
pre-releases of the Go toolchain, e.g. `make GO=go1.17rc1`.

Follows cilium/hubble#560

Signed-off-by: Tobias Klauser <tobias@cilium.io>
aditighag pushed a commit to aditighag/cilium-cli that referenced this pull request Apr 21, 2023
This allows users to overwrite the GO environment variable while still
using CGO_ENABLED=0. This for example is useful when testing
pre-releases of the Go toolchain, e.g. `make GO=go1.17rc1`.

Follows cilium/hubble#560

Signed-off-by: Tobias Klauser <tobias@cilium.io>
michi-covalent pushed a commit to michi-covalent/cilium that referenced this pull request May 30, 2023
This allows users to overwrite the GO environment variable while still
using CGO_ENABLED=0. This for example is useful when testing
pre-releases of the Go toolchain, e.g. `make GO=go1.17rc1`.

Follows cilium/hubble#560

Signed-off-by: Tobias Klauser <tobias@cilium.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants