]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: add findndctl and finddaxctl function
authorYin Congmin <congmin.yin@intel.com>
Fri, 13 May 2022 12:47:07 +0000 (20:47 +0800)
committerYin Congmin <congmin.yin@intel.com>
Tue, 12 Jul 2022 02:32:57 +0000 (10:32 +0800)
commitb6b24852a6d1c6d8e785e15661f3bf29d662417f
tree0d6398c4239e02d8026b75bb20365aca46207c50
parent79a085e11a26446e9eeafb1d448b030f7df3b095
cmake: add findndctl and finddaxctl function

In order to support the character device of pmem usage in bluestore via
libpmem built by Ceph itself, we need to enable daxctl and ndctl
dependency. add the installation of ndctl and find it. the version of
ndctl and daxctl library requires >63. "apt-get install" meet the version
under ubuntu focal.

the installation of ndctl-devel in ceph.spec.in has not been verified.

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
ceph.spec.in
cmake/modules/Finddaxctl.cmake [new file with mode: 0644]
cmake/modules/Findndctl.cmake [new file with mode: 0644]
debian/control
src/CMakeLists.txt