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 deps += ['hash', 'common_mlx5']
33 if (dpdk_conf.has('RTE_ARCH_X86_64')
34 or dpdk_conf.has('RTE_ARCH_ARM64')
35 or dpdk_conf.has('RTE_ARCH_PPC_64'))
36 sources += files('mlx5_rxtx_vec.c')
40 '-Wno-strict-prototypes',
45 foreach option:cflags_options
46 if cc.has_argument(option)
50 if get_option('buildtype').contains('debug')
51 cflags += [ '-pedantic', '-DPEDANTIC' ]
53 cflags += [ '-UPEDANTIC' ]