Message ID | 20190925145531.52705-1-bruce.richardson@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 16DC21BF2C; Wed, 25 Sep 2019 16:55:39 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 9BA9C1BF03; Wed, 25 Sep 2019 16:55:37 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2019 07:55:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,548,1559545200"; d="scan'208";a="390235741" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.2]) by fmsmga006.fm.intel.com with ESMTP; 25 Sep 2019 07:55:34 -0700 From: Bruce Richardson <bruce.richardson@intel.com> To: dev@dpdk.org Cc: bluca@debian.org, thomas@monjalon.net, mb@smartsharesystems.com, techboard@dpdk.org, Bruce Richardson <bruce.richardson@intel.com> Date: Wed, 25 Sep 2019 15:55:28 +0100 Message-Id: <20190925145531.52705-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
RFC: Support disabling DPDK drivers in meson builds
|
|
Message
Bruce Richardson
Sept. 25, 2019, 2:55 p.m. UTC
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(-)
Comments
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 <bluca@debian.org>
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 <bluca@debian.org> > Not exactly doing my happy-dance here myself about this set, but I think it's something those building their own DPDK will appreciate.
> -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, September 26, 2019 10:34 AM > To: Luca Boccassi > Cc: dev@dpdk.org; thomas@monjalon.net; Morten Brørup; techboard@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/3] RFC: Support disabling DPDK drivers in > meson builds > > 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 <bluca@debian.org> > > > Not exactly doing my happy-dance here myself about this set, but I think > it's something those building their own DPDK will appreciate. Yes, we will. Med venlig hilsen / kind regards - Morten Brørup
On 9/25/19 4:55 PM, 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(-) > Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com> Thanks, Maxime
25/09/2019 20:01, Luca Boccassi: > On Wed, 2019-09-25 at 15:55 +0100, Bruce Richardson wrote: > > Bruce Richardson (3): > > build: align variable names between drivers and libs > > build: process dependencies before main build check > > build: support disabling drivers with meson > > Series-grumbly-acked-by: Luca Boccassi <bluca@debian.org> Applied, thanks for implementing a community request