]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
install-deps: install pmdk libraries
authorYin Congmin <congmin.yin@intel.com>
Fri, 13 May 2022 12:44:53 +0000 (20:44 +0800)
committerYin Congmin <congmin.yin@intel.com>
Sat, 25 Jun 2022 12:44:02 +0000 (20:44 +0800)
Install libpmem and libpmemobj under focal ubuntu. the version of apt
list can meet the current requirements. libpmemobj require >=1.8.
Libpmem has no version requirements.

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
debian/control
install-deps.sh

index 51c47c124a80dbec3357413c4828bce58d48aebb..23b79088894f85d98b878ede46f40e73beef87cd 100644 (file)
@@ -78,6 +78,8 @@ Build-Depends: automake,
                libxmlsec1-nss <pkg.ceph.check>,
                libxmlsec1-openssl <pkg.ceph.check>,
                libxmlsec1-dev <pkg.ceph.check>,
+               libpmem-dev <pkg.ceph.pmdk>,
+               libpmemobj-dev (>= 1.8) <pkg.ceph.pmdk>,
                ninja-build,
                nlohmann-json3-dev,
                patch,
index 071ec10299f5e0c13757876df7ad258ad7edba4b..9db3ae877a318911d6dadbfa8866f815991ceedc 100755 (executable)
@@ -294,6 +294,7 @@ if [ x$(uname)x = xFreeBSDx ]; then
 else
     [ $WITH_SEASTAR ] && with_seastar=true || with_seastar=false
     [ $WITH_ZBD ] && with_zbd=true || with_zbd=false
+    [ $WITH_PMEM ] && with_pmem=true || with_pmem=false
     [ $WITH_RADOSGW_MOTR ] && with_rgw_motr=true || with_rgw_motr=false
     motr_pkgs_url='https://github.com/Seagate/cortx-motr/releases/download/2.0.0-rgw'
     source /etc/os-release
@@ -342,6 +343,9 @@ else
        if $with_seastar; then
            build_profiles+=",pkg.ceph.crimson"
        fi
+       if $with_pmem; then
+           build_profiles+=",pkg.ceph.pmdk"
+       fi
 
         in_jenkins && cat <<EOF
 CI_DEBUG: for_make_check=$for_make_check