xref: /spdk/scripts/pkgdep/freebsd.sh (revision b30d57cdad6d2bc75cc1e4e2ebbcebcb0d98dcfa)
1#!/usr/bin/env bash
2
3# Minimal install
4pkg install -y gmake cunit openssl git bash misc/e2fsprogs-libuuid python \
5	ncurses ninja meson
6# Additional dependencies for ISA-L used in compression
7pkg install -y autoconf automake libtool help2man
8if [[ $INSTALL_DEV_TOOLS == "true" ]]; then
9	# Tools for developers
10	pkg install -y devel/astyle bash py37-pycodestyle \
11		misc/e2fsprogs-libuuid sysutils/sg3_utils nasm
12fi
13if [[ $INSTALL_DOCS == "true" ]]; then
14	# Additional dependencies for building docs
15	pkg install -y doxygen mscgen graphviz
16fi
17
18if [[ $INSTALL_LIBURING == "true" ]]; then
19	printf 'liburing is not supported on %s, disabling\n' \
20		"$(freebsd-version)"
21	INSTALL_LIBURING=false
22fi
23