Spdk/scripts/pkgdep/freebsd.sh
Michal Berger 485f9f974a pkgdep/freebsd: Update name of the ceph package
Under latest 13.1 builds ceph package is now available as "ceph14"
so try to install it when the first attempt fails.

Signed-off-by: Michal Berger <michal.berger@intel.com>
Change-Id: I4301f357d2c04881a1e8839c644cb000ba74e4e6
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15495
Reviewed-by: Pawel Piatek <pawelx.piatek@intel.com>
Reviewed-by: Kamil Godzwon <kamilx.godzwon@intel.com>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
2022-11-21 12:02:48 +00:00

34 lines
1.1 KiB
Bash
Executable File

#!/usr/bin/env bash
# Minimal install
pkg install -y gmake cunit openssl git bash misc/e2fsprogs-libuuid python \
ncurses ninja meson
pkg install -g -y "py*-pyelftools-*" "py*-pandas"
# Additional dependencies for ISA-L used in compression
pkg install -y autoconf automake libtool help2man
if [[ $INSTALL_DEV_TOOLS == "true" ]]; then
# Tools for developers
pkg install -y devel/astyle bash \
misc/e2fsprogs-libuuid sysutils/sg3_utils nasm \
bash-completion ruby devel/ruby-gems
pkg install -g -y "py*-pycodestyle"
# ruby and ruby-gems are not preinstalled on FreeBSD but are needed to
# build mdl - make sure they are in place.
pkg install -y ruby devel/ruby-gems
fi
if [[ $INSTALL_DOCS == "true" ]]; then
# Additional dependencies for building docs
pkg install -y doxygen mscgen graphviz
fi
if [[ $INSTALL_LIBURING == "true" ]]; then
printf 'liburing is not supported on %s, disabling\n' \
"$(freebsd-version)"
INSTALL_LIBURING=false
fi
if [[ $INSTALL_RBD == "true" ]]; then
# Additional dependencies for RBD bdev in NVMe over Fabrics
pkg install -y ceph || pkg install -y ceph14
fi