made compatible with ubuntu 20.04 (#1798)

* made compatible with ubuntu 20.04

* demo_benchmark_app updated

* demo_security_barrier_camera updated

* demo_squeezenet_download_convert_run updated

* Update demo_benchmark_app.sh

* Update demo_security_barrier_camera.sh

* Update demo_squeezenet_download_convert_run.sh

* unwanted file removed
This commit is contained in:
Nazmul Alom 2020-08-27 22:40:44 +06:00 committed by GitHub
parent 041f1a694c
commit 03ace8b5a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 10 deletions

View File

@ -72,7 +72,7 @@ if [[ $DISTRO == "centos" ]]; then
fi
elif [[ $DISTRO == "ubuntu" ]]; then
sudo -E apt update
sudo -E apt -y install python3-pip python3-venv libgfortran3
sudo -E apt -y install python3-pip python3-venv libgfortran5
python_binary=python3
elif [[ "$OSTYPE" == "darwin"* ]]; then
python_binary=python3

View File

@ -120,10 +120,10 @@ elif [[ $DISTRO == "ubuntu" ]]; then
pip_binary=pip3
system_ver=`cat /etc/lsb-release | grep -i "DISTRIB_RELEASE" | cut -d "=" -f2`
if [ $system_ver = "18.04" ]; then
sudo -E apt-get install -y libpng-dev
else
if [ $system_ver = "16.04" ]; then
sudo -E apt-get install -y libpng12-dev
else
sudo -E apt-get install -y libpng-dev
fi
elif [[ "$OSTYPE" == "darwin"* ]]; then
# check installed Python version

View File

@ -89,10 +89,10 @@ elif [[ $DISTRO == "ubuntu" ]]; then
pip_binary=pip3
system_ver=`cat /etc/lsb-release | grep -i "DISTRIB_RELEASE" | cut -d "=" -f2`
if [ $system_ver = "18.04" ]; then
sudo -E apt-get install -y libpng-dev
else
if [ $system_ver = "16.04" ]; then
sudo -E apt-get install -y libpng12-dev
else
sudo -E apt-get install -y libpng-dev
fi
elif [[ "$OSTYPE" == "darwin"* ]]; then
# check installed Python version

View File

@ -116,10 +116,10 @@ elif [[ $DISTRO == "ubuntu" ]]; then
pip_binary=pip3
system_ver=`cat /etc/lsb-release | grep -i "DISTRIB_RELEASE" | cut -d "=" -f2`
if [ $system_ver = "18.04" ]; then
sudo -E apt-get install -y libpng-dev
else
if [ $system_ver = "16.04" ]; then
sudo -E apt-get install -y libpng12-dev
else
sudo -E apt-get install -y libpng-dev
fi
elif [[ "$OSTYPE" == "darwin"* ]]; then
# check installed Python version