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 57EC545DAB; Tue, 26 Nov 2024 16:11:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4354240268; Tue, 26 Nov 2024 16:11:52 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) by mails.dpdk.org (Postfix) with ESMTP id DCB0F4025F for ; Tue, 26 Nov 2024 16:11:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1732633910; x=1764169910; h=message-id:date:subject:from:to:references:in-reply-to: content-transfer-encoding:mime-version; bh=r+tQurrlqpBlRqLtXAQ88SGBauHpFukpYUvvXCOeSTg=; b=PTnOqoTY2v4193tDYN4AHUEyFwrU1MdfljnvRLP3hOrbrTMQZEJ8YXh2 uvINw8iXLEKMwAdXnjH1vobwTF/lNmpo/8nHLipoE5aekoXji+KpXRHG7 nLtueDoXDnGTYdLEpCLNQyDgCkloagh+92GYZaMayHD1JBwCgam/Af71N busAfTJoT19Foj9QInGfh+DJ37wAHs06FJofxakJgcE91qyt5fJXcLW5m 8cAlbWpFKNJSi7vq+LXvCM/k2D9Blb32fl1pUsRA3hb1KI57hOgGP2hZT WO1f7YU/1TC10Nqt13WD+UkPHXhVO1GqWNc7N4YQmMYqF5C37ZTtDEC50 w==; X-CSE-ConnectionGUID: JsWZ3AYmT5O8F/sMjhfmbw== X-CSE-MsgGUID: iNwqu9GyRTGKJm8KW7Hq1w== X-IronPort-AV: E=McAfee;i="6700,10204,11268"; a="43867028" X-IronPort-AV: E=Sophos;i="6.12,186,1728975600"; d="scan'208";a="43867028" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2024 07:11:49 -0800 X-CSE-ConnectionGUID: hIj7MvCAQUezDUi/BIQpgw== X-CSE-MsgGUID: LKKyx4A+QQKui4+cCqAckA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,186,1728975600"; d="scan'208";a="92055036" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orviesa007.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 26 Nov 2024 07:11:42 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 26 Nov 2024 07:11:41 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Tue, 26 Nov 2024 07:11:41 -0800 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.47) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 26 Nov 2024 07:11:41 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lpBQXrGgD70K+LlKI3h/w7DgtMO5WCVdOgXElCih+whzSN1092GXtOXaF5s3Hk6O9xEhydOC1Em0sIUYgKxOYaJFDQmyYoTr7YgJtHjT5HtJuoqRoxG+f325xms+7b15oRa0Uducmh1JKltr2GrTg20O2CAkH3cSYlQ65aEKFzfKkz+3RTlZurR2oOkXe+Teuh0dWLSIingt9wmbz1X0JGyiLu1OJyusexDtnVoSXKE4yQ3buTjWKoRVuzONztQ2qBSXmdqQrX/UneDpcPjOVha9gpsRtnjzohBHEMW9LZSx+rlSn9pzEhRVRkN8m3nFvD0gdk18GerTYjaTyHbydw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dXqMQvSyr0PrjYPZ5oVg9oxYRnxeV/qS5lzX2qoVQys=; b=uxju42AFlb+nORr/A9Lokb+x91bfgKk9N7lyxBWeVTGkLSagnzE3CHi9e9oFOTrpJXFSICJiJlz4fnv2oe5Nkh7IWZO/L0ohnCMsYdc4JWijwklJoqxqJgLeKW2dUgQB0CxwV/fTv8m/tCIjyx+nFu99a1HdSBzoRxOrC5fAF2IR95+sa16BCTeHtsiNyyeV+0gRX5h8lmxbD4kSWtDnYBWlMBDrth8mRK1fJxlk6CFUeF75moML8lYl6YhsIAR8MJhb6Wl6zPyBE83nvIYNvBdnAJu97cEgR2I+aXMHsTRH0PSss9gqhUqJ0Gol4oJZp7SyWK//RKVsDS1h+XwM5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) by DM6PR11MB4738.namprd11.prod.outlook.com (2603:10b6:5:2a3::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.19; Tue, 26 Nov 2024 15:11:33 +0000 Received: from DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::21e4:2d98:c498:2d7a]) by DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::21e4:2d98:c498:2d7a%3]) with mapi id 15.20.8207.010; Tue, 26 Nov 2024 15:11:32 +0000 Message-ID: Date: Tue, 26 Nov 2024 16:11:28 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 0/8] Record and rework component dependencies From: "Burakov, Anatoly" To: References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO2P265CA0293.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a5::17) To DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR11MB6502:EE_|DM6PR11MB4738:EE_ X-MS-Office365-Filtering-Correlation-Id: f9860c5e-61c6-472d-1ce3-08dd0e2c9ca5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?a0Q1M2RDcW9lZ0c3M2NhNnd0dlI1bXE0aUhUdjBwNXpiRDZMWmFpS09hbkNR?= =?utf-8?B?M1FLK25Zb3JlaWNkMnpqWFVuSVRnL0k2YXZEYWRkU2lXYXVybkRJdmdubk93?= =?utf-8?B?QnVld0VIWThTczQvSzJXMVUrcFVBbzkyVDdOODJSTWU0a2EvbDZTY3FlaytO?= =?utf-8?B?QVFhRjFubmV5Z3BqajRTNStUNCtMNlFabVN0VCtmZDNwTkc2VFl3c3JnM1dp?= =?utf-8?B?bVBWUFZuWTY1V0VHVUhNZzd5MWxoTitwUkx1UXV6QUlhdXlWc0RVU1lwZzQw?= =?utf-8?B?NDJkb1RQcDlPcFFWL202emVBdUNpWEo1WXM1WXZBV0w5YkZzUGRsMDFxalRG?= =?utf-8?B?TjlKb2hRWXFIaFNneWdUbnRzL2xFRGwvNlFuT1JRa1B6WFpRbHBHUXNGSFF6?= =?utf-8?B?R1d6ZDM4dnRzeFgybzIxRTJwTE1rZVpFd25wTHZMQ1RwcXdnNmZR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xSUFIOENFWm9RdFRkc3BvODRwQWx3?= =?utf-8?B?K2JiSjJtbzJlN1NBOTJJVzZIbGVjZ0UxSU0zQnJvYm1VWGsyS2l0M1ZGdGFj?= =?utf-8?B?OTNWdDIxVDA1WXMrRDNnTkVKV1JtTXhmbTZkajZ6TURIUzFXRE0zMjZnbU9Q?= =?utf-8?B?Tnpob2VjUkJZeERpbDRZSlordmQybTJsdVZ6Yy9zTkV5OGx5RDhsa2xoS1dV?= =?utf-8?B?T0VoUlRYeHkycXp0b2E2WWErcGJUcUQ5WkdkaUNmR08wZDFYa041VXh1SWZ1?= =?utf-8?B?VDJ4U2gwSnh0QkVRMnBMOWFwcHZsRGtHcmpLY2tnR0pRMmNFVGFweVJwajUr?= =?utf-8?B?VVNnUENQSU8zckZXakhmWnZESk1MTTNOK2Y4ZDFhcUxjeFF5U1Nyc3RNbEpP?= =?utf-8?B?OGpQc1V0NG9DQVgzUjZjLzNkMUx1WmdlQVlNZ09QbWE4YjY3UGowMkVMZmZW?= =?utf-8?B?QjdhNVhkTndsT05TNWZEQT09?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB6502.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?K3grS0lMdnJXZ0hhRFlONmdJbFpaaW9zWU9Ib0Q5U1ZVOTNFc3RoMTlQaWZO?= =?utf-8?B?cVl3MDZnWExJeUlJY0l4RDdwVk1lOUVaV1FBd29xbkhJenpQaDNzaFNwMVJY?= =?utf-8?B?Ly9mR21RRDk3TUY5SUNCVjBoVFUvUmtjc0hONk5GUHhoSEZtMkwwTC81NWJO?= =?utf-8?B?cDdISEwvdm5OTDdyQVpSazRiQTlrdW9GTWdPekRFdm9PQmVZS1JkTHh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Q2pLZEtnd2paUTNGR0MzWmRNOG1hQmtLbTM1cDRJUFc2MnMw?= =?utf-8?B?b1ZjTGs4WmpjOFJOUkY2cjlPLzlIckpqbXU2cGJZY0xtc3BmZHNoUDVTN3Rs?= =?utf-8?B?ck1ZVVNUZ2ZCRWN1RkJXWXdGaTJNdm5QNFJjNjlQYWxNYXppUE1ibnFZOGdT?= =?utf-8?B?aXc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: f9860c5e-61c6-472d-1ce3-08dd0e2c9ca5 X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6502.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2024 15:11:32.7842 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: /zyYGH5Z9eyJ2cUOoxX5ad06VfsccQDPV5Scg99e7mMz+8F5Ou3MteQLO3LWMFMTa+BXk/0wgqWbcNaeR4/3fC5ZLSsx9eri2C+HipiahQw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4738 X-OriginatorOrg: intel.com 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 On 11/26/2024 3:39 PM, Anatoly Burakov wrote: > As part of the meson build, we can record the dependencies for each > component as we process it, logging them to a file. This file can be > used as input to a number of other scripts and tools, for example, to > graph the dependencies, or to allow higher-level build-config tools to > automatically enable component requirements, etc. > > The first patch of this set separates dependencies inside meson into > optional or mandatory. The second patch of this set generates the basic > dependency tree. The third patch does some processing of that dependency > tree to identify cases where dependencies are being unnecessarily > specified. Reducing these makes it easier to have readable dependency > graphs in future, without affecting the build. > > The following 4 patches are based on the output of the second patch, and > greatly cut down the number of direct dependency links between > components. Even with the cut-down dependencies, the full dependency > graph is nigh-unreadable, so the final patch adds a new script to > generate dependency tree subgraphs, creating dot files for e.g. the > dependencies of a particular component, or a component class such as > mempool drivers. > > v3 -> v4: > - Update to latest main > > v2 -> v3: > - Split dependencies into optional and mandatory > - Fixup graph scripts to read and generate graphs that encode optional > dependencies into the graph > - Python version fixes to avoid using features not available in minimum > supported Python version > - Formatting with Ruff, and PEP-484 compliance Forgot the series ack: Acked-by: Morten Brørup -- Thanks, Anatoly