1#!/usr/bin/env bash 2# SPDX-License-Identifier: BSD-3-Clause 3# Copyright (C) 2020 Intel Corporation 4# All rights reserved. 5# Copyright (c) 2022 Dell Inc, or its subsidiaries. 6# 7# Minimal install 8zypper install -y gcc gcc-c++ make cunit-devel libaio-devel libopenssl-devel \ 9 libuuid-devel python3-base ncurses-devel libjson-c-devel libcmocka-devel \ 10 ninja meson python3-pyelftools fuse3-devel 11# Additional dependencies for DPDK 12zypper install -y libnuma-devel nasm 13# Additional dependencies for ISA-L used in compression 14zypper install -y autoconf automake libtool help2man 15if [[ $INSTALL_DEV_TOOLS == "true" ]]; then 16 # Tools for developers 17 zypper install -y git-core lcov python3-pycodestyle sg3_utils \ 18 pciutils ShellCheck bash-completion 19fi 20if [[ $INSTALL_PMEM == "true" ]]; then 21 # Additional dependencies for building pmem based backends 22 zypper install -y libpmemobj-devel 23fi 24if [[ $INSTALL_RBD == "true" ]]; then 25 # Additional dependencies for RBD bdev in NVMe over Fabrics 26 zypper install -y librados-devel librbd-devel 27fi 28if [[ $INSTALL_RDMA == "true" ]]; then 29 # Additional dependencies for RDMA transport in NVMe over Fabrics 30 zypper install -y rdma-core-devel 31fi 32if [[ $INSTALL_DOCS == "true" ]]; then 33 # Additional dependencies for building docs 34 zypper install -y doxygen mscgen graphviz 35fi 36if [[ $INSTALL_DAOS == "true" ]]; then 37 zypper ar https://packages.daos.io/v2.0/Leap15/packages/x86_64/ daos_packages 38 rpm --import https://packages.daos.io/RPM-GPG-KEY 39 zypper --non-interactive refresh 40 zypper install -y daos-client daos-devel 41fi 42if [[ $INSTALL_AVAHI == "true" ]]; then 43 # Additional dependencies for Avahi 44 zypper install -y avahi-devel 45fi 46if [[ $INSTALL_LZ4 == "true" ]]; then 47 zypper install -y liblz4-devel 48fi 49