From: Kefu Chai Date: Mon, 19 Aug 2019 07:21:06 +0000 (+0800) Subject: cmake,run-make-check.sh,deb,rpm: disable SPDK by default X-Git-Tag: v14.2.5~114^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=542ec6d2053e31188fcd7015b22d7375e18587fb;p=ceph.git cmake,run-make-check.sh,deb,rpm: disable SPDK by default but we still enable it in `run-make-check.sh` * cmake: disable SPDK by default * run-make-check.sh: enable WITH_SPDK so at least we can ensure it builds * deb,rpm: add uuid-dev / libuuid-devel as a "make check" dependency Fixes: https://tracker.ceph.com/issues/41330 Signed-off-by: Kefu Chai (cherry picked from commit 3234fb3982483d43a23df902628178566128b7b4) Conflicts: CMakeLists.txt debian/control run-make-check.sh - disable SPDK for nautilus, even in run-make-check.sh, since the feature is not being used in production --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e187f261bc..8ae89978d71 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -267,11 +267,7 @@ if(WITH_BLUESTORE) endif() endif() -if(CMAKE_SYSTEM_PROCESSOR MATCHES "i386|i686|amd64|x86_64|AMD64|aarch64") - option(WITH_SPDK "Enable SPDK" ON) -else() - option(WITH_SPDK "Enable SPDK" OFF) -endif() +option(WITH_SPDK "Enable SPDK" OFF) if(WITH_SPDK) if(NOT WITH_BLUESTORE) message(SEND_ERROR "Please enable WITH_BLUESTORE for using SPDK") diff --git a/ceph.spec.in b/ceph.spec.in index 73e2006473e..676c152bfc6 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -169,7 +169,6 @@ BuildRequires: libudev-devel BuildRequires: liboath-devel BuildRequires: libtool BuildRequires: libxml2-devel -BuildRequires: libuuid-devel BuildRequires: make BuildRequires: ncurses-devel BuildRequires: parted @@ -193,6 +192,7 @@ BuildRequires: librabbitmq-devel %endif %if 0%{with make_check} BuildRequires: jq +BuildRequires: libuuid-devel BuildRequires: python%{_python_buildid}-bcrypt BuildRequires: python%{_python_buildid}-coverage BuildRequires: python%{_python_buildid}-nose diff --git a/debian/control b/debian/control index b073073ba13..a63444d7b6b 100644 --- a/debian/control +++ b/debian/control @@ -69,7 +69,7 @@ Build-Depends: cmake (>= 3.5), python3-all-dev, python3-setuptools, # Make-Check socat, - uuid-dev, +# Make-Check uuid-dev, uuid-runtime, valgrind, virtualenv | python-virtualenv,