From: Bruce Richardson Subject: Re: [PATCH] drivers: improve pmdinfo generation when using meson Date: Tue, 30 Jan 2018 15:07:11 +0000 Message-ID: <20180130150710.GA25924@bricha3-MOBL3.ger.corp.intel.com> References: <20180125111443.231999-1-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: dev@dpdk.org Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 7CA1D1B637 for ; Tue, 30 Jan 2018 16:07:15 +0100 (CET) Content-Disposition: inline In-Reply-To: <20180125111443.231999-1-bruce.richardson@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > --- Applied to dpdk-next-build /Bruce