[PATCH v3 2/3] build: remove 5 libs from mandatory list
Bruce Richardson
bruce.richardson at intel.com
Wed Dec 20 15:21:51 CET 2023
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 <bruce.richardson at intel.com>
---
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 = []
--
2.40.1
More information about the dev
mailing list