diff options
author | Kefu Chai <kchai@redhat.com> | 2021-04-08 11:12:38 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2021-04-08 11:16:46 +0200 |
commit | 69a7ed4eab36102719eb737a29b5f6ca92ec7589 (patch) | |
tree | 8dc64a632b5e7f3305a117dc813a32e21147efcd /run-make-check.sh | |
parent | install-deps.sh: install libpmem libraries if WITH_PMEM is set (diff) | |
download | ceph-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-x | run-make-check.sh | 3 |
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)" |