]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: disable isal and vhost support of SPDK
authorKefu Chai <kchai@redhat.com>
Wed, 12 Jun 2019 08:32:55 +0000 (16:32 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 13 Jun 2019 11:35:23 +0000 (19:35 +0800)
* isal needs nasm, which is a new dependency. so let's disable it
  at this moment.
* vhost requires DPDK compiled with vhost enabled. but it's disabled
  when we compile DPDK.

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

index 3637d7c66aaba95ddecf4eb2191d5a74efd78ddb..5e0e2bfc76c6bff157f2e64e64e81fa12cfaec0b 100644 (file)
@@ -22,7 +22,7 @@ macro(build_spdk)
   ExternalProject_Add(spdk-ext
     DEPENDS dpdk-ext
     SOURCE_DIR ${CMAKE_SOURCE_DIR}/src/spdk
-    CONFIGURE_COMMAND ./configure --with-dpdk=${DPDK_DIR}
+    CONFIGURE_COMMAND ./configure --with-dpdk=${DPDK_DIR} --without-isal --without-vhost
     # unset $CFLAGS, otherwise it will interfere with how SPDK sets
     # its include directory.
     # unset $LDFLAGS, otherwise SPDK will fail to mock some functions.