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 5D2654571A; Fri, 2 Aug 2024 14:44:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E031142E77; Fri, 2 Aug 2024 14:44:34 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) by mails.dpdk.org (Postfix) with ESMTP id 22BA142E74 for ; Fri, 2 Aug 2024 14:44:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1722602673; x=1754138673; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=pxHSNj4K3SGT7RW9hsAaYiF4VmK2ziDLC3Mr48y7Q6s=; b=RElboBivF0RbYQbzSYhoMpb5cYYi1QAsCXTkRVdZG2XPlL3oKQ+2gtqc iCHC/xkmwd9eexRtYq/dEvT6/Mme0hYieXRcaU3A3YRKys8cFFk2dJ5k9 BGbvgHyI2UPlELyabPfXB+hhrJcx+ARM4vGiHfrD49k+xPjSXCeyX6m6r g+4KGr5v82LHRAT8CSBU2ygDW/886wjjxzigd8m8//qHVtj5lAtH52VTA BtqlrQOaIL0I+slZ5yGtGLymE2z0J11twyo8p0fdz2Nq1tppsM+x4YErz z9zMMdhnIJi/j9BQfqwAe+oAgR/jGoNFFwF6ucPFCKdw6Hi96apjity2U Q==; X-CSE-ConnectionGUID: HXZ/OH9cQPuR280r6LnnWg== X-CSE-MsgGUID: T3yf28O3SZWAytXf0pSmrA== X-IronPort-AV: E=McAfee;i="6700,10204,11152"; a="20499778" X-IronPort-AV: E=Sophos;i="6.09,257,1716274800"; d="scan'208";a="20499778" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2024 05:44:32 -0700 X-CSE-ConnectionGUID: pltnYnBQQDWjdgLDA8RuGw== X-CSE-MsgGUID: BQ9rE674RtmlsoIPRtmRAw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,257,1716274800"; d="scan'208";a="56149907" Received: from silpixa00401385.ir.intel.com ([10.237.214.25]) by orviesa008.jf.intel.com with ESMTP; 02 Aug 2024 05:44:31 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: ferruh.yigit@amd.com, konstantin.ananyev@huawei.com, anatoly.burakov@intel.com, Bruce Richardson Subject: [PATCH v2 4/7] build: reduce library dependencies Date: Fri, 2 Aug 2024 13:44:08 +0100 Message-ID: <20240802124411.485430-5-bruce.richardson@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240802124411.485430-1-bruce.richardson@intel.com> References: <20240730145508.551075-1-bruce.richardson@intel.com> <20240802124411.485430-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 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 | 2 +- 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 | 3 +-- 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 | 2 +- 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(+), 58 deletions(-) diff --git a/lib/argparse/meson.build b/lib/argparse/meson.build index 8ab4c408ee..5d602c1f2a 100644 --- a/lib/argparse/meson.build +++ b/lib/argparse/meson.build @@ -10,4 +10,4 @@ endif 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 6795f41a0a..9ba8e50fe0 100644 --- a/lib/fib/meson.build +++ b/lib/fib/meson.build @@ -10,7 +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 = ['rib'] # compile AVX512 version if: # we are building 64-bit binary AND binutils can generate proper code 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 277eb9fa93..74b81397f9 100644 --- a/lib/hash/meson.build +++ b/lib/hash/meson.build @@ -25,6 +25,4 @@ sources = files( 'rte_thash_gfni.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 ae30f80b69..5031b085c4 100644 --- a/lib/lpm/meson.build +++ b/lib/lpm/meson.build @@ -18,5 +18,4 @@ indirect_headers += files( 'rte_lpm_sse.h', 'rte_lpm_sve.h', ) -deps += ['hash'] -deps += ['rcu'] +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 acce66cb97..25b26a50fa 100644 --- a/lib/mempool/meson.build +++ b/lib/mempool/meson.build @@ -25,4 +25,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 0b69138949..2cb511f046 100644 --- a/lib/net/meson.build +++ b/lib/net/meson.build @@ -34,7 +34,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 b8426589b2..190bbf90a2 100644 --- a/lib/power/meson.build +++ b/lib/power/meson.build @@ -33,4 +33,4 @@ headers = files( if cc.has_argument('-Wno-cast-qual') cflags += '-Wno-cast-qual' endif -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 7bacbb4535..2085beb444 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 += ['mempool'] +deps = ['mempool'] 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 41b622a9be..51bbd87397 100644 --- a/lib/vhost/meson.build +++ b/lib/vhost/meson.build @@ -42,4 +42,4 @@ headers = files( driver_sdk_headers = files( 'vdpa_driver.h', ) -deps += ['ethdev', 'cryptodev', 'hash', 'pci', 'dmadev'] +deps = ['ethdev', 'cryptodev', 'hash', 'pci', 'dmadev'] -- 2.43.0