]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
run-make-check.sh: pass -DWITH_ZBD=ON to cmake if $WITH_ZBD 37211/head
authorKefu Chai <kchai@redhat.com>
Thu, 17 Sep 2020 06:28:51 +0000 (14:28 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 17 Sep 2020 06:45:11 +0000 (14:45 +0800)
run-make-check.sh is used by ceph-build/ceph-pull-requests/build/build
to run "make check". this change prepares run-make-check.sh so that we
can enable ZBD build on demand once ceph-build is updated accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
run-make-check.sh

index 2c1f787ff8c7cc4290c849ee9d743aedacbd11db..59866ecec63f90ee20690609026a32c5a031b036 100755 (executable)
@@ -58,6 +58,9 @@ function main() {
     if [ $WITH_SEASTAR ]; then
         cmake_opts+=" -DWITH_SEASTAR=ON"
     fi
+    if [ $WITH_ZBD ]; then
+        cmake_opts += " -DWITH_ZBD=ON"
+    fi
     configure $cmake_opts $@
     build tests && echo "make check: successful build on $(git rev-parse HEAD)"
     run