diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2023-05-09 15:42:38 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-05-10 12:54:56 -0300 |
commit | b0618f38e2ab8ce3f094e4973955cfdbb55fceea (patch) | |
tree | 43ff93c4d0eea91a4885442dbb6eab070958c471 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 5f0b89e632ed81b69993f3e68ed924ca3874d0d0 (diff) |
perf build: Gracefully fail the build if BUILD_BPF_SKEL=1 is specified and clang isn't available
Build BPF skels require having a compiler able to generate BPF bytecode,
and so far this is only possible with clang, so check for its
availability and fail the build when the user explicitely ask for BPF
skels to be built.
Acked-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Andrii Nakryiko <[email protected]>,
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Song Liu <[email protected]>
Yang: Yang Jihong <[email protected]>,
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions