regex/mlx5: fix memory allocation check
[dpdk.git] / drivers / regex / cn9k / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2020 Marvell International Ltd.
3 #
4
5 if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
6     build = false
7     reason = 'only supported on 64-bit Linux'
8     subdir_done()
9 endif
10
11 lib = cc.find_library('librxp_compiler', required: false)
12 if lib.found()
13     ext_deps += lib
14     ext_deps += cc.find_library('libstdc++', required: true)
15     cflags += ['-DREE_COMPILER_SDK']
16 endif
17
18 sources = files(
19         'cn9k_regexdev.c',
20         'cn9k_regexdev_compiler.c',
21 )
22
23 deps += ['bus_pci', 'regexdev']
24 deps += ['common_cnxk', 'mempool_cnxk']
25