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 9FC1F45907; Thu, 5 Sep 2024 08:05:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5825A40264; Thu, 5 Sep 2024 08:05:15 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 112E44025C for ; Thu, 5 Sep 2024 08:05:14 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 091B122D4D; Thu, 5 Sep 2024 08:05:12 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH v3 0/8] record and rework component dependencies Date: Thu, 5 Sep 2024 08:05:08 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F6A0@smartserver.smartshare.dk> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v3 0/8] record and rework component dependencies Thread-Index: Adr+3FhC80+7UZc3QqKrpON09jAzpQAfPpzQ References: <20240730145508.551075-1-bruce.richardson@intel.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Anatoly Burakov" , Cc: 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 > From: Anatoly Burakov [mailto:anatoly.burakov@intel.com] >=20 > 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. >=20 > 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. >=20 > 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. >=20 For the series, Acked-by: Morten Br=F8rup