DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] buildtools: allow reusing dpdk-cmdline-gen.py when used a subproject
@ 2023-11-20 16:28 Robin Jarry
  2023-11-20 16:29 ` Bruce Richardson
  0 siblings, 1 reply; 3+ messages in thread
From: Robin Jarry @ 2023-11-20 16:28 UTC (permalink / raw)
  To: dev; +Cc: Bruce Richardson

When DPDK is used as a subproject, allow declaring wrap files that
provide dpdk-cmdline-gen.py.

This way, find_program('dpdk-cmdline-gen.py') will return the path to
the script in the DPDK subproject source tree.

Link: https://mesonbuild.com/Wrap-dependency-system-manual.html#provide-section
Link: https://mesonbuild.com/Reference-manual_builtin_meson.html#mesonoverride_find_program
Cc: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Robin Jarry <rjarry@redhat.com>
---
 buildtools/subproject/meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/buildtools/subproject/meson.build b/buildtools/subproject/meson.build
index 3192efaa406f..985ce76a9384 100644
--- a/buildtools/subproject/meson.build
+++ b/buildtools/subproject/meson.build
@@ -19,3 +19,5 @@ else
 endif
 
 libdpdk_dep = dpdk_dep
+
+meson.override_find_program('dpdk-cmdline-gen.py', file('../dpdk-cmdline-gen.py'))
-- 
2.42.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] buildtools: allow reusing dpdk-cmdline-gen.py when used a subproject
  2023-11-20 16:28 [PATCH] buildtools: allow reusing dpdk-cmdline-gen.py when used a subproject Robin Jarry
@ 2023-11-20 16:29 ` Bruce Richardson
  2024-07-23 13:49   ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Richardson @ 2023-11-20 16:29 UTC (permalink / raw)
  To: Robin Jarry; +Cc: dev

On Mon, Nov 20, 2023 at 05:28:15PM +0100, Robin Jarry wrote:
> When DPDK is used as a subproject, allow declaring wrap files that
> provide dpdk-cmdline-gen.py.
> 
> This way, find_program('dpdk-cmdline-gen.py') will return the path to
> the script in the DPDK subproject source tree.
> 
> Link: https://mesonbuild.com/Wrap-dependency-system-manual.html#provide-section
> Link: https://mesonbuild.com/Reference-manual_builtin_meson.html#mesonoverride_find_program
> Cc: Bruce Richardson <bruce.richardson@intel.com>
> Signed-off-by: Robin Jarry <rjarry@redhat.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson@intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] buildtools: allow reusing dpdk-cmdline-gen.py when used a subproject
  2023-11-20 16:29 ` Bruce Richardson
@ 2024-07-23 13:49   ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2024-07-23 13:49 UTC (permalink / raw)
  To: Robin Jarry; +Cc: dev, Bruce Richardson

20/11/2023 17:29, Bruce Richardson:
> On Mon, Nov 20, 2023 at 05:28:15PM +0100, Robin Jarry wrote:
> > When DPDK is used as a subproject, allow declaring wrap files that
> > provide dpdk-cmdline-gen.py.
> > 
> > This way, find_program('dpdk-cmdline-gen.py') will return the path to
> > the script in the DPDK subproject source tree.
> > 
> > Link: https://mesonbuild.com/Wrap-dependency-system-manual.html#provide-section
> > Link: https://mesonbuild.com/Reference-manual_builtin_meson.html#mesonoverride_find_program
> > Cc: Bruce Richardson <bruce.richardson@intel.com>
> > Signed-off-by: Robin Jarry <rjarry@redhat.com>
> > ---
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>

Applied, thanks.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-23 13:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-20 16:28 [PATCH] buildtools: allow reusing dpdk-cmdline-gen.py when used a subproject Robin Jarry
2023-11-20 16:29 ` Bruce Richardson
2024-07-23 13:49   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).