Fix dependency install issue for CentOS/RedHat (#15382)
* add the missing tailing backslash * install dependency tool wget for ubuntu only
This commit is contained in:
parent
0da79e2f7d
commit
c79f4cbb23
@ -60,7 +60,8 @@ if [ -f /etc/lsb-release ] || [ -f /etc/debian_version ] ; then
|
||||
python3-enchant \
|
||||
`# samples and tools` \
|
||||
libgflags-dev \
|
||||
zlib1g-dev
|
||||
zlib1g-dev \
|
||||
wget
|
||||
# TF lite frontend
|
||||
if apt-cache search --names-only '^libflatbuffers-dev'| grep -q libflatbuffers-dev; then
|
||||
apt-get install -y --no-install-recommends libflatbuffers-dev
|
||||
@ -105,8 +106,8 @@ elif [ -f /etc/redhat-release ] || grep -q "rhel" /etc/os-release ; then
|
||||
`# main openvino dependencies` \
|
||||
tbb-devel \
|
||||
pugixml-devel \
|
||||
`# GPU plugin dependency`
|
||||
libva-devel
|
||||
`# GPU plugin dependency` \
|
||||
libva-devel \
|
||||
`# python API` \
|
||||
python3-pip \
|
||||
python3-devel \
|
||||
@ -152,7 +153,6 @@ required_cmake_ver=3.20.0
|
||||
if [ ! "$(printf '%s\n' "$required_cmake_ver" "$current_cmake_ver" | sort -V | head -n1)" = "$required_cmake_ver" ]; then
|
||||
installed_cmake_ver=3.23.2
|
||||
arch=$(uname -m)
|
||||
apt-get install -y --no-install-recommends wget
|
||||
wget "https://github.com/Kitware/CMake/releases/download/v${installed_cmake_ver}/cmake-${installed_cmake_ver}-linux-${arch}.sh"
|
||||
chmod +x "cmake-${installed_cmake_ver}-linux-${arch}.sh"
|
||||
"./cmake-${installed_cmake_ver}-linux-${arch}.sh" --skip-license --prefix=/usr/local
|
||||
|
Loading…
Reference in New Issue
Block a user