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 AB46045903; Wed, 4 Sep 2024 17:09:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45091427B4; Wed, 4 Sep 2024 17:09:21 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) by mails.dpdk.org (Postfix) with ESMTP id D3698427A8 for ; Wed, 4 Sep 2024 17:09:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725462559; x=1756998559; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=L5k8GxZ+xVT5B2h8QRN1kUu+YY2q2scNm8Q1Co8fRsk=; b=ij+Es+cGQvbIuXqTykpUL9MxPw99+PQtlGEVE6ldUz9AvUO6Q/As6vy6 M4XD2G1VHXztBRu0DNPAYOVaRboYPYbG0HBkNFjo/0UIiQPIoyyH4z/+K AHdXS1mPfR7XzkKiKsrvdEM+PHoxZ+vsbde4OgJzvedN970ktyqc8A3E4 tfQh6kxFctV+t48cgsZ3bJbUHRcIeO7g4XrAtq8NagnOMz591wwYanypt uqcbUxzPc7akY14QHnBTXYaXwXGxBn90LYisgPTCxFjFnnfcKJNU6jyho aM7Gw9uhRwM+5RWQmWeC+2Xjv7wFyx2xvyg6lMgGXd1w6jNPwmoQcynZz g==; X-CSE-ConnectionGUID: PEM4IofcTn2sWMAWR0T9dw== X-CSE-MsgGUID: MXLJRwNKSbWo/0UGvpu3YA== X-IronPort-AV: E=McAfee;i="6700,10204,11185"; a="23641229" X-IronPort-AV: E=Sophos;i="6.10,202,1719903600"; d="scan'208";a="23641229" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Sep 2024 08:09:09 -0700 X-CSE-ConnectionGUID: 5Tg3TINYSKyTGE7joOTCOQ== X-CSE-MsgGUID: 6fgmIv3/TlyFEgqLLUDIZg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,202,1719903600"; d="scan'208";a="96108041" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by fmviesa001.fm.intel.com with ESMTP; 04 Sep 2024 08:09:07 -0700 From: Anatoly Burakov To: dev@dpdk.org, Reshma Pattan , Stephen Hemminger , Sunil Kumar Kori , Rakesh Kudurumalla , Brian Dooley , Vladimir Medvedkin , Konstantin Ananyev Subject: [PATCH v3 7/8] build: reduce app dependencies Date: Wed, 4 Sep 2024 16:08:35 +0100 Message-ID: <397cae94a44ffe3eeb3c4ec6998d183cb415e280.1725462264.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 2.43.5 In-Reply-To: References: <20240730145508.551075-1-bruce.richardson@intel.com> 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 6dc54d5ee6..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'] +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 156592119b..24b75b9ace 100644 --- a/app/proc-info/meson.build +++ b/app/proc-info/meson.build @@ -8,7 +8,7 @@ if is_windows endif sources = files('main.c') -deps += ['ethdev', 'security', 'eventdev'] +deps += ['security', 'eventdev'] if dpdk_conf.has('RTE_LIB_METRICS') optional_deps += 'metrics' endif diff --git a/app/test-crypto-perf/meson.build b/app/test-crypto-perf/meson.build index 05c71e0a0c..8904f8607d 100644 --- a/app/test-crypto-perf/meson.build +++ b/app/test-crypto-perf/meson.build @@ -19,7 +19,7 @@ sources = files( 'cperf_test_verify.c', 'main.c', ) -deps += ['cryptodev', 'net', 'security'] +deps += ['cryptodev'] if dpdk_conf.has('RTE_CRYPTO_SCHEDULER') optional_deps += 'crypto_scheduler' endif 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 bb0a38b3a5..f0a8e58218 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