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

Update bpf2go and stringer go:generate statements across the codebase #1140

Merged
merged 2 commits into from
Sep 27, 2023

Commits on Sep 27, 2023

  1. *: update go:generate stringer statements to use 'go run'

    This would pick an old, incompatible version from my GOBIN instead.
    
    Signed-off-by: Timo Beckers <timo@isovalent.com>
    ti-mo committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    43a5499 View commit details
    Browse the repository at this point in the history
  2. Makefile: set BPF2GO_ environment vars ambiently, remove from go:gene…

    …rate
    
    This patch removes the -cc and -cflags from all 'go:generate' statements across
    the codebase. Instead, ambiently provide BPF2GO_ env vars to the 'make' call
    in container-all.
    
    This allows running `go generate ./...` on distributions where clang binaries
    don't have their version numbers suffixed.
    
    Signed-off-by: Timo Beckers <timo@isovalent.com>
    ti-mo committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    a115338 View commit details
    Browse the repository at this point in the history