Skip to content

Conversation

@theihor
Copy link
Contributor

@theihor theihor commented Jan 26, 2026

This PR has a number of changes aiming to make it possible to run BPF CI kernel builds on Debian, as wells as enable __jited BPF selftests, which are currently skipped due to missing llvm-dev libs. And some unrelated nits.

Tested with kernel-patches/vmtest#433

There BPF selftests that depend on llvm-dev libraries. Make sure they
are installed (by specifying "all" to llvm.sh), and ensure LLVM_CONFIG
is set correctly when building selftests.

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Fixup pahole build flags to make LD_LIBRARY_PATH export unnecessary.

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Check for $ID (provided by /etc/os-release) before executing
Ubuntu-specific hackery.

This allows to run setup-build-env scripts on Debian.

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
It's necessary for running bpftool and resolve_btfids during selftests
build.

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
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.

2 participants