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 E85EA45DB7; Wed, 27 Nov 2024 15:57:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9088A40A82; Wed, 27 Nov 2024 15:57:36 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) by mails.dpdk.org (Postfix) with ESMTP id 03C234060A for ; Wed, 27 Nov 2024 15:57:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1732719453; x=1764255453; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=sUTvw//T7LnD9fnA/ZItOsqBIQN+JrPLXNWNOYHRd4g=; b=U7jRp9LVSIpf7bchyjTqHPqZxSx7oWzsXmS6TwPZnKtjz9hXVPbLX9mW anq32kQr0yFfRf4MhiNMMAUBRmJ/o/TKMJ+XRZLMwnfeokxZUhnlPRnIa tiYLDkEV7dN55Ol7EWkrxCpFSqVCdP7uHWjpcaImAsWOml/aKuODTfODj qrMZs62/iVOcA7CiV64mSXgT89Y3yhAC1okxJyDFHnxCAZHQ6gSId3MT9 lnH+aKvJBboqzayTA1ikZJA+kyuZ/5ns8LgU9YpC/tqFJTk5GikfYKrzy HdC1U1pSVH7Eea5tE6gPy+WdpoIY5FOjou2d5CPTPlLyZagNxkfIdGquc g==; X-CSE-ConnectionGUID: PRualL8KTlaqCoZhh/taeA== X-CSE-MsgGUID: sqix7JM8RtKwHEvMCdrWwg== X-IronPort-AV: E=McAfee;i="6700,10204,11269"; a="32782219" X-IronPort-AV: E=Sophos;i="6.12,189,1728975600"; d="scan'208";a="32782219" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2024 06:57:33 -0800 X-CSE-ConnectionGUID: 5ktbygHETNK1IYGGUM1X4Q== X-CSE-MsgGUID: Z5dHXSZ8TGqRDBADYgiy7A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,189,1728975600"; d="scan'208";a="96911528" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by orviesa005.jf.intel.com with ESMTP; 27 Nov 2024 06:57:31 -0800 From: Anatoly Burakov To: dev@dpdk.org, Reshma Pattan , Stephen Hemminger , Sunil Kumar Kori , Rakesh Kudurumalla , Brian Dooley , Vladimir Medvedkin , Konstantin Ananyev Subject: [PATCH v5 7/8] build: reduce app dependencies Date: Wed, 27 Nov 2024 14:56:55 +0000 Message-ID: <0334ffa604ec69e4b6f73738cd4f62b3520fff9d.1732719309.git.anatoly.burakov@intel.com> 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 From: Bruce Richardson Remove any unnecessary dependencies from the app dependency lists. This will give each app a near-minimum set of required dependencies. Signed-off-by: Bruce Richardson --- app/dumpcap/meson.build | 2 +- app/graph/meson.build | 2 +- app/pdump/meson.build | 2 +- app/proc-info/meson.build | 2 +- app/test-crypto-perf/meson.build | 2 +- app/test-fib/meson.build | 2 +- app/test-sad/meson.build | 2 +- app/test/meson.build | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/dumpcap/meson.build b/app/dumpcap/meson.build index 69c016c780..6204cf051a 100644 --- a/app/dumpcap/meson.build +++ b/app/dumpcap/meson.build @@ -14,4 +14,4 @@ endif ext_deps += pcap_dep sources = files('main.c') -deps += ['ethdev', 'pdump', 'pcapng', 'bpf'] +deps += ['pdump'] diff --git a/app/graph/meson.build b/app/graph/meson.build index 344e4a418f..9c4cd080d9 100644 --- a/app/graph/meson.build +++ b/app/graph/meson.build @@ -9,7 +9,7 @@ if not build subdir_done() endif -deps += ['graph', 'eal', 'lpm', 'ethdev', 'node', 'cmdline', 'net'] +deps += ['node', 'cmdline'] sources = files( 'cli.c', 'conn.c', diff --git a/app/pdump/meson.build b/app/pdump/meson.build index fb282bba1f..a10f9d6124 100644 --- a/app/pdump/meson.build +++ b/app/pdump/meson.build @@ -8,4 +8,4 @@ if is_windows endif sources = files('main.c') -deps += ['ethdev', 'kvargs', 'pdump'] +deps += ['pdump'] diff --git a/app/proc-info/meson.build b/app/proc-info/meson.build index 5fefb0857e..3631d7a675 100644 --- a/app/proc-info/meson.build +++ b/app/proc-info/meson.build @@ -8,5 +8,5 @@ if is_windows endif sources = files('main.c') -deps += ['ethdev', 'security', 'eventdev'] +deps += ['security', 'eventdev'] optional_deps += 'metrics' diff --git a/app/test-crypto-perf/meson.build b/app/test-crypto-perf/meson.build index 1ac0ac1099..839d42e28d 100644 --- a/app/test-crypto-perf/meson.build +++ b/app/test-crypto-perf/meson.build @@ -19,5 +19,5 @@ sources = files( 'cperf_test_verify.c', 'main.c', ) -deps += ['cryptodev', 'net', 'security'] +deps += ['cryptodev'] optional_deps += 'crypto_scheduler' diff --git a/app/test-fib/meson.build b/app/test-fib/meson.build index eb36772cf3..25e2ea1a1d 100644 --- a/app/test-fib/meson.build +++ b/app/test-fib/meson.build @@ -8,4 +8,4 @@ if is_windows endif sources = files('main.c') -deps += ['fib', 'lpm', 'net'] +deps += ['fib', 'lpm'] diff --git a/app/test-sad/meson.build b/app/test-sad/meson.build index a50616a9c7..414e2a05cb 100644 --- a/app/test-sad/meson.build +++ b/app/test-sad/meson.build @@ -8,4 +8,4 @@ if is_windows endif sources = files('main.c') -deps += ['ipsec', 'net'] +deps += ['ipsec'] diff --git a/app/test/meson.build b/app/test/meson.build index 36c2016a49..a77c152ef3 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -2,7 +2,7 @@ # Copyright(c) 2017-2023 Intel Corporation # the main test files [test.c and commands.c] relies on these libraries -deps += ['cmdline', 'ring', 'mempool', 'mbuf'] +deps += ['cmdline'] sources += files('commands.c', 'test.c') # optional dependencies: some files may use these - and so we should link them in - -- 2.43.5