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