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 8C95245700; Wed, 31 Jul 2024 12:18:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A66A40DD5; Wed, 31 Jul 2024 12:18:40 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2086.outbound.protection.outlook.com [40.107.244.86]) by mails.dpdk.org (Postfix) with ESMTP id D1FA240668 for ; Wed, 31 Jul 2024 12:18:03 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=u+KE5d2IpVYiHjDZfr+eJ70UJNOJoZJpfSCw/pd3VjC0M2YGrW2S90Erhgb8sMfXID8wudOazEX+nAaOl6GGBdLdrJzIcc5Vy7u6KuSIIsQrQ7qfeDftvJtb/N40ylaDjec6kSTLWdhEGOKrFfbKkkP7DmABAMBQLVuw6X3ZxUi6nPsFLd7dzxCXfp2R47XJJtiEjdKzXza0V55Cnk9metDNWXfoGp3D6NR/Uvl/BBdZ8EsYJybwDAn7KbUwyJRQ68FPUihYQcIWc3YuAtYYSN7TOGnTD6iTclS+G+az5fuxcbPPyNcDJdydjuQK6ye/Z+kpAdASYeTNU+lHqXrhDQ== 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=WgRJuydPhpiFJTfqQeq1KF5kS4Wa3F8jh7Vko6wSnoI=; b=QiNJW++xCGmpj0S++kcejvCGaQ+GHFYCVEOPCWMFLN9Q6+dEpXJoRCHQAHxLKwn8wYsurwznRXZU3Mc6J8m02N2QfIgY7ab6d1WkqFnwDpPT5gi9gb283gj2qQRgTI2w4sRZFsRNQCSOaFr891C0hspVzsIhUeqUZfIIelHXraJgpMqKIyqqEFk7Z/zZ6ZTpnF40EhROa6HfiMmHz4FAlVZRaWsvwSD7ilaCOUDbwMssQjcJIZF4EB3M1VbRUaUvtr7AeCAGwX2nFaDy/zL370Llci5sOewnjhcTIUxOXxkRGW2igSy+pQ3bwRxoPSzoLm4+piVrjij5I1TZ385bjg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WgRJuydPhpiFJTfqQeq1KF5kS4Wa3F8jh7Vko6wSnoI=; b=qcjNJzAFv6W7uYlDGv2U/e/zcJF8xkScGHzc501Z1k3XuY8fL6zuFxELMrzAON9e5Ir3+/YKRG25XnqdjHy9VsBq1dtXkigZr8YrcAbOVBlDV8ydIjPysbyJELteSaeiOyaYvXD9Vs4jZRnpjYMFbIiTqFcSN1lmOLWJPYn1/p4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MN2PR12MB4301.namprd12.prod.outlook.com (2603:10b6:208:1d4::22) by PH7PR12MB7844.namprd12.prod.outlook.com (2603:10b6:510:27b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Wed, 31 Jul 2024 10:18:00 +0000 Received: from MN2PR12MB4301.namprd12.prod.outlook.com ([fe80::5b9:d5fd:8122:7c77]) by MN2PR12MB4301.namprd12.prod.outlook.com ([fe80::5b9:d5fd:8122:7c77%5]) with mapi id 15.20.7828.016; Wed, 31 Jul 2024 10:18:00 +0000 Message-ID: Date: Wed, 31 Jul 2024 11:17:54 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] build: output a dependency log in build directory To: Bruce Richardson , dev@dpdk.org Cc: anatoly.burakov@intel.com References: <20240730145508.551075-1-bruce.richardson@intel.com> Content-Language: en-US From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6UdcP/0/kEp49aIUhkRnQfmKmNVpcBEs4NqceNC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-bruce.richardson@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LNXP265CA0026.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5c::14) To MN2PR12MB4301.namprd12.prod.outlook.com (2603:10b6:208:1d4::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR12MB4301:EE_|PH7PR12MB7844:EE_ X-MS-Office365-Filtering-Correlation-Id: 7e12f66a-27de-4e7d-fcda-08dcb14a0d49 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?dStIRnd0TGJERlhOVGJXWDQ2akNzeVhkL0ppRHg5TVNzd3hGM0Npb1lpZGNX?= =?utf-8?B?U2FZU3YrSExGdGtMcE1NNFNqbFpFbnVtVENPVCtScjVtbFhqQUMzVWI3SHVa?= =?utf-8?B?eDdRamM4ODVrckhzNWVhaFBkUHBDb1lSZkFEZ05sbEFnRW1Ybkp5Uk5wd2Mz?= =?utf-8?B?Ym50R2JBcmNobUYrNnFSaUdmRXY5L3pmQTJ0d1ZjbzdOVWYwd21ISHlHdzhy?= =?utf-8?B?UG5NeVI2bUl5RkJvWHNEbE1RajB0bDZCSzZyN21QSFFJQkI4L0VMMkxMOGdk?= =?utf-8?B?b1doMzVTS1NsbVVXYVY0dGFXbGp3R0xsdHRMeDhMWWM5NURrUm43WTFJZ1Zs?= =?utf-8?B?OVJra0pRa0xhT2VEL29pQm9rLzZhQVZCb2svb2dDa2NGZXU3MFVQdmlMRVQ4?= =?utf-8?B?K2cwMHh4NVJDWkh2OVlnRW52K0tXK29uYVR2d25SMHI2T2dLY2JlaEtuRTBh?= =?utf-8?B?bGFxNVhFbTl1am9uUmd0RG8vcGVSRnp4VEJqeTBtWVhzWVRiMDF4UzQzZWNG?= =?utf-8?B?YlVseTRVQU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WlI1ZnhJblVFK3lWMjArOEdXQklVVFpXOVpoYzdZblluUC8wWDEwanZISWU3?= =?utf-8?B?QnVrY001KzJNc09EQjNkR0Y4dVN1UmU0U1VyZ3JkUWlvbyt6MU4yTXUvRy9s?= =?utf-8?B?Q2xWSGpYbkJJMjlMcFkwQlE4cXZzcmJmdGUzREttTkJJQVo1K3pXcEJhSTN6?= =?utf-8?B?d3RsS1J5aUJNT3ZsKzdSS1F0SHd4b0kxL0k3d01ZK3FvcHBlSDVPM040RFM0?= =?utf-8?B?VG90Q215cmdmYzRvTmJHQWJKSHVDSm1CaGo0RUthM1NvZExES1RLT1pOSU94?= =?utf-8?Q?6yscNQaBsPTzY6vSTQ=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB4301.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Rit1bXV1LzcwNTdzUHZjRkY2RnZMWEpWeGFjNWJxSTRYZGdxUjEvcWFqbVZC?= =?utf-8?B?TFl4WXByZ1RTMFJCeWpzdTBXeEx0d2xUTHJYMmZWSENSTnRjWjREeDVqMDlk?= =?utf-8?B?UHBJdTU0Z0ErT0ZvRy8yVGhCV29KVEx4UUF3cnE4WklwdG9SaysySzRzdEJH?= =?utf-8?B?ZDQ1YzIwdW9waEkwdURNYUdFaFlrY2NlaVlCZUVaV1Y2WFAvUWUzMEptaVdw?= =?utf-8?B?UGUxS09CY29TdEdVdjhVMk5XUHg4UzNLKzI5ME9KQm8xZGhtbGlidS9QZEo1?= =?utf-8?B?ZEF2RzVMbzJDQzZKNVY2QWlwMG5mWHhOamM2VkpWY2l4YzRoUlZRMTRuVFNE?= =?utf-8?B?NE9CMUxEYnNSZk1yVVJIOUllclFYVEl5b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network-Message-Id: 7e12f66a-27de-4e7d-fcda-08dcb14a0d49 X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4301.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2024 10:18:00.4826 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: RhhQJG+3rIsoHg/HwWc2WT+9FAYBCUlQqvOUmwDScND7DrwrBLsOlPnnGLUFhepz X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB7844 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 7/30/2024 3:55 PM, Bruce Richardson wrote: > As meson processes our DPDK source tree it manages dependencies > specified by each individual driver. To enable future analysis of the > dependency links between components, log the dependencies of each DPDK > component as it gets processed. This could potentially allow other tools > to automatically enable or disable components based on the desired end > components to be built, e.g. if the user requests net/ice, ensure that > common/iavf is also enabled in the drivers. > > The output file produced is in "dot" or "graphviz" format, which allows > producing a graphical representation of the DPDK dependency tree if so > desired. For example: "dot -Tpng -O build/deps.dot" to produce the > image file "build/deps.dot.png". > > Signed-off-by: Bruce Richardson > I tested it quickly, good to have this dependency list, at least it makes some duplicated dependencies obvious from .dot file. But generated dependency graph is too large to be useful, does it make sense to have a new meson option that control this dependency generation: -Dgenerate_deps=apps -Dgenerate_deps=libs -Dgenerate_deps=drivers -Dgenerate_deps=all Not sure about what should be the default option, as this is not always required/used, disabling this option by default saves unnecessary work, but disabling it by default may cause not noticing when it is broken, perhaps this can be addressed by adding this option to 'devtools/test-meson-builds.sh'. btw, it generates following warning: WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 > --- > app/meson.build | 1 + > buildtools/log-deps.py | 43 ++++++++++++++++++++++++++++++++++++++++++ > buildtools/meson.build | 2 ++ > drivers/meson.build | 1 + > lib/meson.build | 1 + > 5 files changed, 48 insertions(+) > create mode 100644 buildtools/log-deps.py > > diff --git a/app/meson.build b/app/meson.build > index 5b2c80c7a1..6afa457f4c 100644 > --- a/app/meson.build > +++ b/app/meson.build > @@ -76,6 +76,7 @@ foreach app:apps > > if build > subdir(name) > + run_command([log_deps_cmd, name, deps]) > if not build and require_apps > error('Cannot build explicitly requested app "@0@".\n'.format(name) > + '\tReason: ' + reason) > diff --git a/buildtools/log-deps.py b/buildtools/log-deps.py > new file mode 100644 > index 0000000000..a4331fa15b > --- /dev/null > +++ b/buildtools/log-deps.py > @@ -0,0 +1,43 @@ > +#! /usr/bin/env python3 > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright(c) 2024 Intel Corporation > + > +"""Utility script to build up a list of dependencies from meson.""" > + > +import os > +import sys > + > + > +def file_to_list(filename): > + """Read file into a list of strings.""" > + with open(filename) as f: > + return f.readlines() > + > + > +def list_to_file(filename, lines): > + """Write a list of strings out to a file.""" > + with open(filename, 'w') as f: > + f.writelines(lines) > + > + > +depsfile = f'{os.environ["MESON_BUILD_ROOT"]}/deps.dot' > + > +# to reset the deps file on each build, the script is called without any params > +if len(sys.argv) == 1: > + os.remove(depsfile) > + sys.exit(0) > + > +try: > + contents = file_to_list(depsfile) > +except FileNotFoundError: > + contents = ['digraph {\n', '}\n'] > + > +component = sys.argv[1] > +if len(sys.argv) > 2: > + contents[-1] = f'"{component}" -> {{ "{"\", \"".join(sys.argv[2:])}" }}\n' > +else: > + contents[-1] = f'"{component}"\n' > + > +contents.append('}\n') > + > +list_to_file(depsfile, contents) > diff --git a/buildtools/meson.build b/buildtools/meson.build > index 3adf34e1a8..332f0f3d38 100644 > --- a/buildtools/meson.build > +++ b/buildtools/meson.build > @@ -24,6 +24,8 @@ get_numa_count_cmd = py3 + files('get-numa-count.py') > get_test_suites_cmd = py3 + files('get-test-suites.py') > has_hugepages_cmd = py3 + files('has-hugepages.py') > cmdline_gen_cmd = py3 + files('dpdk-cmdline-gen.py') > +log_deps_cmd = py3 + files('log-deps.py') > +run_command(log_deps_cmd) # call with no parameters to reset the file > > # install any build tools that end-users might want also > install_data([ > diff --git a/drivers/meson.build b/drivers/meson.build > index 66931d4241..44935e067c 100644 > --- a/drivers/meson.build > +++ b/drivers/meson.build > @@ -154,6 +154,7 @@ foreach subpath:subdirs > if build > # pull in driver directory which should update all the local variables > subdir(drv_path) > + run_command([log_deps_cmd, drv_path.underscorify(), deps]) > > if dpdk_conf.get('RTE_IOVA_IN_MBUF') == 0 and require_iova_in_mbuf > build = false > diff --git a/lib/meson.build b/lib/meson.build > index 162287753f..da2815465f 100644 > --- a/lib/meson.build > +++ b/lib/meson.build > @@ -160,6 +160,7 @@ foreach l:libraries > > if build > subdir(l) > + run_command([log_deps_cmd, l, deps]) > if not build and require_libs > error('Cannot build explicitly requested lib "@0@".\n'.format(name) > +'\tReason: ' + reason)