build: check AVX512 rather than binutils version
[dpdk.git] / buildtools / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017-2019 Intel Corporation
3
4 pkgconf = find_program('pkg-config', 'pkgconf', required: false)
5 pmdinfo = find_program('gen-pmdinfo-cfile.sh')
6 list_dir_globs = find_program('list-dir-globs.py')
7 check_symbols = find_program('check-symbols.sh')
8 ldflags_ibverbs_static = find_program('options-ibverbs-static.sh')
9 binutils_avx512_check = find_program('binutils-avx512-check.sh')
10
11 # set up map-to-win script using python, either built-in or external
12 python3 = import('python').find_installation(required: false)
13 if python3.found()
14         py3 = [python3]
15 else
16         py3 = ['meson', 'runpython']
17 endif
18 map_to_win_cmd = py3 + files('map_to_win.py')
19 sphinx_wrapper = py3 + files('call-sphinx-build.py')
20
21 # stable ABI always starts with "DPDK_"
22 is_stable_cmd = [find_program('grep', 'findstr'), '^DPDK_']