[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f70c352b558742a328449e941dc33237900fc74d.camel@gmail.com>
Date: Thu, 30 Jan 2025 16:48:22 -0800
From: Eduard Zingerman <eddyz87@...il.com>
To: Daniel Xu <dxu@...uu.xyz>, shuah@...nel.org, andrii@...nel.org,
ast@...nel.org, nathan@...nel.org, daniel@...earbox.net
Cc: martin.lau@...ux.dev, song@...nel.org, yonghong.song@...ux.dev,
john.fastabend@...il.com, kpsingh@...nel.org, sdf@...ichev.me,
haoluo@...gle.com, jolsa@...nel.org, mykolal@...com,
ndesaulniers@...gle.com, morbo@...gle.com, justinstitt@...gle.com,
bpf@...r.kernel.org, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev
Subject: Re: [PATCH] selftests: bpf: Support dynamic linking LLVM if static
not available
On Thu, 2025-01-30 at 15:33 -0700, Daniel Xu wrote:
> 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@...uu.xyz>
> ---
Tested in two configuration:
- when both static and dynamic libraries are available
(linked against static);
- when only static libraries are available.
Tested-by: Eduard Zingerman <eddyz87@...il.com>
[...]
Powered by blists - more mailing lists