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']
12 headers = files('rte_pmd_mlx5.h')
45 if (dpdk_conf.has('RTE_ARCH_X86_64')
46 or dpdk_conf.has('RTE_ARCH_ARM64')
47 or dpdk_conf.has('RTE_ARCH_PPC_64'))
48 sources += files('mlx5_rxtx_vec.c')
54 '-Wno-strict-prototypes',
57 '-D_XOPEN_SOURCE=600',
59 foreach option:cflags_options
60 if cc.has_argument(option)
64 if get_option('buildtype').contains('debug')
65 cflags += [ '-pedantic', '-DPEDANTIC' ]
67 cflags += [ '-UPEDANTIC' ]