scripts/pkgdep.sh: install pyelftools for DPDK

Recent builds with mainline DPDK failed due to missing
python dependency "elftools". This patch adds it to
our system provisioning scripts.

Fixes #1770

Signed-off-by: Karol Latecki <karol.latecki@intel.com>
Change-Id: I9e3879d9bddd64bb0f7be81120e5fadebefa9eb8
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6103
Reviewed-by: Michal Berger <michalx.berger@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Monica Kenguva <monica.kenguva@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: <dongx.yi@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
This commit is contained in:
Karol Latecki 2021-01-26 15:45:32 +01:00 committed by Tomasz Zawadzki
parent 34584d2598
commit 738cdf143f
6 changed files with 7 additions and 2 deletions

View File

@ -6,6 +6,7 @@ pacman -Sy --needed --noconfirm gcc make cmake cunit libaio openssl \
# Additional dependencies for SPDK CLI
pacman -Sy --needed --noconfirm python-pexpect python-pip libffi
pip install configshell_fb
pip install pyelftools
# Additional dependencies for DPDK
pacman -Sy --needed --noconfirm numactl nasm
# Additional dependencies for ISA-L used in compression

View File

@ -11,6 +11,7 @@ swupd bundle-add -y nasm sysadmin-basic
# Additional dependencies for SPDK CLI
pip3 install pexpect
pip3 install configshell_fb
pip3 install pyelftools
if [[ $INSTALL_DEV_TOOLS == "true" ]]; then
swupd bundle-add -y git os-testsuite-0day
fi

View File

@ -7,6 +7,7 @@ apt-get install -y gcc g++ make cmake libcunit1-dev libaio-dev libssl-dev libjso
uuid-dev libiscsi-dev python libncurses5-dev libncursesw5-dev python3-pip
pip3 install ninja
pip3 install meson
pip3 install pyelftools
# Additional dependencies for SPDK CLI - not available on older Ubuntus
apt-get install -y python3-configshell-fb python3-pexpect || echo \
"Note: Some SPDK CLI dependencies could not be installed."

View File

@ -2,7 +2,7 @@
# Minimal install
pkg install -y gmake cunit openssl git bash misc/e2fsprogs-libuuid python \
ncurses ninja meson
ncurses ninja meson py37-pyelftools-0.26
# Additional dependencies for ISA-L used in compression
pkg install -y autoconf automake libtool help2man
if [[ $INSTALL_DEV_TOOLS == "true" ]]; then

View File

@ -94,6 +94,7 @@ fi
yum install -y python3-pip
pip3 install ninja
pip3 install meson
pip3 install pyelftools
# Additional dependencies for SPDK CLI - not available in rhel and centos
if ! echo "$ID $VERSION_ID" | grep -E -q 'rhel 7|centos 7'; then

View File

@ -2,7 +2,8 @@
# Minimal install
zypper install -y gcc gcc-c++ make cmake cunit-devel libaio-devel libopenssl-devel \
libuuid-devel python-base ncurses-devel json-c-devel libcmocka-devel ninja meson
libuuid-devel python-base ncurses-devel json-c-devel libcmocka-devel ninja meson \
python-pyelftools
# Additional dependencies for DPDK
zypper install -y libnuma-devel nasm
# Additional dependencies for ISA-L used in compression