diff options
author | Daniel Xu <dxu@dxuuu.xyz> | 2025-01-30 15:33:45 -0700 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2025-02-05 16:46:14 -0800 |
commit | 2a9d30fac818ffc97ecfa2f71019181a631b9c9b (patch) | |
tree | da8ce88953df20a42abbf041b41062aa0c913313 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 12befebe023e8c84abca5cd60536eaf72746f76d (diff) |
selftests/bpf: Support dynamically linking LLVM if static is not available
Since 67ab80a01886 ("selftests/bpf: Prefer static linking for LLVM
libraries"), only statically linking test_progs is supported. However,
some distros only provide a dynamically linkable LLVM.
This commit adds a fallback for dynamically linking LLVM if static
linking is not available. If both options are available, static linking
is chosen.
Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Tested-by: Eduard Zingerman <eddyz87@gmail.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/bpf/872b64e93de9a6cd6a7a10e6a5c5e7893704f743.1738276344.git.dxu@dxuuu.xyz
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions