]> git.proxmox.com Git - ceph.git/blame - ceph/src/spdk/dpdk/lib/librte_vhost/meson.build
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / dpdk / lib / librte_vhost / meson.build
CommitLineData
11fdf7f2
TL
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2017-2018 Intel Corporation
3
9f95a23c 4if not is_linux
11fdf7f2
TL
5 build = false
6endif
7if has_libnuma == 1
8 dpdk_conf.set10('RTE_LIBRTE_VHOST_NUMA', true)
9endif
9f95a23c
TL
10dpdk_conf.set('RTE_LIBRTE_VHOST_POSTCOPY',
11 cc.has_header('linux/userfaultfd.h'))
11fdf7f2
TL
12version = 4
13allow_experimental_apis = true
9f95a23c 14cflags += '-fno-strict-aliasing'
11fdf7f2
TL
15sources = files('fd_man.c', 'iotlb.c', 'socket.c', 'vdpa.c',
16 'vhost.c', 'vhost_user.c',
17 'virtio_net.c', 'vhost_crypto.c')
18headers = files('rte_vhost.h', 'rte_vdpa.h', 'rte_vhost_crypto.h')
19deps += ['ethdev', 'cryptodev', 'hash', 'pci']