build: detect micro-arch on ARM
[dpdk.git] / app / test-eventdev / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Cavium, Inc
3
4 sources = files('evt_main.c',
5                 'evt_options.c',
6                 'evt_test.c',
7                 'parser.c',
8                 'test_order_common.c',
9                 'test_order_atq.c',
10                 'test_order_queue.c',
11                 'test_perf_common.c',
12                 'test_perf_atq.c',
13                 'test_perf_queue.c')
14
15 dep_objs = [get_variable(get_option('default_library') + '_rte_eventdev')]
16
17 link_libs = []
18 if get_option('default_library') == 'static'
19         link_libs = dpdk_drivers
20 endif
21
22 executable('dpdk-test-eventdev',
23         sources,
24         c_args: [machine_args, '-DALLOW_EXPERIMENTAL_API'],
25         link_whole: link_libs,
26         dependencies: dep_objs,
27         install_rpath: join_paths(get_option('prefix'), driver_install_path),
28         install: true)