On Fri, Nov 18, 2022 at 03:22:07PM -0800, Tyler Retzlaff wrote:
> ring has no dependencies and should be able to be built standalone but
> cannot be since it cannot find rte_config.h. this change directs meson
> to include global_inc paths just like is done with other libraries
> e.g. telemetry.
> 
> Tyler Retzlaff (1):
>   ring: build with global includes
> 
>  lib/ring/meson.build | 2 ++
>  1 file changed, 2 insertions(+)
>

I am a little confused by this change - how do you mean built-standalone?
The ring library depends upon EAL for memory management, does it not? Also,
no DPDK library can be built on its own without the rest of the top-level
build infrastructure, which will ensure that the global-include folders are
on the include path? 

In terms of other libs, e.g. telemetry, the only reason those need the
global includes added to their include path explicitly is because those are
built ahead of EAL. Anything that depends on EAL - including ring - will
have the global includes available.

Can you explain a little more about the use-case you are looking at here,
and how you are attempting to build ring?

/Bruce 

Reply via email to