Added libflatbuffers-dev as a dependency for build (#15371)

* Added libflatbuffers-dev as a dependency for build

* Extra improvements
This commit is contained in:
Ilya Lavrenov
2023-01-27 20:00:26 +04:00
committed by GitHub
parent b00314923d
commit 290947da84
4 changed files with 25 additions and 14 deletions

View File

@@ -61,6 +61,10 @@ if [ -f /etc/lsb-release ] || [ -f /etc/debian_version ] ; then
`# samples and tools` \
libgflags-dev \
zlib1g-dev
# 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
fi
# git-lfs is not available on debian9
if apt-cache search --names-only '^git-lfs'| grep -q git-lfs; then
apt-get install -y --no-install-recommends git-lfs