]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: add cython_cephfs to vstart target 28876/head
authorKefu Chai <kchai@redhat.com>
Thu, 4 Jul 2019 07:07:06 +0000 (15:07 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 4 Jul 2019 07:13:06 +0000 (15:13 +0800)
in vstart.sh, if MDS is enabled, `ceph fs volume create` is used to
create cephfs volume. and `fs volume create` command is implemented by
`src/pybind/mgr/volumes/module.py`, which in turn uses `cephfs` python
binding indirectly. so we need to add `cephfs` to `vstart` target to
facilidate the cephfs development using vstart.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/CMakeLists.txt

index 5eefa5c52b9997d49303b58e4b906028a10e460e..03abfd57a893fc99f03427ea385b05f25dadbb1d 100644 (file)
@@ -761,7 +761,7 @@ if (WITH_RBD)
   add_dependencies(vstart cython${PY_BINDING_INFIX}_rbd)
 endif()
 if (WITH_CEPHFS)
-  add_dependencies(vstart ceph-mds cephfs)
+  add_dependencies(vstart ceph-mds cephfs cython${PY_BINDING_INFIX}_cephfs)
 endif()
 if(WITH_RADOSGW)
   add_dependencies(vstart radosgw radosgw-admin)