[Build]: only install grpc in amd64 (#10212)
[Build]: only install grpc in amd64 Unblock marvell-armhf build.
This commit is contained in:
parent
7178c668dd
commit
eea3cc7ad1
@ -131,8 +131,10 @@ sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install psutil
|
||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install ipaddr
|
||||
|
||||
# Install Python module for grpcio and grpcio-toole
|
||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install "grpcio==1.39.0"
|
||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install "grpcio-tools==1.39.0"
|
||||
if [[ $CONFIGURED_ARCH == amd64 ]]; then
|
||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install "grpcio==1.39.0"
|
||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install "grpcio-tools==1.39.0"
|
||||
fi
|
||||
|
||||
# Install SwSS SDK Python 3 package
|
||||
# Note: the scripts will be overwritten by corresponding Python 2 package
|
||||
|
Loading…
Reference in New Issue
Block a user