pkgdep: add python3-devel dependency
The following patch will need it to expand the %{python3_sitelib} macros when building the RPMs. Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I2782b228066fa0524d675c8d964217a7c9d11e36 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11656 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com>
This commit is contained in:
parent
d0e483cdfd
commit
f6dbaa0686
@ -84,13 +84,13 @@ 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 json-c-devel libcmocka-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 python36-devel
|
||||||
#Create hard link to use in SPDK as python
|
#Create hard link to use in SPDK as python
|
||||||
if [[ ! -e /usr/bin/python && -e /etc/alternatives/python3 ]]; then
|
if [[ ! -e /usr/bin/python && -e /etc/alternatives/python3 ]]; then
|
||||||
ln -s /etc/alternatives/python3 /usr/bin/python
|
ln -s /etc/alternatives/python3 /usr/bin/python
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
yum install -y python
|
yum install -y python python3-devel
|
||||||
fi
|
fi
|
||||||
yum install -y python3-pip
|
yum install -y python3-pip
|
||||||
pip3 install ninja
|
pip3 install ninja
|
||||||
|
Loading…
Reference in New Issue
Block a user