From b2bdd3f9eefbe4be8d853df3474180099e57713c Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 12 Jun 2019 16:32:55 +0800 Subject: [PATCH] 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 --- cmake/modules/BuildSPDK.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/BuildSPDK.cmake b/cmake/modules/BuildSPDK.cmake index 3637d7c66aaba..5e0e2bfc76c6b 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. -- 2.39.5