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 3C2EC45DB7; Wed, 27 Nov 2024 15:57:43 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3083040665; Wed, 27 Nov 2024 15:57:20 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) by mails.dpdk.org (Postfix) with ESMTP id 41D0F40665 for ; Wed, 27 Nov 2024 15:57:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1732719439; x=1764255439; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=IY55eu0egPfbmpjBpr3oHImXShMVhz/SSL0iNiP4sWA=; b=H9X/OyHNHTRZmikZ8tiunyTDloLJzs/ooWu6q+Sn2Uj5rTBybwtP5Mqt vjNxxt1XQRYAKkCk4QlgRz2PvwSby9v/Mt0u2UA+Rt/xQvW1tBM5Zzhlb wEftpnUDH2sg5oNTX057jT3o15S0KIG60Y0vUPIHl7SUiz4SitiSSqEet dZeYS33Nsr6Zx+cSjUJ3vchI3aHaYBYq4g2kj06EDMVMKMayianI62TKw 5v17DQNI58d1IYdQaHfC1relGVlxFIdGCI046+57aBp/HvbyCvXgOSfpD rwQylLDtGJwY1TUy7R6ip337Wf/gFOlaAfLMIdBeBX+dVfJR20ztrtv1G A==; X-CSE-ConnectionGUID: K5tMXGhYSE+R6u6mKmbHEQ== X-CSE-MsgGUID: LLM22v04S+exfNWZ96Y4+A== X-IronPort-AV: E=McAfee;i="6700,10204,11269"; a="32782149" X-IronPort-AV: E=Sophos;i="6.12,189,1728975600"; d="scan'208";a="32782149" 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:17 -0800 X-CSE-ConnectionGUID: ilA1wk3XQb23QG5tR4NftA== X-CSE-MsgGUID: IyVjl51HQP6I5/4TCUbOCQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,189,1728975600"; d="scan'208";a="96911470" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by orviesa005.jf.intel.com with ESMTP; 27 Nov 2024 06:57:09 -0800 From: Anatoly Burakov To: dev@dpdk.org, Chengwen Feng , Nicolas Chautru , Konstantin Ananyev , Fan Zhang , Ashish Gupta , Akhil Goyal , =?UTF-8?q?Mattias=20R=C3=B6nnblom?= , David Hunt , Kevin Laatz , Bruce Richardson , Byron Marohn , Yipeng Wang , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , Jerin Jacob , Vladimir Medvedkin , Elena Agostini , Kiran Kumar K , Nithin Dabilpuram , Zhirun Yan , Jiayu Hu , Sameh Gobriel , Reshma Pattan , =?UTF-8?q?Morten=20Br=C3=B8rup?= , Srikanth Yalavarthi , Pavan Nikhilesh , Stephen Hemminger , Anoob Joseph , Volodymyr Fialko , Cristian Dumitrescu , Sivaprasad Tummala , Sachin Saxena , Hemant Agrawal , Honnappa Nagarahalli , Ori Kam , Maxime Coquelin , Chenbo Xia Subject: [PATCH v5 5/8] build: reduce library dependencies Date: Wed, 27 Nov 2024 14:56:53 +0000 Message-ID: <73e75848e3ca1ff6706ab3766f785cebaedc9503.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 Rather than having each library depend up on EAL + any extra libs, we can take advantage of recursive dependency support in meson and just assign the dependencies of each directory directly, rather than appending to the array. For libraries which only depend upon EAL, keep that as a default, but for libraries which depend upon even a single extra lib, that EAL dependency is unnecessary. Going further, we can identify using the find_duplicate_deps.py script any unnecessary deps in each library's list, and remove them to slim the dependency tree down. Reducing number of dependencies means that meson takes less time processing and deduplicating the dependency tree for each component, and also shrinks the dependency graph for DPDK itself. Signed-off-by: Bruce Richardson --- lib/argparse/meson.build | 2 +- lib/bbdev/meson.build | 2 +- lib/bitratestats/meson.build | 2 +- lib/bpf/meson.build | 2 +- lib/cmdline/meson.build | 2 +- lib/compressdev/meson.build | 2 +- lib/cryptodev/meson.build | 2 +- lib/dispatcher/meson.build | 2 +- lib/distributor/meson.build | 2 +- lib/dmadev/meson.build | 2 -- lib/eal/meson.build | 5 +---- lib/efd/meson.build | 2 +- lib/ethdev/meson.build | 2 +- lib/eventdev/meson.build | 3 +-- lib/fib/meson.build | 4 +--- lib/gpudev/meson.build | 2 +- lib/graph/meson.build | 2 +- lib/gro/meson.build | 2 +- lib/gso/meson.build | 2 +- lib/hash/meson.build | 4 +--- lib/ip_frag/meson.build | 2 +- lib/ipsec/meson.build | 2 +- lib/kvargs/meson.build | 2 +- lib/latencystats/meson.build | 2 +- lib/lpm/meson.build | 4 +--- lib/mbuf/meson.build | 2 +- lib/member/meson.build | 2 +- lib/mempool/meson.build | 2 +- lib/metrics/meson.build | 2 +- lib/mldev/meson.build | 2 +- lib/net/meson.build | 2 +- lib/node/meson.build | 2 +- lib/pcapng/meson.build | 2 +- lib/pdcp/meson.build | 2 +- lib/pdump/meson.build | 2 +- lib/pipeline/meson.build | 2 +- lib/port/meson.build | 2 +- lib/power/meson.build | 3 +-- lib/rawdev/meson.build | 2 -- lib/rcu/meson.build | 2 +- lib/regexdev/meson.build | 2 +- lib/reorder/meson.build | 2 +- lib/rib/meson.build | 2 +- lib/ring/meson.build | 1 - lib/sched/meson.build | 2 +- lib/security/meson.build | 2 +- lib/table/meson.build | 2 +- lib/telemetry/meson.build | 2 +- lib/vhost/meson.build | 2 +- 49 files changed, 46 insertions(+), 62 deletions(-) diff --git a/lib/argparse/meson.build b/lib/argparse/meson.build index b6a08ca049..96abc8766f 100644 --- a/lib/argparse/meson.build +++ b/lib/argparse/meson.build @@ -4,4 +4,4 @@ sources = files('rte_argparse.c') headers = files('rte_argparse.h') -deps += ['log'] +deps = ['log'] diff --git a/lib/bbdev/meson.build b/lib/bbdev/meson.build index 07685e7578..2e68aa7873 100644 --- a/lib/bbdev/meson.build +++ b/lib/bbdev/meson.build @@ -11,4 +11,4 @@ sources = files('rte_bbdev.c') headers = files('rte_bbdev.h', 'rte_bbdev_pmd.h', 'rte_bbdev_op.h') -deps += ['mbuf'] +deps = ['mbuf'] diff --git a/lib/bitratestats/meson.build b/lib/bitratestats/meson.build index ede7e0a579..8defcd53bf 100644 --- a/lib/bitratestats/meson.build +++ b/lib/bitratestats/meson.build @@ -3,4 +3,4 @@ sources = files('rte_bitrate.c') headers = files('rte_bitrate.h') -deps += ['ethdev', 'metrics'] +deps = ['metrics'] diff --git a/lib/bpf/meson.build b/lib/bpf/meson.build index aa258a9061..82127bc657 100644 --- a/lib/bpf/meson.build +++ b/lib/bpf/meson.build @@ -31,7 +31,7 @@ headers = files('bpf_def.h', 'rte_bpf.h', 'rte_bpf_ethdev.h') -deps += ['mbuf', 'net', 'ethdev'] +deps = ['ethdev'] dep = dependency('libelf', required: false, method: 'pkg-config') if dep.found() diff --git a/lib/cmdline/meson.build b/lib/cmdline/meson.build index 63fb69100d..4451f3da29 100644 --- a/lib/cmdline/meson.build +++ b/lib/cmdline/meson.build @@ -31,4 +31,4 @@ else sources += files('cmdline_os_unix.c') endif -deps += ['net'] +deps = ['net'] diff --git a/lib/compressdev/meson.build b/lib/compressdev/meson.build index c80295dc0d..4b86955baf 100644 --- a/lib/compressdev/meson.build +++ b/lib/compressdev/meson.build @@ -16,4 +16,4 @@ driver_sdk_headers = files( 'rte_compressdev_pmd.h', 'rte_compressdev_internal.h', ) -deps += ['kvargs', 'mbuf'] +deps = ['mbuf'] diff --git a/lib/cryptodev/meson.build b/lib/cryptodev/meson.build index 4734acf321..74e42ac700 100644 --- a/lib/cryptodev/meson.build +++ b/lib/cryptodev/meson.build @@ -20,4 +20,4 @@ driver_sdk_headers += files( 'cryptodev_pmd.h', ) -deps += ['kvargs', 'mbuf', 'rcu', 'telemetry'] +deps = ['mbuf', 'rcu'] diff --git a/lib/dispatcher/meson.build b/lib/dispatcher/meson.build index ffaef26a6d..4dc1759951 100644 --- a/lib/dispatcher/meson.build +++ b/lib/dispatcher/meson.build @@ -10,4 +10,4 @@ endif sources = files('rte_dispatcher.c') headers = files('rte_dispatcher.h') -deps += ['eventdev'] +deps = ['eventdev'] diff --git a/lib/distributor/meson.build b/lib/distributor/meson.build index 24988c5827..ba43273bc3 100644 --- a/lib/distributor/meson.build +++ b/lib/distributor/meson.build @@ -14,4 +14,4 @@ else sources += files('rte_distributor_match_generic.c') endif headers = files('rte_distributor.h') -deps += ['mbuf'] +deps = ['mbuf'] diff --git a/lib/dmadev/meson.build b/lib/dmadev/meson.build index e66dcb66b0..70b375f1cb 100644 --- a/lib/dmadev/meson.build +++ b/lib/dmadev/meson.build @@ -11,5 +11,3 @@ sources = files('rte_dmadev.c', 'rte_dmadev_trace_points.c') headers = files('rte_dmadev.h') indirect_headers += files('rte_dmadev_core.h', 'rte_dmadev_trace_fp.h') driver_sdk_headers += files('rte_dmadev_pmd.h') - -deps += ['telemetry'] diff --git a/lib/eal/meson.build b/lib/eal/meson.build index e1d6c4cf17..d25443d097 100644 --- a/lib/eal/meson.build +++ b/lib/eal/meson.build @@ -14,10 +14,7 @@ subdir(exec_env) subdir(arch_subdir) -deps += ['log', 'kvargs'] -if not is_windows - deps += ['telemetry'] -endif +deps = ['kvargs', 'telemetry'] if dpdk_conf.has('RTE_USE_LIBBSD') ext_deps += libbsd endif diff --git a/lib/efd/meson.build b/lib/efd/meson.build index 343f14e1f3..da0ee7f803 100644 --- a/lib/efd/meson.build +++ b/lib/efd/meson.build @@ -9,4 +9,4 @@ endif sources = files('rte_efd.c') headers = files('rte_efd.h') -deps += ['ring', 'hash'] +deps = ['hash'] diff --git a/lib/ethdev/meson.build b/lib/ethdev/meson.build index f1d2586591..fc53a9c309 100644 --- a/lib/ethdev/meson.build +++ b/lib/ethdev/meson.build @@ -53,7 +53,7 @@ if is_linux ) endif -deps += ['net', 'kvargs', 'meter', 'telemetry'] +deps = ['net', 'meter'] if is_freebsd annotate_locks = false diff --git a/lib/eventdev/meson.build b/lib/eventdev/meson.build index a04bb86f0f..237df998ce 100644 --- a/lib/eventdev/meson.build +++ b/lib/eventdev/meson.build @@ -38,5 +38,4 @@ driver_sdk_headers += files( 'event_timer_adapter_pmd.h', ) -deps += ['ring', 'ethdev', 'hash', 'mempool', 'mbuf', 'timer', 'cryptodev', 'dmadev'] -deps += ['telemetry'] +deps = ['ethdev', 'hash', 'timer', 'cryptodev', 'dmadev'] diff --git a/lib/fib/meson.build b/lib/fib/meson.build index 0c19cc8201..ac040d5372 100644 --- a/lib/fib/meson.build +++ b/lib/fib/meson.build @@ -10,9 +10,7 @@ endif sources = files('rte_fib.c', 'rte_fib6.c', 'dir24_8.c', 'trie.c') headers = files('rte_fib.h', 'rte_fib6.h') -deps += ['rib'] -deps += ['rcu'] -deps += ['net'] +deps = ['rib', 'rcu'] if dpdk_conf.has('RTE_ARCH_X86_64') if target_has_avx512 diff --git a/lib/gpudev/meson.build b/lib/gpudev/meson.build index d21fadc052..5d883b85a1 100644 --- a/lib/gpudev/meson.build +++ b/lib/gpudev/meson.build @@ -13,4 +13,4 @@ sources = files( 'gpudev.c', ) -deps += ['mbuf'] +deps = ['mbuf'] diff --git a/lib/graph/meson.build b/lib/graph/meson.build index 0cb15442ab..f58f107d52 100644 --- a/lib/graph/meson.build +++ b/lib/graph/meson.build @@ -25,4 +25,4 @@ indirect_headers += files( 'rte_graph_worker_common.h', ) -deps += ['eal', 'pcapng', 'mempool', 'ring'] +deps = ['pcapng'] diff --git a/lib/gro/meson.build b/lib/gro/meson.build index dbce05220d..c6de6ceebc 100644 --- a/lib/gro/meson.build +++ b/lib/gro/meson.build @@ -10,4 +10,4 @@ sources = files( 'gro_vxlan_udp4.c', ) headers = files('rte_gro.h') -deps += ['ethdev'] +deps = ['ethdev'] diff --git a/lib/gso/meson.build b/lib/gso/meson.build index 622411df8f..bc99109933 100644 --- a/lib/gso/meson.build +++ b/lib/gso/meson.build @@ -10,4 +10,4 @@ sources = files( 'rte_gso.c', ) headers = files('rte_gso.h') -deps += ['ethdev'] +deps = ['ethdev'] diff --git a/lib/hash/meson.build b/lib/hash/meson.build index 7ce504ee8b..e6cb1ebe3b 100644 --- a/lib/hash/meson.build +++ b/lib/hash/meson.build @@ -26,6 +26,4 @@ sources = files( 'rte_thash_gf2_poly_math.c', ) -deps += ['net'] -deps += ['ring'] -deps += ['rcu'] +deps = ['net', 'rcu'] diff --git a/lib/ip_frag/meson.build b/lib/ip_frag/meson.build index ea2de09f75..cacf391460 100644 --- a/lib/ip_frag/meson.build +++ b/lib/ip_frag/meson.build @@ -10,4 +10,4 @@ sources = files( 'ip_frag_internal.c', ) headers = files('rte_ip_frag.h') -deps += ['ethdev', 'hash'] +deps = ['ethdev', 'hash'] diff --git a/lib/ipsec/meson.build b/lib/ipsec/meson.build index 5c5a4aae78..7abbac5b6a 100644 --- a/lib/ipsec/meson.build +++ b/lib/ipsec/meson.build @@ -14,6 +14,6 @@ sources = files('esp_inb.c', 'esp_outb.c', headers = files('rte_ipsec.h', 'rte_ipsec_sa.h', 'rte_ipsec_sad.h') indirect_headers += files('rte_ipsec_group.h') -deps += ['mbuf', 'net', 'cryptodev', 'security', 'hash', 'telemetry'] +deps = ['security', 'hash'] annotate_locks = false diff --git a/lib/kvargs/meson.build b/lib/kvargs/meson.build index 7eae744a8f..7282b0ff8d 100644 --- a/lib/kvargs/meson.build +++ b/lib/kvargs/meson.build @@ -1,6 +1,6 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -deps += 'log' +deps = ['log'] sources = files('rte_kvargs.c') headers = files('rte_kvargs.h') diff --git a/lib/latencystats/meson.build b/lib/latencystats/meson.build index 286558dd79..f8b9a8aeec 100644 --- a/lib/latencystats/meson.build +++ b/lib/latencystats/meson.build @@ -3,4 +3,4 @@ sources = files('rte_latencystats.c') headers = files('rte_latencystats.h') -deps += ['metrics', 'ethdev'] +deps = ['metrics'] diff --git a/lib/lpm/meson.build b/lib/lpm/meson.build index fae4f79fb9..5031b085c4 100644 --- a/lib/lpm/meson.build +++ b/lib/lpm/meson.build @@ -18,6 +18,4 @@ indirect_headers += files( 'rte_lpm_sse.h', 'rte_lpm_sve.h', ) -deps += ['hash'] -deps += ['rcu'] -deps += ['net'] +deps = ['hash'] diff --git a/lib/mbuf/meson.build b/lib/mbuf/meson.build index 2cee9057a5..22f5a3038b 100644 --- a/lib/mbuf/meson.build +++ b/lib/mbuf/meson.build @@ -20,4 +20,4 @@ headers = files( 'rte_mbuf_pool_ops.h', 'rte_mbuf_dyn.h', ) -deps += ['mempool'] +deps = ['mempool'] diff --git a/lib/member/meson.build b/lib/member/meson.build index 02ef59795e..b951aa566e 100644 --- a/lib/member/meson.build +++ b/lib/member/meson.build @@ -16,7 +16,7 @@ sources = files( 'rte_member_vbf.c', ) -deps += ['hash', 'ring'] +deps = ['hash'] # compile AVX512 version if: if dpdk_conf.has('RTE_ARCH_X86_64') and binutils_ok diff --git a/lib/mempool/meson.build b/lib/mempool/meson.build index 8099a56466..0c0b3ea0c5 100644 --- a/lib/mempool/meson.build +++ b/lib/mempool/meson.build @@ -19,4 +19,4 @@ headers = files( 'rte_mempool.h', 'rte_mempool_trace_fp.h', ) -deps += ['ring', 'telemetry'] +deps = ['ring'] diff --git a/lib/metrics/meson.build b/lib/metrics/meson.build index 8c1c4b4b49..5165967646 100644 --- a/lib/metrics/meson.build +++ b/lib/metrics/meson.build @@ -8,4 +8,4 @@ if dpdk_conf.has('RTE_HAS_JANSSON') ext_deps += jansson_dep endif -deps += ['ethdev', 'telemetry'] +deps = ['ethdev'] diff --git a/lib/mldev/meson.build b/lib/mldev/meson.build index 2c933baad6..6069fff1f0 100644 --- a/lib/mldev/meson.build +++ b/lib/mldev/meson.build @@ -41,7 +41,7 @@ driver_sdk_headers += files( 'mldev_utils.h', ) -deps += ['mempool', 'mbuf'] +deps = ['mbuf'] if get_option('buildtype').contains('debug') cflags += [ '-DRTE_LIBRTE_ML_DEV_DEBUG' ] diff --git a/lib/net/meson.build b/lib/net/meson.build index 8afcc4ed37..a99d57e514 100644 --- a/lib/net/meson.build +++ b/lib/net/meson.build @@ -37,7 +37,7 @@ sources = files( 'rte_net.c', 'rte_net_crc.c', ) -deps += ['mbuf'] +deps = ['mbuf'] if dpdk_conf.has('RTE_ARCH_X86_64') net_crc_sse42_cpu_support = (cc.get_define('__PCLMUL__', args: machine_args) != '') diff --git a/lib/node/meson.build b/lib/node/meson.build index 0bed97a96c..368ce1dc63 100644 --- a/lib/node/meson.build +++ b/lib/node/meson.build @@ -34,4 +34,4 @@ headers = files( # Strict-aliasing rules are violated by uint8_t[] to context size casts. cflags += '-fno-strict-aliasing' -deps += ['graph', 'mbuf', 'lpm', 'ethdev', 'mempool', 'cryptodev', 'ip_frag'] +deps = ['graph', 'lpm', 'cryptodev', 'ip_frag'] diff --git a/lib/pcapng/meson.build b/lib/pcapng/meson.build index 4549925d41..e8f059a9b0 100644 --- a/lib/pcapng/meson.build +++ b/lib/pcapng/meson.build @@ -4,4 +4,4 @@ sources = files('rte_pcapng.c') headers = files('rte_pcapng.h') -deps += ['ethdev'] +deps = ['ethdev'] diff --git a/lib/pdcp/meson.build b/lib/pdcp/meson.build index f4f9246bcb..f6f3d6237a 100644 --- a/lib/pdcp/meson.build +++ b/lib/pdcp/meson.build @@ -18,4 +18,4 @@ sources = files( headers = files('rte_pdcp.h') indirect_headers += files('rte_pdcp_group.h') -deps += ['mbuf', 'net', 'cryptodev', 'security', 'reorder'] +deps = ['security', 'reorder'] diff --git a/lib/pdump/meson.build b/lib/pdump/meson.build index da8d51b616..23d7db794b 100644 --- a/lib/pdump/meson.build +++ b/lib/pdump/meson.build @@ -9,4 +9,4 @@ endif sources = files('rte_pdump.c') headers = files('rte_pdump.h') -deps += ['ethdev', 'bpf', 'pcapng'] +deps = ['bpf', 'pcapng'] diff --git a/lib/pipeline/meson.build b/lib/pipeline/meson.build index fd5e0dc6bb..f08eca70d1 100644 --- a/lib/pipeline/meson.build +++ b/lib/pipeline/meson.build @@ -25,4 +25,4 @@ headers = files( 'rte_swx_extern.h', 'rte_swx_ctl.h', ) -deps += ['port', 'table', 'meter', 'sched', 'cryptodev', 'ipsec'] +deps = ['table', 'ipsec'] diff --git a/lib/port/meson.build b/lib/port/meson.build index b597772872..0524c3c049 100644 --- a/lib/port/meson.build +++ b/lib/port/meson.build @@ -40,7 +40,7 @@ headers = files( 'rte_swx_port_ring.h', 'rte_swx_port_source_sink.h', ) -deps += ['ethdev', 'sched', 'ip_frag', 'cryptodev', 'eventdev'] +deps = ['sched', 'ip_frag', 'eventdev'] if dpdk_conf.has('RTE_HAS_LIBPCAP') dpdk_conf.set('RTE_PORT_PCAP', 1) diff --git a/lib/power/meson.build b/lib/power/meson.build index b3a7bc7b2e..5673db4e5c 100644 --- a/lib/power/meson.build +++ b/lib/power/meson.build @@ -26,5 +26,4 @@ headers = files( 'rte_power_qos.h', 'rte_power_uncore.h', ) - -deps += ['timer', 'ethdev'] +deps = ['timer', 'ethdev'] diff --git a/lib/rawdev/meson.build b/lib/rawdev/meson.build index 7dfc3d5cf9..8841f003d7 100644 --- a/lib/rawdev/meson.build +++ b/lib/rawdev/meson.build @@ -9,5 +9,3 @@ endif sources = files('rte_rawdev.c') headers = files('rte_rawdev.h', 'rte_rawdev_pmd.h') - -deps += ['telemetry'] diff --git a/lib/rcu/meson.build b/lib/rcu/meson.build index 71143f5210..b78f46fad7 100644 --- a/lib/rcu/meson.build +++ b/lib/rcu/meson.build @@ -10,4 +10,4 @@ endif sources = files('rte_rcu_qsbr.c') headers = files('rte_rcu_qsbr.h') -deps += ['ring'] +deps = ['ring'] diff --git a/lib/regexdev/meson.build b/lib/regexdev/meson.build index 426e764ece..3e20fa387d 100644 --- a/lib/regexdev/meson.build +++ b/lib/regexdev/meson.build @@ -10,4 +10,4 @@ endif sources = files('rte_regexdev.c') headers = files('rte_regexdev.h', 'rte_regexdev_driver.h') indirect_headers += files('rte_regexdev_core.h') -deps += ['mbuf'] +deps = ['mbuf'] diff --git a/lib/reorder/meson.build b/lib/reorder/meson.build index 03aed53d90..1e088a7d97 100644 --- a/lib/reorder/meson.build +++ b/lib/reorder/meson.build @@ -3,4 +3,4 @@ sources = files('rte_reorder.c') headers = files('rte_reorder.h') -deps += ['mbuf'] +deps = ['mbuf'] diff --git a/lib/rib/meson.build b/lib/rib/meson.build index e98f708481..70a9072255 100644 --- a/lib/rib/meson.build +++ b/lib/rib/meson.build @@ -4,4 +4,4 @@ sources = files('rte_rib.c', 'rte_rib6.c') headers = files('rte_rib.h', 'rte_rib6.h') -deps += ['net', 'mempool'] +deps = ['net'] diff --git a/lib/ring/meson.build b/lib/ring/meson.build index 7fca958ed7..c20685c689 100644 --- a/lib/ring/meson.build +++ b/lib/ring/meson.build @@ -18,4 +18,3 @@ indirect_headers += files ( 'rte_ring_rts.h', 'rte_ring_rts_elem_pvt.h', ) -deps += ['telemetry'] diff --git a/lib/sched/meson.build b/lib/sched/meson.build index df75db51ed..7ca8ec09df 100644 --- a/lib/sched/meson.build +++ b/lib/sched/meson.build @@ -15,4 +15,4 @@ headers = files( 'rte_sched_common.h', 'rte_pie.h', ) -deps += ['mbuf', 'meter'] +deps = ['mbuf', 'meter'] diff --git a/lib/security/meson.build b/lib/security/meson.build index 1034a7a299..e4545a8c72 100644 --- a/lib/security/meson.build +++ b/lib/security/meson.build @@ -3,4 +3,4 @@ sources = files('rte_security.c') headers = files('rte_security.h', 'rte_security_driver.h') -deps += ['mempool', 'cryptodev', 'net'] +deps = ['cryptodev', 'net'] diff --git a/lib/table/meson.build b/lib/table/meson.build index 9b3d9ac759..78d7e87eab 100644 --- a/lib/table/meson.build +++ b/lib/table/meson.build @@ -39,7 +39,7 @@ headers = files( 'rte_table_lpm_ipv6.h', 'rte_table_stub.h', ) -deps += ['mbuf', 'port', 'lpm', 'hash', 'acl'] +deps = ['port', 'lpm', 'acl'] indirect_headers += files( 'rte_lru_arm64.h', diff --git a/lib/telemetry/meson.build b/lib/telemetry/meson.build index 489d000047..3e3a2cfc32 100644 --- a/lib/telemetry/meson.build +++ b/lib/telemetry/meson.build @@ -1,7 +1,7 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Intel Corporation -deps += 'log' +deps = ['log'] sources = files('telemetry.c', 'telemetry_data.c', 'telemetry_legacy.c') headers = files('rte_telemetry.h') includes += include_directories('../metrics') diff --git a/lib/vhost/meson.build b/lib/vhost/meson.build index 51bcf17244..5103bca069 100644 --- a/lib/vhost/meson.build +++ b/lib/vhost/meson.build @@ -45,4 +45,4 @@ headers = files( driver_sdk_headers = files( 'vdpa_driver.h', ) -deps += ['ethdev', 'cryptodev', 'hash', 'pci', 'dmadev'] +deps = ['ethdev', 'cryptodev', 'hash', 'pci', 'dmadev'] -- 2.43.5