mirror of
https://github.com/ceph/ceph
synced 2025-02-20 17:37:29 +00:00
Merge pull request #39051 from tchaikov/wip-install-deps-libzbd
install-deps.sh: install libzbd-dev when WITH_ZBD is set Reviewed-by: Josh Durgin <jdurgin@redhat.com>
This commit is contained in:
commit
7a5d0ecb1d
@ -205,6 +205,18 @@ function install_boost_on_ubuntu {
|
||||
ceph-libboost-timer$ver-dev
|
||||
}
|
||||
|
||||
function install_libzbd_on_ubuntu {
|
||||
local project=libzbd
|
||||
local sha1=44ffc287bf57e17afafec0af4d39b62d4f6c0dac
|
||||
install_pkg_on_ubuntu \
|
||||
$project \
|
||||
$sha1 \
|
||||
$codename \
|
||||
check \
|
||||
libzbd \
|
||||
libzbd-dev
|
||||
}
|
||||
|
||||
function version_lt {
|
||||
test $1 != $(echo -e "$1\n$2" | sort -rV | head -n 1)
|
||||
}
|
||||
@ -291,6 +303,7 @@ else
|
||||
*Bionic*)
|
||||
ensure_decent_gcc_on_ubuntu 9 bionic
|
||||
[ ! $NO_BOOST_PKGS ] && install_boost_on_ubuntu bionic
|
||||
$with_zbd && install_libzbd_on_ubuntu bionic
|
||||
;;
|
||||
*)
|
||||
$SUDO apt-get install -y gcc
|
||||
|
Loading…
Reference in New Issue
Block a user