]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: update built libs of SPDK and DPDK
authorKefu Chai <kchai@redhat.com>
Wed, 12 Jun 2019 11:18:53 +0000 (19:18 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 13 Jun 2019 11:35:26 +0000 (19:35 +0800)
we need to link against these new libs for fulfilling the dependencies
required by new SPDK.

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/BuildDPDK.cmake
cmake/modules/BuildSPDK.cmake

index cda191d8cf24cd5d29657163c545a5661f9170af..a14af918fd6e0d53d45d91b84f17031500d80927 100644 (file)
@@ -111,6 +111,7 @@ function(build_dpdk dpdk_dir)
 
   foreach(c
       bus_pci
+      cmdline
       eal
       ethdev
       kvargs
index 5e0e2bfc76c6bff157f2e64e64e81fa12cfaec0b..4b8306a38818edc1518b16c1deab5f90fbbf2119 100644 (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 util)
+  foreach(c nvme log lvol env_dpdk sock util)
     add_library(spdk::${c} STATIC IMPORTED)
     add_dependencies(spdk::${c} spdk-ext)
     set_target_properties(spdk::${c} PROPERTIES