From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4F353A0613 for ; Thu, 26 Sep 2019 10:33:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E12CE1BF5B; Thu, 26 Sep 2019 10:33:54 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 21D021BF4B; Thu, 26 Sep 2019 10:33:52 +0200 (CEST) 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 fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2019 01:33:51 -0700 X-IronPort-AV: E=Sophos;i="5.64,551,1559545200"; d="scan'208";a="201547328" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.31.171]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2019 01:33:49 -0700 Date: Thu, 26 Sep 2019 09:33:45 +0100 From: Bruce Richardson To: Luca Boccassi Cc: dev@dpdk.org, thomas@monjalon.net, mb@smartsharesystems.com, techboard@dpdk.org Message-ID: <20190926083345.GB1821@bricha3-MOBL.ger.corp.intel.com> References: <20190925145531.52705-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Subject: Re: [dpdk-dev] [PATCH 0/3] RFC: Support disabling DPDK drivers in meson builds 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Sep 25, 2019 at 07:01:10PM +0100, Luca Boccassi wrote: > On Wed, 2019-09-25 at 15:55 +0100, Bruce Richardson wrote: > > Following on from the discussion about meson at userspace 2019, here > > is > > a patchset which allows a user to disable drivers in a DPDK build. > > This > > set also includes the changes necessary to recursively disable any > > drivers that depend upon the disabled one, e.g. disabling > > mempool/dpaa > > also disables net/dpaa and event/dpaa with suitable reasons provided > > in > > the output summary at the end of the meson configuration phase. > > > > A number of changes are made to the lib/meson.build file too, in > > order > > to keep the general logic flow between drivers/meson.build and > > lib/meson.build as similar as possible. > > > > Example of use: > > > > meson -Ddisable_drivers=mempool/dpaa,net/i40e build > > > > Bruce Richardson (3): > > build: align variable names between drivers and libs > > build: process dependencies before main build check > > build: support disabling drivers with meson > > > > drivers/meson.build | 45 +++++++++++++++++++++++++++-------------- > > ---- > > lib/meson.build | 23 +++++++++++++---------- > > meson_options.txt | 2 ++ > > 3 files changed, 42 insertions(+), 28 deletions(-) > > Series-grumbly-acked-by: Luca Boccassi > Not exactly doing my happy-dance here myself about this set, but I think it's something those building their own DPDK will appreciate.