summaryrefslogtreecommitdiffstats
path: root/run-make-check.sh
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2020-09-17 08:28:51 +0200
committerKefu Chai <kchai@redhat.com>2020-09-17 08:45:11 +0200
commit21dd995ad221bd411e74a7eccd27e8463aab62ea (patch)
treefd9fcd1d007e6a7bd24628b0b079e0427a858533 /run-make-check.sh
parentinstall-deps.sh: install libzbd-devel on RHEL/CentOS8 on demand (diff)
downloadceph-21dd995ad221bd411e74a7eccd27e8463aab62ea.tar.xz
ceph-21dd995ad221bd411e74a7eccd27e8463aab62ea.zip
run-make-check.sh: pass -DWITH_ZBD=ON to cmake if $WITH_ZBD
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>
Diffstat (limited to 'run-make-check.sh')
-rwxr-xr-xrun-make-check.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/run-make-check.sh b/run-make-check.sh
index 2c1f787ff8c..59866ecec63 100755
--- a/run-make-check.sh
+++ b/run-make-check.sh
@@ -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