From 693ad565031b7f5cf7c1cdc9ff9202809ef682d4 Mon Sep 17 00:00:00 2001 From: Yin Congmin Date: Fri, 13 May 2022 20:44:53 +0800 Subject: [PATCH] install-deps: install pmdk libraries 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 --- debian/control | 2 ++ install-deps.sh | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/debian/control b/debian/control index 51c47c124a8..23b79088894 100644 --- a/debian/control +++ b/debian/control @@ -78,6 +78,8 @@ Build-Depends: automake, libxmlsec1-nss , libxmlsec1-openssl , libxmlsec1-dev , + libpmem-dev , + libpmemobj-dev (>= 1.8) , ninja-build, nlohmann-json3-dev, patch, diff --git a/install-deps.sh b/install-deps.sh index 071ec10299f..9db3ae877a3 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -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 <