From 2ff67267b049d5bc85e545b635138523a91b36ca Mon Sep 17 00:00:00 2001 From: Pavan Nikhilesh Date: Fri, 19 Jan 2018 23:45:21 +0530 Subject: [PATCH] app/eventdev: build with meson Signed-off-by: Pavan Nikhilesh Acked-by: Bruce Richardson --- app/meson.build | 1 + app/test-eventdev/meson.build | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 app/test-eventdev/meson.build diff --git a/app/meson.build b/app/meson.build index c5b785928d..0088de4640 100644 --- a/app/meson.build +++ b/app/meson.build @@ -2,3 +2,4 @@ # Copyright(c) 2017 Intel Corporation subdir('test-pmd') +subdir('test-eventdev') diff --git a/app/test-eventdev/meson.build b/app/test-eventdev/meson.build new file mode 100644 index 0000000000..e5be150d0b --- /dev/null +++ b/app/test-eventdev/meson.build @@ -0,0 +1,28 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2017 Cavium, Inc + +sources = files('evt_main.c', + 'evt_options.c', + 'evt_test.c', + 'parser.c', + 'test_order_common.c', + 'test_order_atq.c', + 'test_order_queue.c', + 'test_perf_common.c', + 'test_perf_atq.c', + 'test_perf_queue.c') + +dep_objs = [get_variable(get_option('default_library') + '_rte_eventdev')] + +link_libs = [] +if get_option('default_library') == 'static' + link_libs = dpdk_drivers +endif + +executable('dpdk-test-eventdev', + sources, + c_args: [machine_arg, '-DALLOW_EXPERIMENTAL_API'], + link_whole: link_libs, + dependencies: dep_objs, + install_rpath: join_paths(get_option('prefix'), driver_install_path), + install: true) -- 2.20.1