selftests/bpf: Add SKIP_LLVM makefile variable
authorMykyta Yatsenko <yatsenko@meta.com>
Thu, 22 May 2025 01:38:13 +0000 (02:38 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 22 May 2025 16:31:03 +0000 (09:31 -0700)
commit5ead949920c773d4c3a42988391c2e6d0f32650f
tree02c87f7e59cedb7b0eb83cad4c2fcf56ee3bc57d
parentd90f0bce579c66ac1066edf36203bd5596fd978b
selftests/bpf: Add SKIP_LLVM makefile variable

Introduce SKIP_LLVM makefile variable that allows to avoid using llvm
dependencies when building BPF selftests. This is different from
existing feature-llvm, as the latter is a result of automatic detection
and should not be set by user explicitly.
Avoiding llvm dependencies could be useful for environments that do not
have them, given that as of now llvm dependencies are required only by
jit_disasm_helpers.c.

Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250522013813.125428-1-mykyta.yatsenko5@gmail.com
tools/testing/selftests/bpf/Makefile