From: Kefu Chai Date: Thu, 8 Apr 2021 09:12:38 +0000 (+0800) Subject: run-make-check: enable WITH_RBD_RWL when WITH_PMEM is true X-Git-Tag: v17.1.0~2315^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F40617%2Fhead;p=ceph.git run-make-check: enable WITH_RBD_RWL when WITH_PMEM is true so we can at least build-test the rwl cache plugin in "make check" run. this is an opt-in option which is only enabled if WITH_PMEM is "true", we will set it in the corresponding ceph-build job. Signed-off-by: Kefu Chai --- diff --git a/run-make-check.sh b/run-make-check.sh index 51affc95651..6e8bf6c8ced 100755 --- a/run-make-check.sh +++ b/run-make-check.sh @@ -78,6 +78,9 @@ function main() { if [ $WITH_ZBD ]; then cmake_opts+=" -DWITH_ZBD=ON" fi + if [ $WITH_PMEM ]; then + cmake_opts+=" -DWITH_RBD_RWL=ON -DWITH_SYSTEM_PMDK=ON" + fi configure $cmake_opts $@ build tests echo "make check: successful build on $(git rev-parse HEAD)"