cmake: update list of libraries compiled from DPDK/SPDK

on the newest DPDK/SPDK some libraries were removed, while some of them
were added. so update the list accordingly to address linking errors.

Signed-off-by: Roman Penyaev <rpenyaev@suse.de>
This commit is contained in:
Roman Penyaev 2020-08-19 20:26:32 +02:00 committed by Kefu Chai
parent 69087780c3
commit 8b1c06dce9
2 changed files with 3 additions and 4 deletions

View File

@ -118,15 +118,14 @@ function(do_export_dpdk dpdk_dir)
list(APPEND dpdk_components
bus_pci
cmdline
eal
ethdev
kvargs
mbuf
mempool
mempool_ring
pci
ring)
ring
telemetry)
if(Seastar_DPDK)
list(APPEND dpdk_components
bus_vdev

View File

@ -31,7 +31,7 @@ macro(build_spdk)
INSTALL_COMMAND "true")
unset(make_cmd)
ExternalProject_Get_Property(spdk-ext source_dir)
foreach(c nvme log lvol env_dpdk sock util)
foreach(c lvol env_dpdk sock nvmf bdev nvme conf thread trace notify accel event_accel blob vmd event_vmd event_bdev sock_posix event_sock event rpc jsonrpc json util log)
add_library(spdk::${c} STATIC IMPORTED)
add_dependencies(spdk::${c} spdk-ext)
set_target_properties(spdk::${c} PROPERTIES