1#!/usr/bin/env bash 2 3# Minimal install 4zypper install -y gcc gcc-c++ make cmake cunit-devel libaio-devel libopenssl-devel \ 5 libuuid-devel python-base ncurses-devel json-c-devel libcmocka-devel ninja meson \ 6 python-pyelftools 7# Additional dependencies for DPDK 8zypper install -y libnuma-devel nasm 9# Additional dependencies for ISA-L used in compression 10zypper install -y autoconf automake libtool help2man 11if [[ $INSTALL_DEV_TOOLS == "true" ]]; then 12 # Tools for developers 13 zypper install -y git-core lcov python-pycodestyle sg3_utils \ 14 pciutils ShellCheck bash-completion 15fi 16if [[ $INSTALL_PMEM == "true" ]]; then 17 # Additional dependencies for building pmem based backends 18 zypper install -y libpmemblk-devel 19 zypper install -y libpmemobj-devel 20fi 21if [[ $INSTALL_FUSE == "true" ]]; then 22 # Additional dependencies for FUSE and NVMe-CUSE 23 zypper install -y fuse3-devel 24fi 25if [[ $INSTALL_RDMA == "true" ]]; then 26 # Additional dependencies for RDMA transport in NVMe over Fabrics 27 zypper install -y rdma-core-devel 28fi 29if [[ $INSTALL_DOCS == "true" ]]; then 30 # Additional dependencies for building docs 31 zypper install -y doxygen mscgen graphviz 32fi 33