Skip to content

llvm: Include llvm-strip in the image #364

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

Merged
merged 1 commit into from
Jul 17, 2025

Conversation

jrife
Copy link
Contributor

@jrife jrife commented Jul 13, 2025

llvm-strip is a requirement for bpf2go, which I'm using in cilium/cilium#38693 to generate eBPF bytecode and skeletons at build time. Add llvm-strip to the llvm image so that it can be included in Cilium's builder image as well. This unblocks cilium/cilium#38693.

@jrife jrife marked this pull request as ready for review July 13, 2025 19:56
@jrife jrife requested a review from a team as a code owner July 13, 2025 19:56
@jrife jrife requested a review from rgo3 July 13, 2025 19:56
Copy link

@rgo3 rgo3 left a comment

Choose a reason for hiding this comment

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

LGTM, sorry for the delay

llvm-strip is a requirement for bpf2go, which I'm using in [1] to
generate eBPF bytecode and skeletons at build time. Add llvm-strip to
the llvm image so that it can be included in Cilium's builder image as
well. This unblocks [1].

[1]: cilium/cilium#38693

Signed-off-by: Jordan Rife <jrife@google.com>
@jrife jrife force-pushed the jrife/llvm-strip branch from 8b2e02a to 9ad269b Compare July 16, 2025 14:44
@jrife
Copy link
Contributor Author

jrife commented Jul 16, 2025

@rgo3 It looks like some of the builds timed out. Is it possible to retrigger these?

@HadrienPatte HadrienPatte added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 17, 2025
@pchaigno pchaigno merged commit 9ae054f into cilium:master Jul 17, 2025
21 of 23 checks passed
jrife added a commit to jrife/cilium that referenced this pull request Jul 17, 2025
llvm-strip is a requirement for bpf2go, which I'm using in [1] to
generate eBPF bytecode and skeletons. As a follow up to [2], add
llvm-strip to the builder image to unblock [1].

[1]: cilium#38693
[2]: cilium/image-tools#364

Signed-off-by: Jordan Rife <jrife@google.com>
jrife added a commit to jrife/cilium that referenced this pull request Jul 17, 2025
llvm-strip is a requirement for bpf2go, which I'm using in [1] to
generate eBPF bytecode and skeletons. As a follow up to [2], add
llvm-strip to the builder image to unblock [1].

[1]: cilium#38693
[2]: cilium/image-tools#364

Signed-off-by: Jordan Rife <jrife@google.com>
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants