]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
run-make-check: enable WITH_RBD_RWL when WITH_PMEM is true 40617/head
authorKefu Chai <kchai@redhat.com>
Thu, 8 Apr 2021 09:12:38 +0000 (17:12 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 8 Apr 2021 09:16:46 +0000 (17:16 +0800)
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 <kchai@redhat.com>
run-make-check.sh

index 51affc95651163b32ee9777b5600d48196edceee..6e8bf6c8cede32f0565a7b067a8a647b379fb6f0 100755 (executable)
@@ -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)"