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 6930945DAB; Tue, 26 Nov 2024 15:43:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 23D5140ED3; Tue, 26 Nov 2024 15:43:41 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) by mails.dpdk.org (Postfix) with ESMTP id 649E440A6D for ; Tue, 26 Nov 2024 15:43:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1732632219; x=1764168219; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=VRF2q9QsKt7MwfrwebsfqljRejPWnHW16Pqi63vhbPc=; b=OwqJL3rvwiaIy1/Poy/S0kop530ATpBRYFrxHwmtEbpFvZgDx4a64ZiT e5DEmQzL5m2Sa5QOAdTZpcLvKj+JuYw6ZS+toknSt/FUGzf1Kmn5AcBFf 7V+scKoE09hCW4uXCkyqsuvr3PihW1yZ7lo3LffoxzqGX8943sI//baKY qwFqtYkB4OLVyWplgUdue/7dfMAVw1dz8aSLV3N7bSrXQIMifJ0nTdiat XxDgRyRNze8uubP8ABX/akhq1l28Q9jfqhOJ8dUHZV8hmdIxeZxoXKPlT QK5mf4ZC0MObg3GgAFUoJwnd3elTgZrLUXG/PDq1vQpQ9CbEhhuoUuemX w==; X-CSE-ConnectionGUID: hB1jr2s3Q3OEohoDB/y9Cg== X-CSE-MsgGUID: 6zhRyUdoRAKh/Vxvc3HfDw== X-IronPort-AV: E=McAfee;i="6700,10204,11268"; a="32166764" X-IronPort-AV: E=Sophos;i="6.12,186,1728975600"; d="scan'208";a="32166764" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2024 06:43:38 -0800 X-CSE-ConnectionGUID: mhp2zq80TmyFL02C87CUTQ== X-CSE-MsgGUID: ALhXpRb1RsyJzfAPHQBoCA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,199,1725346800"; d="scan'208";a="96695568" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by orviesa003.jf.intel.com with ESMTP; 26 Nov 2024 06:43:38 -0800 From: Anatoly Burakov To: dev@dpdk.org Subject: [PATCH v2 0/1] Add DPDK build directory configuration script Date: Tue, 26 Nov 2024 14:43:35 +0000 Message-ID: X-Mailer: git-send-email 2.43.5 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Note: this patch depends upon Bruce's v4 patchset: https://patches.dpdk.org/project/dpdk/list/?series=34036 This patch is based on initial script for VSCode configuration: https://patches.dpdk.org/project/dpdk/patch/6a6b20c037cffcc5f68a341c4b4e4f21990ae991.1721997016.git.anatoly.burakov@intel.com/ This is a TUI frontend for Meson. It is by no means meant to be used as a replacement for using Meson proper, it is merely a shortcut for those who constantly deal with creating new Meson build directories but don't want to type out all components each time. It relies on dependency graphs from the above Bruce's patchset (v3 introduced support for optional dependencies, which this script requires) to work. It'll create a Meson build directory in the background, enabling all options, and then using both dependency graph and meson introspection to figure out what can be built, and what dependencies it has. With this script it is possible to produce very minimal builds - the script is not only able to track dependencies between components to enable them, but it can also (with a command line switch) specify which libraries we want to enable (omitting those not required by currently selected components). This can be useful for users who frequently reconfigure their tree with e.g. debug/release, shared/static etc. builds while keeping the reconfiguration time fairly small. We used to have a "setup.sh" script to "set up" DPDK. This is not that, but it's a good start. Anatoly Burakov (1): devtools: add DPDK build directory setup script devtools/dpdk-setup.py | 784 ++++++++++++++++++++++++++++ doc/guides/linux_gsg/build_dpdk.rst | 26 + 2 files changed, 810 insertions(+) create mode 100755 devtools/dpdk-setup.py -- 2.43.5