This library is not essential for most DPDK uses, so mark it as optional
in the build config.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
---
app/test/meson.build | 6 ++++--
lib/meson.build | 1 +
2 files changed, 5 insertions(+), 2 deletions(-)
@@ -94,7 +94,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',
@@ -219,7 +218,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],
@@ -387,6 +385,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]]
@@ -96,6 +96,7 @@ optional_libs = [
'power',
'rawdev',
'regexdev',
+ 'reorder',
'table',
'vhost',
]