]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: lower the required version of libpmem to 1.8
authorYin Congmin <congmin.yin@intel.com>
Sat, 25 Jun 2022 09:04:44 +0000 (17:04 +0800)
committerYin Congmin <congmin.yin@intel.com>
Sat, 25 Jun 2022 12:39:56 +0000 (20:39 +0800)
The upgrade of pmemobj in https://github.com/ceph/ceph/pull/40493
is to introduce new API. The minimum version requirement is 1.8.
Therefore, the requirements for find_package can be lowered.

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

index 89c53ea46eb93db4b0a8dfb34c7e7e6fa41c4546..2dbe5a6ecccda6afe7749641505437439e9294e2 100644 (file)
@@ -491,7 +491,7 @@ if(WITH_BLUESTORE_PMEM OR WITH_RBD_RWL)
     if(WITH_RBD_RWL)
       list(APPEND pmem_COMPONENTS pmemobj)
     endif()
-    find_package(pmem 1.10 REQUIRED COMPONENTS ${pmem_COMPONENTS})
+    find_package(pmem 1.8 REQUIRED COMPONENTS ${pmem_COMPONENTS})
   else()
     include(Buildpmem)
     build_pmem()