pkgdep: install json-c-devel and libcmocka-devel
The coming libvfio-user needs json-c and libcmocka library, so install the libraries in CI environment. Change-Id: Ib4871169a4d5b140cda11a2cc449201c963a9f12 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5287 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Monica Kenguva <monica.kenguva@intel.com> Reviewed-by: <dongx.yi@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
decdfa0b22
commit
0c55825781
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Install main dependencies
|
# Install main dependencies
|
||||||
pacman -Sy --needed --noconfirm gcc make cmake cunit libaio openssl \
|
pacman -Sy --needed --noconfirm gcc make cmake cunit libaio openssl \
|
||||||
libutil-linux libiscsi python ncurses ninja meson
|
libutil-linux libiscsi python ncurses json-c cmocka ninja meson
|
||||||
# Additional dependencies for SPDK CLI
|
# Additional dependencies for SPDK CLI
|
||||||
pacman -Sy --needed --noconfirm python-pexpect python-pip libffi
|
pacman -Sy --needed --noconfirm python-pexpect python-pip libffi
|
||||||
pip install configshell_fb
|
pip install configshell_fb
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Install main dependencies
|
# Install main dependencies
|
||||||
swupd bundle-add -y c-basic make cmake dev-utils openssl devpkg-libiscsi \
|
swupd bundle-add -y c-basic make cmake dev-utils openssl devpkg-libiscsi \
|
||||||
devpkg-ncurses python3-basic python-extras devpkg-open-iscsi \
|
devpkg-ncurses python3-basic python-extras devpkg-open-iscsi devpkg-json-c \
|
||||||
storage-utils
|
storage-utils
|
||||||
# Additional dependencies for ISA-L used in compression
|
# Additional dependencies for ISA-L used in compression
|
||||||
swupd bundle-add -y dev-utils-dev
|
swupd bundle-add -y dev-utils-dev
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
VERSION_ID_NUM=$(sed 's/\.//g' <<< $VERSION_ID)
|
VERSION_ID_NUM=$(sed 's/\.//g' <<< $VERSION_ID)
|
||||||
# Includes Ubuntu, Debian
|
# Includes Ubuntu, Debian
|
||||||
# Minimal install
|
# Minimal install
|
||||||
apt-get install -y gcc g++ make cmake libcunit1-dev libaio-dev libssl-dev \
|
apt-get install -y gcc g++ make cmake libcunit1-dev libaio-dev libssl-dev libjson-c-dev libcmocka-dev \
|
||||||
uuid-dev libiscsi-dev python libncurses5-dev libncursesw5-dev python3-pip
|
uuid-dev libiscsi-dev python libncurses5-dev libncursesw5-dev python3-pip
|
||||||
pip3 install ninja
|
pip3 install ninja
|
||||||
pip3 install meson
|
pip3 install meson
|
||||||
|
@ -76,7 +76,7 @@ if [ "$(uname -m)" = "aarch64" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
yum install -y gcc gcc-c++ make cmake CUnit-devel libaio-devel openssl-devel \
|
yum install -y gcc gcc-c++ make cmake CUnit-devel libaio-devel openssl-devel \
|
||||||
libuuid-devel libiscsi-devel ncurses-devel
|
libuuid-devel libiscsi-devel ncurses-devel json-c-devel libcmocka-devel
|
||||||
if echo "$ID $VERSION_ID" | grep -E -q 'centos 8|rhel 8'; then
|
if echo "$ID $VERSION_ID" | grep -E -q 'centos 8|rhel 8'; then
|
||||||
yum install -y python36
|
yum install -y python36
|
||||||
#Create hard link to use in SPDK as python
|
#Create hard link to use in SPDK as python
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Minimal install
|
# Minimal install
|
||||||
zypper install -y gcc gcc-c++ make cmake cunit-devel libaio-devel libopenssl-devel \
|
zypper install -y gcc gcc-c++ make cmake cunit-devel libaio-devel libopenssl-devel \
|
||||||
libuuid-devel python-base ncurses-devel ninja meson
|
libuuid-devel python-base ncurses-devel json-c-devel libcmocka-devel ninja meson
|
||||||
# Additional dependencies for DPDK
|
# Additional dependencies for DPDK
|
||||||
zypper install -y libnuma-devel nasm
|
zypper install -y libnuma-devel nasm
|
||||||
# Additional dependencies for ISA-L used in compression
|
# Additional dependencies for ISA-L used in compression
|
||||||
|
Loading…
Reference in New Issue
Block a user