-
Notifications
You must be signed in to change notification settings - Fork 91
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
Remove libbpf as a submodule #177
Conversation
2e77529
to
23a3adf
Compare
Instead clone the libbpf repo at a specific hash during setup. This is to fix an issue whereby submodules are not included in the tarball and therefore won't be updated/fetched during setup after unzipping the tarball.
Please feel free to revert this if it ends up causing issues. The meson stuff to get this to work is a little hacky. |
@jordalgo can we avoid fetching libbpf if Fetching/including libbpf breaks the deb build (or it makes it really tricky), so I'd be nice if there was a way to completely skip the libbpf fetch/build and rely on the version installed in the system. I haven't looked at this in details, so there might be a way already... |
@arighi I believe that should be happening with this change. Are you not seeing that? Here is my setup output:
"Fetching libbpf repo" is missing in output. |
Hm... something odd is happening, I think my |
Oh wait, meson doesn't have a clean command, but dh_clean calls a |
This is how I do a full clean from the scx root
|
Apparently something in the debian build scripts is calling a plain I'll figure what it is and fix it on the deb packaging part, so your change should be fine for now. |
No worries! Glad you found it. |
Instead clone the libbpf repo at a specific hash during setup. This is to fix an issue whereby submodules are not included in the tarball and therefore won't be updated/fetched during setup after unzipping the tarball.