Skip to content

Commit

Permalink
run-make-check: enable WITH_RBD_RWL when WITH_PMEM is true
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tchaikov committed Apr 8, 2021
1 parent 17d2bc3 commit 69a7ed4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run-make-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 69a7ed4

Please sign in to comment.