1 # SPDX-License-Identifier: BSD-3-Clause
3 # Copyright(c) 2019-2021 Xilinx, Inc.
5 # This software was jointly developed between OKTET Labs (under contract
6 # for Solarflare) and Solarflare Communications, Inc.
10 reason = 'not supported on Windows'
13 if (arch_subdir != 'x86' or not dpdk_conf.get('RTE_ARCH_64')) and (arch_subdir != 'arm' or not host_machine.cpu_family().startswith('aarch64'))
15 reason = 'only supported on x86_64 and aarch64'
20 # Enable more warnings
22 '-Wdisabled-optimization'
25 # Compiler and version dependent flags
31 foreach flag: extra_flags
32 if cc.has_argument(flag)
46 includes += include_directories('base')