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

cmd/bpf2go: test against clang-14 by default #794

Merged
merged 2 commits into from Sep 20, 2022
Merged

Conversation

lmb
Copy link
Collaborator

@lmb lmb commented Sep 17, 2022

clang-9 is getting difficult to get a hold of on recent distributions. Default to clang-14 for bpf2go tests, but allow CI to still use clang-9. This avoids regressing clang-9 support by for example using a new command line option.

@lmb lmb requested a review from ti-mo September 17, 2022 14:34
@lmb lmb force-pushed the clang-14 branch 2 times, most recently from 1dd5b01 to ef0f691 Compare September 20, 2022 10:26
clang-9 is getting difficult to get a hold of on recent distributions.
Default to clang-14 for bpf2go tests, but allow CI to still use clang-9.
This avoids regressing clang-9 support by for example using a new
command line option.

Also skip tests that invoke clang from inside the VM, since they tend to
be quite slow. Instead, run them when testing on the previous stable version
of Go.
@lmb lmb merged commit f291554 into cilium:master Sep 20, 2022
@lmb lmb deleted the clang-14 branch September 20, 2022 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant