On Fri, Oct 11, 2024 at 11:50 AM Tomasz Duszynski
<tduszyn...@marvell.com> wrote:
> diff --git a/lib/eal/meson.build b/lib/eal/meson.build
> index e1d6c4cf17..2b1a1eb283 100644
> --- a/lib/eal/meson.build
> +++ b/lib/eal/meson.build
> @@ -14,7 +14,7 @@ subdir(exec_env)
>
>  subdir(arch_subdir)
>
> -deps += ['log', 'kvargs']
> +deps += ['log', 'kvargs', 'pmu']

Quick comment as I saw a failure in CI.

An optional library should not be a required dependency for EAL.
You need something like (untested):

if dpdk_conf.has('RTE_LIB_PMU')
    deps += ['pmu']
endif

>  if not is_windows
>      deps += ['telemetry']
>  endif


-- 
David Marchand

Reply via email to