From: Kefu Chai Date: Wed, 12 Jun 2019 08:32:55 +0000 (+0800) Subject: cmake: disable isal and vhost support of SPDK X-Git-Tag: v15.1.0~2467^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b2bdd3f9eefbe4be8d853df3474180099e57713c;p=ceph.git cmake: disable isal and vhost support of SPDK * 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 --- diff --git a/cmake/modules/BuildSPDK.cmake b/cmake/modules/BuildSPDK.cmake index 3637d7c66aab..5e0e2bfc76c6 100644 --- a/cmake/modules/BuildSPDK.cmake +++ b/cmake/modules/BuildSPDK.cmake @@ -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.