[dpdk-dev] [PATCH] drivers: improve pmdinfo generation when using meson

Bruce Richardson bruce.richardson at intel.com
Tue Jan 30 16:07:11 CET 2018


On Thu, Jan 25, 2018 at 11:14:43AM +0000, Bruce Richardson wrote:
> Since meson 0.44, changing any file inside a PMD directory (quite
> correctly) triggers a full re-run of meson on build, rather than an
> incremental build as with earlier versions. This rerun is needed because
> we use "grep" in meson to search for files on which to run pmdinfogen, and
> changing any of those files means that grep and, therefore meson, needs to
> be rerun. [Previous versions of meson did not track this dependency on the
> grep command, and so did incremental builds only.]
> 
> If, however, we take advantage of pmdinfogen's ability to use stdin and
> stdout instead of files, we can instead use a shell script to process an
> entire static archive and generate a single .c file from it. This
> eliminates the need for grep, and means that changes to a PMD file only
> need an incremental build - a significant time saving.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
Applied to dpdk-next-build

/Bruce


More information about the dev mailing list