Skip to content

Commit

Permalink
cmake: update list of libraries compiled from DPDK/SPDK
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Roman Penyaev authored and tchaikov committed Aug 27, 2020
1 parent 6908778 commit 8b1c06d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions cmake/modules/BuildDPDK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/BuildSPDK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b1c06d

Please sign in to comment.