[dpdk-dev] [PATCH v2] build: add definitions for use as meson subproject

2022-04-18 Thread Ben Magistro
I am currently in the process of trying to embed DPDK into a project utilizing meson's subproject so have some interest in this patch now. To Bruce's question, I believe default_library parameter that would be passed when including the subproject would correctly handle flipping between static and

Re: [dpdk-dev] [PATCH v2] build: add definitions for use as meson subproject

2022-02-02 Thread Thomas Monjalon
05/11/2021 19:11, Bruce Richardson: > On Fri, Nov 05, 2021 at 10:22:13AM -0700, Stephen Hemminger wrote: > > +# If DPDK is being built as subproject then define > > +# variable with the dependency convention > > +if meson.is_subproject() > > +libdpdk_dep = declare_dependency( > > +versi

Re: [dpdk-dev] [PATCH v2] build: add definitions for use as meson subproject

2021-11-05 Thread Bruce Richardson
On Fri, Nov 05, 2021 at 10:22:13AM -0700, Stephen Hemminger wrote: > Some other projects using meson may not be able to use DPDK > using the standard distribution pkg-config mechanism. > Meson supports a way to handle this via the subproject > https://mesonbuild.com/Subprojects.html > > This pat

[dpdk-dev] [PATCH v2] build: add definitions for use as meson subproject

2021-11-05 Thread Stephen Hemminger
Some other projects using meson may not be able to use DPDK using the standard distribution pkg-config mechanism. Meson supports a way to handle this via the subproject https://mesonbuild.com/Subprojects.html This patch adds the necessary dependency to follow the "Naming convention for dependenc