From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4C443A0547; Sun, 18 Apr 2021 10:45:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2261E410D8; Sun, 18 Apr 2021 10:45:29 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2068.outbound.protection.outlook.com [40.107.223.68]) by mails.dpdk.org (Postfix) with ESMTP id 44032410D7 for ; Sun, 18 Apr 2021 10:45:27 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EjfJA/TLgib8jdDFIUx1ZYojj+O8VMWETqqDp+eupfeEkhV34MiBB6IdXSKE6CUkYLDDFkTcyrhPt7k1EB4b4kySbHahPFM4cvZQSMeMH+0kdhb9ASqOlXzpF8wVnP3LCKr1Psun9AoLUEWJ0CzJ8zdFh0M3L4phvS+5T/7rnuNRpEpSlwGHJeedP9i361w2mnqpTiZntDy0EhVQkFGgHjAT2WL+wDZwP4Cy2UoSYPOJ9Lzn/RtLgokxRuORnGoibkJDqCkWVvfPj5HoGCrFnOZT5i6dHfjeL8NAkBvOtM1jQ8TIDffp4/qrPu2q50yi+vuXSDPginnqSyM5Gsjhzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NJoJUcOc8RoDRanKXhqREqW+/V3Qdv/rZxvtY+nngXk=; b=Mz0GaS9cmVJEhpLXA5QgcVw0jGTz8O34LIoysHm5fCc3Er4rimwPhrb1KY3UfzU2QRobu2CWedQQR7lsV3DCK/IBp9g/1LNpVXTJRyaIdS9I+giLkVNPidjNdmgy64tYzB3ArDMT8ZGox/6BlL5uGizmjoSPVmkBA6x4gHbCpjP5NAF9HGtkcUrsQ8eujW1bPjx99bPlvXa7cCu+eTJbBUeuV2vPqqFJPrJ08HtDR4kDPZ/r+RQ6E2fgB/USaGdK0r1WT+tUavw////P3+eXjKcrGppGal0TrusxMJtmGDteELlyXuafDBxQ8xufn89YyyaAmFFmDqkUku0y8r03zw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NJoJUcOc8RoDRanKXhqREqW+/V3Qdv/rZxvtY+nngXk=; b=F4Amu/yOco21yRlrb3x8w7qyAZBaEm0PUVXMry6NVhpTh+Vh5rxMyPzbxds7CPUfsM4c3pUzAcwlvgRxxr8QmuxEkNUaHjDM2c8nRCBd8t08XJGE0FEqQxEeDYG35EfPHiDfD93UM1Z/012+QTALMgOF5nmUphnrj1tQI4w6AOxcIagl7R0f7VdfYbtsvvNMFRjgLSnQt7ab1I+YouEE/284nxNE4eZZ3s30ZTS+IExXFDh0QGkX2MQtIopvNeuujfUyuHVV6RJib3a3+wyllcvTESm7zq8LprKGsHybKZrxBuiKEN3xZCLY30fd4stXOXEbwO8WrUrwygyx4tFb5A== Received: from BY5PR12MB4324.namprd12.prod.outlook.com (2603:10b6:a03:209::10) by BY5PR12MB4148.namprd12.prod.outlook.com (2603:10b6:a03:208::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.16; Sun, 18 Apr 2021 08:45:25 +0000 Received: from BY5PR12MB4324.namprd12.prod.outlook.com ([fe80::b919:53f4:6757:331c]) by BY5PR12MB4324.namprd12.prod.outlook.com ([fe80::b919:53f4:6757:331c%6]) with mapi id 15.20.4042.023; Sun, 18 Apr 2021 08:45:25 +0000 From: "Xueming(Steven) Li" To: Bruce Richardson , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 00/14] Build file updates Thread-Index: AQHXMuKslUmIxxtWWkCbKXlEmNkANKq59IAg Date: Sun, 18 Apr 2021 08:45:25 +0000 Message-ID: References: <20210401115009.1063844-1-bruce.richardson@intel.com> <20210416170458.50188-1-bruce.richardson@intel.com> In-Reply-To: <20210416170458.50188-1-bruce.richardson@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [240e:46c:aa00:243f:18ce:18d8:ea12:5948] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cbee3035-b26c-44f0-9f40-08d902464f76 x-ms-traffictypediagnostic: BY5PR12MB4148: x-microsoft-antispam-prvs: x-ms-exchange-transport-forked: True x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YpUUKPGPM2YlLHGSYo90SjBDT7lD54kWkX8kUqEcqy2593sSm8l259e206gAcgqg3oXynrnRlsV3WycFeB1IloZGArFdlEu0iASkzSIMCqIVUApgSQH06obOSEGaL/rWMwjRM6mwdc0D8ktP2WO26xGXjN5MNbWk2dn3yHgAIrdbM/+ve+pwk8MOAetOh7bE3Lb6/YRLdiLIJiGE16sHBAfiNU1QYms31tryG9yizCoYCLgodW383Opuy9dQWluNzFfbr44435EYtP170Gw6G78UolHF5FY0ojV0KJM6uQcutIIKJP4OFGfD52Ts5ov7IgItXPUDBrE5FFh+Zgxs5BfLaVnJdl+bQYKwvbNjQV9mIP1MNi7H6UDdV7h1lrs1LaL1Xo1Grf/Xa/z0acvc0MIKK87J+A52xnwVZZJGtsVYOPbvHcNdQ/68OWHuaMUBCcWXwClluZx6i01f+zabC5LPPTxeq091BS8oH8yeDMew7S0yfp2rdelvuYzaUFHodS42s4n+Juje/Y+NcqfRzer65So7XEWiyZ8UsC50lwQxYFvxZJrmNB1Xm7+eh21KVNtIGRzM1w7d/FrXMvjA4715iZJo+PkL1rSOqKE7Iuw= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR12MB4324.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39860400002)(346002)(376002)(396003)(136003)(478600001)(5660300002)(9686003)(122000001)(2906002)(316002)(8936002)(86362001)(8676002)(110136005)(15650500001)(38100700002)(66556008)(55016002)(6506007)(52536014)(66946007)(83380400001)(71200400001)(66476007)(64756008)(76116006)(186003)(66446008)(33656002)(7696005)(53546011); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?6fTwZYccFJYHWSvSX519RixkymA7ht5mH+BqQ+xKAZl8WnNY/J3BVGQ2/9Br?= =?us-ascii?Q?shbwxjxEG23xfWbmw32WnGpWZpfUdOM7nlR9SE3A1FFVYIbrV4JZrn7ZRQMW?= =?us-ascii?Q?IA9XzEJsNp6eZvxW30Ql091QayWPpN/cmRD9dFILh1ccAJr+MKXL+Xok+AJn?= =?us-ascii?Q?zBBzwlxUw3CXru3yz3M34LmOe+lNUgHzpV2K3lzi5Eg+FVZXQtvbHM6vC14T?= =?us-ascii?Q?3UL7f5Dovff0yF1ggiTmcERUkQ+GxECzWqG+B/wFrYWhD/95cQPJeSgA64+W?= =?us-ascii?Q?unrO/0XvEHcP1sjrlAlsLHVRkUtFkjm8PTGJwaMAcVu63+nJTas2RNSNZox4?= =?us-ascii?Q?pIHZKD+zhnP9n8/Uv4DI3rEbnd0fBVqYROBf5JzeAMriC0XczV0VlvT0JSvF?= =?us-ascii?Q?iOGyRa7LOdWjo8HTqAf6BFcjLhtkKIyChX7Wlm5uvxr3g7bsk5vaITcgkd75?= =?us-ascii?Q?fRBmZmFD4xT6mmv/bYBlCcpam8Ce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Ph8PF9Pq4WbumnDqMcMY/T/LIQ?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4324.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cbee3035-b26c-44f0-9f40-08d902464f76 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Apr 2021 08:45:25.1655 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JSmFnijP1XvdiOwh01hg8jP7zYk9/OP7Oj7GkubukE4G7l60wv0VIgrDJ9V4K0CkbiO98bDJRpj4xNo344JRgQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4148 Subject: Re: [dpdk-dev] [PATCH 00/14] Build file updates X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Hi Bruce, > -----Original Message----- > From: dev On Behalf Of Bruce Richardson > Sent: Saturday, April 17, 2021 1:05 AM > To: dev@dpdk.org > Cc: Bruce Richardson > Subject: [dpdk-dev] [PATCH 00/14] Build file updates >=20 > This RFC contains 5 changes/updates to the DPDK build and build files. >=20 > The changes in this set are: > 1. Use "continue" keyword, new in 0.49 to shorten and reduce indentation = levels > in the foreach loops when building library or driver components. > 2. For libraries, drop support for header-only libraries, which was added= just > for the "compat" lib which had a single header, and is now part of EAL= . This > similarly reduces indentation levels and makes the code easier to foll= ow > 3. Since the larger blocks of meson code in our repo is seeing massive > whitespace changes, take the opportunity to switch our indentation sty= le for > meson files from that of C-files using tabs, to Meson/Python style usi= ng > spaces. [More below on this for discussion] > 4. Remove the "librte_" prefix from all our library directories. While as= useful > cleanup, the main driver for this was that it simplifies the matching = for #5 > below. > 5. Add a "disable_libs" build option to allow the user to optionally not = build > certain components. Include in this an explicit list of libraries whic= h are > "known safe" to disable in the build. For now this is a short list of = three > libs, all of which are safe because they are not buildable on FreeBSD.= More > work is needed to expand this list in future. Great feature, very useful for PMD developer who only focus on some specifi= c class driver, most drivers and libs are not relevant, disable them will spe= ed up build process significantly, this always happen when switch release or reba= se code. Currently I collected a long disabled driver list for my minimal build, hav= e to update time to time as dpdk community grows quickly. An enable_list might be more = efficient here to allow minimal lib/drivers for net, vdpa etc.. plus specific pmd dri= ver for NIC on hand. Alternative way might be Linux ".config" file style which specifies module = enable/disable states. Not related this this patch set, off-topic discussion :) Best Regards, Xueming