/
phprus
/
github_dpdk
Обзор
Документация
Войти
/
phprus
/
github_dpdk
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
drivers/gpu/cuda/meson.build
25 строк
635 B
David Marchand
drivers: add dependencies for some classes
29 авг 2023, 11:07
29 авг 2023, 11:07
b7b8de2
Код
Авторство
О чём код?
# SPDX-License-Identifier: BSD-3-Clause # Copyright (c) 2021 NVIDIA Corporation & Affiliates if not is_linux build = false reason = 'only supported on Linux' subdir_done() endif if not cc.has_header('cuda.h') build = false reason = 'missing dependency, "cuda.h"' subdir_done() endif if not cc.has_header('cudaTypedefs.h') build = false reason = 'missing dependency, "cudaTypedefs.h"' subdir_done() endif if cc.has_header('gdrapi.h') dpdk_conf.set('DRIVERS_GPU_CUDA_GDRCOPY_H', 1) endif deps += ['pci', 'bus_pci'] sources = files('cuda.c', 'gdrcopy.c')