Open cupermir opened 2 months ago
https://github.com/libbpf/ci/blob/f1bc702dc76510c4b306a76d1a00db5dc29fb99b/.github/workflows/test.yml#L20 to exercise the gcc bpf-toolchain install/run?
I am actually wondering if this will uncover that it is also needed as part of the testing environment? In which case, during the test run we would need to install the toolchain again.
If I understand well what is happening in test.yml, there is nothing to be added to it, since the bpf-gcc this PR instroduces is only a bpf compiler, it would not impact kernel building in any way.
This PR adds support for building BPF GCC for the purpose to integrate it in BPF CI.
Similar support that makes use of this code will be pull requested in kernel-patches/bpf repo.