1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2018 6WIND S.A.
3 # Copyright 2018 Mellanox Technologies, Ltd
7 reason = 'only supported on Linux'
11 allow_experimental_apis = true
12 deps += ['hash', 'common_mlx5']
35 if (dpdk_conf.has('RTE_ARCH_X86_64')
36 or dpdk_conf.has('RTE_ARCH_ARM64')
37 or dpdk_conf.has('RTE_ARCH_PPC_64'))
38 sources += files('mlx5_rxtx_vec.c')
42 '-Wno-strict-prototypes',
47 foreach option:cflags_options
48 if cc.has_argument(option)
52 if get_option('buildtype').contains('debug')
53 cflags += [ '-pedantic', '-UNDEBUG', '-DPEDANTIC' ]
55 cflags += [ '-DNDEBUG', '-UPEDANTIC' ]