From patchwork Wed Dec 20 14:21:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 135399 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CF63B4374A; Wed, 20 Dec 2023 15:22:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E6B942DDB; Wed, 20 Dec 2023 15:22:13 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 0E804402DD for ; Wed, 20 Dec 2023 15:22:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703082132; x=1734618132; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ulWDhu3PePWZ52ieIDDobnpN0ruFY9qyL/twPACqSHw=; b=ensep+5rmXInGNnWw5S+Rayk8JlNvCoQk2hMu9WclFU86WRHwt3A+RMh 3dciKhahFUv3YwPSOd9kWuqJ3Qq9HqJw44WMhtw1uYZR7ZNf5deKdm4Gb yGBT6WunIbMr4I+n7Ra5+39V66xDXL/I7KcSfzfn4jWyri23MyNNrkCUn brLDz9rp/FAb9l1+UJFgs8Fy1L1VJixqji6zs0LLBV7pf5HxxcS/SPpAg W0mFFQN/uyLADcqJq5XXX58E8kJdM3UlFq7YX6g4t3QI0HpzzHw/XPpyF NLhWay6FJg5ltZ5GBvzSXihkJFvTzIbBBLNIfFOiEPEMbglBWvcur5OT7 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10930"; a="375974402" X-IronPort-AV: E=Sophos;i="6.04,291,1695711600"; d="scan'208";a="375974402" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2023 06:22:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10930"; a="899730860" X-IronPort-AV: E=Sophos;i="6.04,291,1695711600"; d="scan'208";a="899730860" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.148]) by orsmga004.jf.intel.com with ESMTP; 20 Dec 2023 06:22:10 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: mb@smartsharesystems.com, Bruce Richardson Subject: [PATCH v3 2/3] build: remove 5 libs from mandatory list Date: Wed, 20 Dec 2023 14:21:51 +0000 Message-Id: <20231220142152.492556-3-bruce.richardson@intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231220142152.492556-1-bruce.richardson@intel.com> References: <20231103162830.593702-1-bruce.richardson@intel.com> <20231220142152.492556-1-bruce.richardson@intel.com> MIME-Version: 1.0 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 Remove five more libs from the mandatory build list. Only one needing any special treatment is LPM, which is an optional dependency for some secondary process autotests. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- app/test/meson.build | 4 ++-- lib/meson.build | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index dcc93f4a43..6389ae83ee 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -7,7 +7,7 @@ sources += files('commands.c', 'test.c') # optional dependencies: some files may use these - and so we should link them in - # but do not explicitly require them so they are not listed in the per-file lists below -optional_deps = ['crypto_scheduler'] +optional_deps = ['crypto_scheduler', 'lpm'] # some other utility C files, providing functions used by various tests # so we need to include these deps in the dependency list for the files using those fns. @@ -126,7 +126,7 @@ source_file_deps = { 'test_memzone.c': [], 'test_meter.c': ['meter'], 'test_metrics.c': ['metrics'], - 'test_mp_secondary.c': ['hash', 'lpm'], + 'test_mp_secondary.c': ['hash'], 'test_net_ether.c': ['net'], 'test_pcapng.c': ['ethdev', 'net', 'pcapng', 'bus_vdev'], 'test_pdcp.c': ['eventdev', 'pdcp', 'net', 'timer', 'security'], diff --git a/lib/meson.build b/lib/meson.build index 8c922d3097..72e9138d14 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -76,26 +76,21 @@ if is_ms_compiler endif always_enable = [ - 'acl', 'cmdline', 'eal', 'ethdev', - 'fib', 'hash', 'kvargs', 'log', - 'lpm', 'mbuf', 'mempool', 'meter', 'net', 'pci', 'rcu', - 'rib', 'ring', 'stack', 'telemetry', - 'timer', ] enable_deprecated_libs = []