Message ID | 20210225152903.148347-1-bruce.richardson@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B9328A034F; Thu, 25 Feb 2021 16:29:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6BEEC1607D0; Thu, 25 Feb 2021 16:29:14 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 0CACF40692 for <dev@dpdk.org>; Thu, 25 Feb 2021 16:29:12 +0100 (CET) IronPort-SDR: GJ/kW0+0T7dXxfi21CrF0pOPdFHJbNZ7g3gV3lnawwGTy8CHOEV8/i8XuYLOL+DsK50QbMEomg 78iJjBPShaDg== X-IronPort-AV: E=McAfee;i="6000,8403,9905"; a="249617626" X-IronPort-AV: E=Sophos;i="5.81,206,1610438400"; d="scan'208";a="249617626" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Feb 2021 07:29:11 -0800 IronPort-SDR: EiPPSijGacz4ywIF/etMF+GyCkcfhVQYrXaIzqieadWRXf1esJEZ5CA5/UkeOnI/N43r6xs5h0 YrAkFAVmqdWg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,206,1610438400"; d="scan'208";a="367432345" Received: from silpixa00399126.ir.intel.com ([10.237.223.204]) by orsmga006.jf.intel.com with ESMTP; 25 Feb 2021 07:29:10 -0800 From: Bruce Richardson <bruce.richardson@intel.com> To: dev@dpdk.org Cc: thomas@monjalon.net, david.marchand@redhat.com, Bruce Richardson <bruce.richardson@intel.com> Date: Thu, 25 Feb 2021 15:29:00 +0000 Message-Id: <20210225152903.148347-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/3] Add developer mode to DPDK build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 |
Add developer mode to DPDK build
|
|
Message
Bruce Richardson
Feb. 25, 2021, 3:29 p.m. UTC
To allow more flexibility in enabling additional build checks to DPDK build process, we can add a developer mode option to the build. With this option enabled, extra checks of interest to DPDK developers rather than users can be done on the code, without having to worry about possible user impacts. The new option can be manually enabled or disabled by using meson configure, but by default is set to "auto" which means it is enabled if building from a git repo. Once the developer mode is added in the first patch, the other patches of this series turn off a number of previous features for non-developer builds, since those features would only be of interest to DPDK devs. Bruce Richardson (3): build: enable a developer mode setting build: hide debug messages in non-developer mode build: limit symbol checks to developer mode doc/guides/contributing/coding_style.rst | 8 ++++++++ drivers/meson.build | 26 ++++++++++++++---------- lib/meson.build | 12 ++++++----- meson.build | 14 +++++++++++++ meson_options.txt | 2 ++ 5 files changed, 46 insertions(+), 16 deletions(-) -- 2.27.0
Comments
25/02/2021 16:29, Bruce Richardson: > To allow more flexibility in enabling additional build checks to DPDK build > process, we can add a developer mode option to the build. With this option > enabled, extra checks of interest to DPDK developers rather than users can be > done on the code, without having to worry about possible user impacts. The new > option can be manually enabled or disabled by using meson configure, but by > default is set to "auto" which means it is enabled if building from a git repo. > > Once the developer mode is added in the first patch, the other patches of this > series turn off a number of previous features for non-developer builds, since > those features would only be of interest to DPDK devs. > > Bruce Richardson (3): > build: enable a developer mode setting > build: hide debug messages in non-developer mode > build: limit symbol checks to developer mode Thanks for the quick patches. I like the idea.
25/02/2021 20:50, Thomas Monjalon: > 25/02/2021 16:29, Bruce Richardson: > > To allow more flexibility in enabling additional build checks to DPDK build > > process, we can add a developer mode option to the build. With this option > > enabled, extra checks of interest to DPDK developers rather than users can be > > done on the code, without having to worry about possible user impacts. The new > > option can be manually enabled or disabled by using meson configure, but by > > default is set to "auto" which means it is enabled if building from a git repo. > > > > Once the developer mode is added in the first patch, the other patches of this > > series turn off a number of previous features for non-developer builds, since > > those features would only be of interest to DPDK devs. > > > > Bruce Richardson (3): > > build: enable a developer mode setting > > build: hide debug messages in non-developer mode > > build: limit symbol checks to developer mode > > Thanks for the quick patches. > I like the idea. There was no comment and I found no issue. Applied, thanks