mirror of
https://github.com/ceph/ceph
synced 2025-01-03 01:22:53 +00:00
cmake: WITH_SPDK=ON by default
Signed-off-by: wanjun.lp <wanjun.lp@alibaba-inc.com> Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
22d8dde1d5
commit
df446f06cb
@ -215,7 +215,11 @@ if(WITH_ZFS)
|
||||
set(HAVE_LIBZFS ${ZFS_FOUND})
|
||||
endif()
|
||||
|
||||
option(WITH_SPDK "Enable SPDK" OFF)
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "i386|i686|amd64|x86_64|AMD64")
|
||||
option(WITH_SPDK "Enable SPDK" ON)
|
||||
else()
|
||||
option(WITH_SPDK "Enable SPDK" OFF)
|
||||
endif()
|
||||
if(WITH_SPDK)
|
||||
include(BuildSPDK)
|
||||
build_spdk()
|
||||
|
@ -33,6 +33,7 @@ rm -rf build && ./do_cmake.sh "$*" \
|
||||
-D WITH_CEPHFS=OFF \
|
||||
-D WITH_EMBEDDED=OFF \
|
||||
-D WITH_MGR=YES \
|
||||
-D WITH_SPDK=OFF \
|
||||
2>&1 | tee cmake.log
|
||||
|
||||
echo start building
|
||||
|
Loading…
Reference in New Issue
Block a user