diff options
author | Kefu Chai <kchai@redhat.com> | 2020-09-17 08:28:51 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2020-09-17 08:45:11 +0200 |
commit | 21dd995ad221bd411e74a7eccd27e8463aab62ea (patch) | |
tree | fd9fcd1d007e6a7bd24628b0b079e0427a858533 /run-make-check.sh | |
parent | install-deps.sh: install libzbd-devel on RHEL/CentOS8 on demand (diff) | |
download | ceph-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-x | run-make-check.sh | 3 |
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 |