From 69a7ed4eab36102719eb737a29b5f6ca92ec7589 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 8 Apr 2021 17:12:38 +0800 Subject: [PATCH] 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 --- run-make-check.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run-make-check.sh b/run-make-check.sh index 51affc956511..6e8bf6c8cede 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)" -- 2.47.3