From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jan 2018 07:07:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,435,1511856000"; d="scan'208";a="30633914" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.77]) by orsmga002.jf.intel.com with SMTP; 30 Jan 2018 07:07:12 -0800 Received: by (sSMTP sendmail emulation); Tue, 30 Jan 2018 15:07:11 +0000 Date: Tue, 30 Jan 2018 15:07:11 +0000 From: Bruce Richardson To: dev@dpdk.org 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 Content-Disposition: inline In-Reply-To: <20180125111443.231999-1-bruce.richardson@intel.com> Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.9.1 (2017-09-22) Subject: Re: [dpdk-dev] [PATCH] drivers: improve pmdinfo generation when using meson X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2018 15:07:15 -0000 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