1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2018 6WIND S.A.
3 # Copyright 2018 Mellanox Technologies, Ltd
5 if not (is_linux or is_windows)
7 reason = 'only supported on Linux and Windows'
11 deps += ['hash', 'common_mlx5']
32 if (dpdk_conf.has('RTE_ARCH_X86_64')
33 or dpdk_conf.has('RTE_ARCH_ARM64')
34 or dpdk_conf.has('RTE_ARCH_PPC_64'))
35 sources += files('mlx5_rxtx_vec.c')
39 '-Wno-strict-prototypes',
44 foreach option:cflags_options
45 if cc.has_argument(option)
49 if get_option('buildtype').contains('debug')
50 cflags += [ '-pedantic', '-DPEDANTIC' ]
52 cflags += [ '-UPEDANTIC' ]