summaryrefslogtreecommitdiffstats
path: root/run-make-check.sh
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2021-04-08 11:12:38 +0200
committerKefu Chai <kchai@redhat.com>2021-04-08 11:16:46 +0200
commit69a7ed4eab36102719eb737a29b5f6ca92ec7589 (patch)
tree8dc64a632b5e7f3305a117dc813a32e21147efcd /run-make-check.sh
parentinstall-deps.sh: install libpmem libraries if WITH_PMEM is set (diff)
downloadceph-69a7ed4eab36102719eb737a29b5f6ca92ec7589.tar.xz
ceph-69a7ed4eab36102719eb737a29b5f6ca92ec7589.zip
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 <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 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)"