]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: add ndctl and daxctl to build pmdk
authorYin Congmin <congmin.yin@intel.com>
Fri, 24 Jun 2022 16:11:18 +0000 (00:11 +0800)
committerYin Congmin <congmin.yin@intel.com>
Tue, 12 Jul 2022 02:33:04 +0000 (10:33 +0800)
commiteb94cda7bce38d11b9000fe93635f33bf2b3ff12
treeb747b7a04f25b91301c2d99108c953a3dfdcbdc7
parentb6b24852a6d1c6d8e785e15661f3bf29d662417f
cmake: add ndctl and daxctl to build pmdk

In order to enable the pmem character device, add ndctl=y to the parameter
of compiling the pmdk library when WITH_BLUESTORE_PMEM is ON. Because
after find_ndctl and find_daxctl are added, the dependency packages
required by WITH_BLUESTORE_PMEM and WITH_RBD_RWL become more different.
So separated these two. libpmem has no version required. libpmemobj
required version >=1.8.

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
cmake/modules/Buildpmdk.cmake
src/CMakeLists.txt