[PATCH 7/7] build: make reorder library optional
Bruce Richardson
bruce.richardson at intel.com
Thu Jun 22 15:48:40 CEST 2023
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
app/test/meson.build | 6 ++++--
lib/meson.build | 1 +
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/app/test/meson.build b/app/test/meson.build
index e8dbbadd5e..13bd752002 100644
--- a/app/test/meson.build
+++ b/app/test/meson.build
@@ -96,7 +96,6 @@ test_sources = files(
'test_reciprocal_division_perf.c',
'test_red.c',
'test_pie.c',
- 'test_reorder.c',
'test_rib.c',
'test_rib6.c',
'test_ring.c',
@@ -221,7 +220,6 @@ fast_tests = [
['power_autotest', true, true],
['power_kvm_vm_autotest', false, true],
['power_intel_uncore_autotest', true, true],
- ['reorder_autotest', true, true],
['service_autotest', true, true],
['thash_autotest', true, true],
['threads_autotest', true, true],
@@ -382,6 +380,10 @@ if dpdk_conf.has('RTE_LIB_MEMBER')
fast_tests += [['member_autotest', true, true]]
perf_test_names += 'member_perf_autotest'
endif
+if dpdk_conf.has('RTE_LIB_REORDER')
+ test_sources += 'test_reorder.c'
+ fast_tests += [['reorder_autotest', true, true]]
+endif
if not is_windows and dpdk_conf.has('RTE_LIB_TELEMETRY')
test_sources += ['test_telemetry_json.c', 'test_telemetry_data.c']
fast_tests += [['telemetry_json_autotest', true, true]]
diff --git a/lib/meson.build b/lib/meson.build
index 7fb0cf4c4e..be4c6113fe 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -95,6 +95,7 @@ optional_libs = [
'power',
'rawdev',
'regexdev',
+ 'reorder',
'table',
'vhost',
]
--
2.39.2
More information about the dev
mailing list