From eb341f672c88b4e5d8f2b1997ea56e2d5a3f3740 Mon Sep 17 00:00:00 2001 From: Kamil Godzwon Date: Mon, 20 Jun 2022 08:35:11 -0400 Subject: [PATCH] pkgdep: do not install grpcio modules on Centos7 grpcio, grpcio-tools modules have compilation problem on Centos7 and are not necessary under this OS. Signed-off-by: Kamil Godzwon Change-Id: I2b48a3b1b2deafa983adf83424940ffa6ce7d20e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13070 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins Reviewed-by: Karol Latecki Reviewed-by: Konrad Sztyber Reviewed-by: Tomasz Zawadzki --- scripts/pkgdep/rhel.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/pkgdep/rhel.sh b/scripts/pkgdep/rhel.sh index 906eb72a7..f8de96a04 100755 --- a/scripts/pkgdep/rhel.sh +++ b/scripts/pkgdep/rhel.sh @@ -103,8 +103,11 @@ pip3 install meson pip3 install pyelftools pip3 install ijson pip3 install python-magic -pip3 install grpcio -pip3 install grpcio-tools +if ! [[ $ID == centos && $VERSION_ID == 7 ]]; then + # Problem with modules compilation on Centos7 + pip3 install grpcio + pip3 install grpcio-tools +fi pip3 install pyyaml # Additional dependencies for SPDK CLI - not available in rhel and centos