DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] build: output source and build dirs at end of config
@ 2024-10-30 17:16 Bruce Richardson
  2024-11-19 12:08 ` Bruce Richardson
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Richardson @ 2024-10-30 17:16 UTC (permalink / raw)
  To: dev; +Cc: Bruce Richardson

The configuration run of meson produces a lot of output. When running
test-meson-builds script, or any other script which does multiple
builds, it can be useful to see the directory in which ninja is being
run. Currently this requires scrolling back to the top of the output, so
to simplify things print out the source and build directories at the end
of the config run, so they are on-screen while ninja is printing its
output immediately underneath.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 meson.build | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meson.build b/meson.build
index c59ab7430a..8436d1dff8 100644
--- a/meson.build
+++ b/meson.build
@@ -179,3 +179,7 @@ foreach drv:dpdk_drvs_disabled
     output_message += drv + ':\t' + reason + '\n\t'
 endforeach
 message(output_message + '\n')
+
+message('DPDK build config complete:\n' +
+        '  source path = "' + dpdk_source_root + '"\n' +
+        '  build path  = "' + dpdk_build_root + '"')
-- 
2.43.0


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

* Re: [PATCH] build: output source and build dirs at end of config
  2024-10-30 17:16 [PATCH] build: output source and build dirs at end of config Bruce Richardson
@ 2024-11-19 12:08 ` Bruce Richardson
  2024-11-19 15:15   ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Richardson @ 2024-11-19 12:08 UTC (permalink / raw)
  To: dev

On Wed, Oct 30, 2024 at 05:16:01PM +0000, Bruce Richardson wrote:
> The configuration run of meson produces a lot of output. When running
> test-meson-builds script, or any other script which does multiple
> builds, it can be useful to see the directory in which ninja is being
> run. Currently this requires scrolling back to the top of the output, so
> to simplify things print out the source and build directories at the end
> of the config run, so they are on-screen while ninja is printing its
> output immediately underneath.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>

Ping for feedback on this minor patch. It "scratches and itch" for me in my
build testing anyway...

Thanks,
/Bruce

> ---
>  meson.build | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meson.build b/meson.build
> index c59ab7430a..8436d1dff8 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -179,3 +179,7 @@ foreach drv:dpdk_drvs_disabled
>      output_message += drv + ':\t' + reason + '\n\t'
>  endforeach
>  message(output_message + '\n')
> +
> +message('DPDK build config complete:\n' +
> +        '  source path = "' + dpdk_source_root + '"\n' +
> +        '  build path  = "' + dpdk_build_root + '"')
> -- 
> 2.43.0
> 

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

* Re: [PATCH] build: output source and build dirs at end of config
  2024-11-19 12:08 ` Bruce Richardson
@ 2024-11-19 15:15   ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2024-11-19 15:15 UTC (permalink / raw)
  To: Bruce Richardson; +Cc: dev

19/11/2024 13:08, Bruce Richardson:
> On Wed, Oct 30, 2024 at 05:16:01PM +0000, Bruce Richardson wrote:
> > The configuration run of meson produces a lot of output. When running
> > test-meson-builds script, or any other script which does multiple
> > builds, it can be useful to see the directory in which ninja is being
> > run. Currently this requires scrolling back to the top of the output, so
> > to simplify things print out the source and build directories at the end
> > of the config run, so they are on-screen while ninja is printing its
> > output immediately underneath.
> > 
> > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> 
> Ping for feedback on this minor patch. It "scratches and itch" for me in my
> build testing anyway...

Me too.

Applied, thanks.



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

end of thread, other threads:[~2024-11-19 15:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-30 17:16 [PATCH] build: output source and build dirs at end of config Bruce Richardson
2024-11-19 12:08 ` Bruce Richardson
2024-11-19 15:15   ` 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).