build: output source and build dirs at end of config
PATCH 1/1 build: output source and build dirs at end of config
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.
--- meson.build | 4 ++++ 1 file changed, 4 insertions(+)
meson.build +4 -0
@@ -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 + '"')
Signature · 1 line
2.43.0
Quoted 9 lines · 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 <[email protected]>
Ping for feedback on this minor patch. It "scratches and itch" for me in my build testing anyway...
Thanks,
/Bruce
Quoted 19 lines
--- meson.build | 4 ++++ 1 file changed, 4 insertions(+)meson.build +4
-0@@ -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 + '"')Signature · 1 line
2.43.0
Thomas Monjalon
Applied19/11/2024 13:08, Bruce Richardson:
Quoted 9 lines · Bruce Richardson
Quoted 8 lines
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.
Quoted 4 lines
Quoted 1 line
Signed-off-by Bruce Richardson <[email protected]>Ping for feedback on this minor patch. It "scratches and itch" for me in my build testing anyway...
Me too.
Applied, thanks.