1af8f939eSMichal Berger#!/usr/bin/env bash 2eb53c232Spaul luse# SPDX-License-Identifier: BSD-3-Clause 3eb53c232Spaul luse# Copyright (C) 2020 Intel Corporation 4eb53c232Spaul luse# All rights reserved. 5eb53c232Spaul luse# 6af8f939eSMichal Berger# Minimal install 719572e5bSArtur Paszkiewiczpkg install -y gmake cunit openssl git bash python ncurses ninja meson 8b538e6efSEugene Kobyakpkg install -g -y "py*-pyelftools-*" "py*-pandas" "py*-Jinja2" "py*-tabulate-*" 9af8f939eSMichal Berger# Additional dependencies for ISA-L used in compression 10af8f939eSMichal Bergerpkg install -y autoconf automake libtool help2man 11af8f939eSMichal Bergerif [[ $INSTALL_DEV_TOOLS == "true" ]]; then 12af8f939eSMichal Berger # Tools for developers 1319572e5bSArtur Paszkiewicz pkg install -y devel/astyle bash sysutils/sg3_utils nasm \ 14*4d0ed159SMichal Berger bash-completion ruby devel/ruby-gems lcov 151963d318SMichal Berger pkg install -g -y "py*-pycodestyle" 163220a053SMichal Berger # ruby and ruby-gems are not preinstalled on FreeBSD but are needed to 173220a053SMichal Berger # build mdl - make sure they are in place. 185e75b913SMichal Berger pkg install -y ruby devel/ruby-gems rubygem-{bundler,rake} 19af8f939eSMichal Bergerfi 20af8f939eSMichal Bergerif [[ $INSTALL_DOCS == "true" ]]; then 21af8f939eSMichal Berger # Additional dependencies for building docs 22af8f939eSMichal Berger pkg install -y doxygen mscgen graphviz 23af8f939eSMichal Bergerfi 24684b1043SMichal Berger 25684b1043SMichal Bergerif [[ $INSTALL_LIBURING == "true" ]]; then 26684b1043SMichal Berger printf 'liburing is not supported on %s, disabling\n' \ 27684b1043SMichal Berger "$(freebsd-version)" 28684b1043SMichal Berger INSTALL_LIBURING=false 29684b1043SMichal Bergerfi 308a5d487dSMykola Golub 318a5d487dSMykola Golubif [[ $INSTALL_RBD == "true" ]]; then 3224448ea7SMichal Berger printf 'RBD is not supported on %s, disabling\n' \ 3324448ea7SMichal Berger "$(freebsd-version)" 3424448ea7SMichal Berger INSTALL_RBD=false 358a5d487dSMykola Golubfi 366fac5aabSYankun Liif [[ $INSTALL_LZ4 == "true" ]]; then 376fac5aabSYankun Li pkg install -y liblz4 386fac5aabSYankun Lifi 39