Commit Graph

182 Commits

Author SHA1 Message Date
Artyom Anokhov 65293b1492
Added frontends RPMs generation (#13618)
* cmake/packaging/rpm.cmake: Added Frontends

* rpm_post_build: Added link to Fedoraproject wiki with rpmlint errors info

* RPM: Throw warning for rpmlint findings instead of FATAL ERROR till there is no filtering/suppression of errors

debian.cmake: Added one more error to suppress
thirdparty/CMakeLists.txt: added CentOS(RHEL) for gflags shared libs case
install_openvino_dependencies: Added gflags installation

* Fixed gflags issues for RHEL/CentOS

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-10-27 10:08:54 +04:00
Anastasia Kuporosova 57e6dd1b7e
[Scripts] Warning instead of error in setupvars scripts (#13554)
* Warning instead of error in setupvars script

* apply comments
2022-10-25 09:56:56 +02:00
Piotr Krzemiński d715ecaa32
[CPP/SAMPLES] Samples location independant on script execution directory (#13251) 2022-10-20 10:01:55 +02:00
Ilya Lavrenov 2e336e4bb8
Fixes for brew support on OSX (#13476)
* Fixes for brew support on OSX

* Added new policy

* added quotes

* Used OpenVINODeveloperPackage

* Extra fixes

* Use standard verbose variable

* Fixed pkg-config generation
2022-10-15 00:15:03 +03:00
Ilya Lavrenov fb1faf8b2d
Generate openvino.pc pkg-config file (#12779)
* Generate openvino.pc pkg-config file

* Added libva-dev as a dependency

* Fixed typo in install_build_dependencies.sh

* samples on CI

* Revert changes in samples; use pkg-config in tests

* Debug print

* Revert changes in fuzz tests

* Fixed TBB usage

* Fixed pkg-config usage for cross-compilation

* Fixed pkg_config_tbb_lib_dir

* Don't use PKG_CONFIG_EXECUTABLE unconditionally

* Fixed copy-patse

* Fixe

* Generate pkg-config file for Apple as well

* Fixes for ubuntu 22.04

* Disable apple
2022-09-05 13:40:21 +04:00
Trawinski, Dariusz 7369ce2e4e
added support to install NEO drivers on rh8.6 (#12759) 2022-08-26 00:31:24 +04:00
Mateusz Tabaka 37a0bddd76
Fix some of shellcheck errors in setupvars.sh (#12623)
Fixed:
SC2070: -n doesn't work with unquoted arguments. Quote or use [[ ]].
SC2086: Double quote to prevent globbing and word splitting
in TBB related part of the script.
2022-08-19 00:05:50 +04:00
Mateusz Tabaka de4ffb00c3
handle tbb library path like .../tbb/lib/intel64/gcc4.8 (#12611) 2022-08-18 08:25:56 +03:00
Trawinski, Dariusz d035103889
changes needed to rhel8 certification (#12460)
* changes needed to rhel8 certification

* add missing python

* drop redundant python deps
2022-08-17 09:31:41 +04:00
Ilya Lavrenov aecab4d12a
U22 adoption in github actions (#12550)
* Supported newer versions of shellcheck

* Don't use excluded sources

* Improved NCC process of clang search

* Fixes
2022-08-14 20:53:41 +04:00
Ilya Lavrenov 2b69057603
Fixed CVS-89248 (#12534)
* Fixed CVS-89248

* Fixes for TBB 2018-2019.4
2022-08-13 00:11:13 +04:00
Ilya Lavrenov 6415fdc6cf
Install python libs for debian explicitly (#12522) 2022-08-12 11:37:45 +04:00
Ilya Lavrenov 101e1ea5ad
simple Windows installer POC (#12308)
* Fixes for cases when TBB_DIR env var is set

* Don't use make in build_samples.sh script

* First version of Windows installer

* WIndows NSIS installer
2022-07-27 14:04:22 +04:00
Sun Xiaoxia 1dd13e2cf6
Xiaoxia/onetbb old version (#12303)
* support oneTBB old version

* fix oneTBB version mismatch issues

* fix clang issue

* add 'tbb' path to setupvars.sh and OpenVINOConfig.cmake.in

* Update scripts/setupvars/setupvars.sh

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Shen, Wanglei <wanglei.shen@intel.com>
2022-07-27 16:49:53 +08:00
Ilya Lavrenov 14e8e3259d
Fixed build_samples.sh not to call setupvars.sh for Debian package case (#12309) 2022-07-26 23:17:41 +04:00
Ilya Lavrenov 926a87e7eb
Install user provided TBB as well (#12260) 2022-07-22 22:36:58 +04:00
Ilya Lavrenov 3c0b17f108
Debian packages: base version (#11387) 2022-07-19 09:07:26 +03:00
Ilya Lavrenov 6307fdc77b
Fixes for system libraries pugixml, tbb (#12206)
* Fixes for system libraries pugixml, tbb

* Added more dependencies for core
2022-07-19 08:52:06 +04:00
Ilya Lavrenov 6514c213c3
Ubuntu 22.04 support (#11472)
* Ubuntu 22.04 support

* Try to fix setuptools

* Try to fix arm

* Try to add more packages

* Test 2

* test 3

* Turn dependnecies download off

* Fix

* Fix

* Fix

* Fix

* Fix

* test

* Fix

* restore eveything

* Try to restore

* Restore install_openvino_dependencies.sh

* clean-up raspbian

* New if conditions

* Removed excess dependencies

* COsmetic chnages

* Removed autools

* Removed libgkt-2

* Added HDLDL libs

* Test

* Removed some dependnecies

* Better fixes

* Removed some dependencies

* Fixed compilation

* Removed all extra
2022-07-17 11:10:02 +04:00
stephenli2000 4125d71ce8
setupvars.sh: Removing extra semicolon, which breaks glibc build (#11849)
This extra semicolon creates an output as example below. The extra
'::' is equivalent to add '.' as part of the LD_LIBRARY_PATH. This
breaks glibc build, and very often creates weird issue when launch
commands from different path.

...inference_engine/external/tbb/lib::/opt/intel/openvino_2021/...

We also noticed that :${parameter:+:$parameter} is widely used in
this file. Please review the code and fix as needed.
2022-06-29 08:11:24 +02:00
Artur Kulikowski 1331eabbed
Getting of python version depend on the used shell (#11614) 2022-05-05 23:42:54 +02:00
Ilya Lavrenov 4ad20fb53f
Use system dependencies (#11419)
* Try to improve gflags

* Try to improve gflags: part 2

* Tried to use dependencies on system

* Use nlohmann_jsonConfig from system

* Enabled nlohmann_json from system

* Improvements

* handle system gflags in developer package

* Simplifications

* Simplify dependency management

* Corrected package names

* Fixed subgraphsDumper configure stage

* Try to fix rhel8

* Try to fix macosx

* Fixed VPUX build

* Fixed aliasing issues

* Suppress some wanrings

* export gflags when build it

* Fixed some LTO

* Try to fix Mac

* revert

* use gflags as private dependency

* Aligned targets in developer package

* Fixed frontends tests build on U20 with LTO

* PAssed

* Don't use pkg_search_module(zlib ..) during cross-compilation

* Removed unused variables

* Fixed finding of zlib during cross-compilation
2022-04-05 04:47:22 +03:00
Ilya Lavrenov 932f8bf767
Install 97-myriad-usbboot.rules to install_dependencies (#11301) 2022-03-30 13:03:42 +03:00
Andrey Somsikov 3442e90144
Fix setupvars.bat patching (#11160)
* Fix setupvars.bat patching

setupvars.bat shoudl not be patched for regular Debug and Release
configurations.

* Use SRTEQUAL for cmake string comparison
2022-03-25 14:15:04 +03:00
Nico Galoppo 3318dd6c68
Fix MacOS DYLD_LIBRARY_PATH export (#10750) 2022-03-03 00:36:02 +03:00
Ilya Lavrenov 6b067bc0ed
Fixed install on Apple (#8302)
* Fixed Apple install

* Update path to libs in setupvars.sh

* Fix IE_CPACK_RUNTIME_PATH for Apple

* Fix wheels packaging

Co-authored-by: Alexey Suhov <alexey.suhov@intel.com>
2022-03-01 16:56:15 +03:00
Artyom Anokhov ba69bae055
[Scripts] Remove MacOS install dependencies (#10397)
* OpenVINO scripts: Removed legacy install install_guide.html. Removed installation of scripts for MacOS

* scripts/CMakeLists: optimized if case
2022-02-16 12:52:57 +03:00
Anton Dudchenko 89b88af28d
[VPU] Rename INTEL_VPU to INTEL_MYRIAD, move thirdparty and vpu_dependencies (#9827)
* Rename INTEL_VPU to INTEL_MYRIAD, move thirdparty and vpu_dependencies

* Fix thirdparty

* Rename HDDL

* Remove unused files

* Fix HDDL

* Add path to mvnc

* Fix installation on Linux

* Remove thirdparty dir from codeowners

* Move new files

* Remove IE_MAIN_SOURCE_DIR dependencies

Co-authored-by: Maksim Doronin <maksim.doronin@intel.com>
2022-01-31 16:58:33 +03:00
Artyom Anokhov 101e762969
[Scripts][Driver] Updated script logic with approved for 2022.1 driver (#9801)
* install_NEO_OCL_driver: Updated script logic with approved for 2022.1 release drivers.

Removed COS7 support and checksum.

* Update scripts/install_dependencies/install_NEO_OCL_driver.sh

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>

* Update scripts/install_dependencies/install_NEO_OCL_driver.sh

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>

* install_NEO_OCL_driver: Removed _is_package_installed function

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>
2022-01-21 13:38:51 +03:00
Alexey Suhov a79830cb55
Update year to 2022 in copyright notice (#9755) 2022-01-19 01:07:49 +03:00
Sergey Lyubimtsev 5ebbad9bcf
Fixes for scripts (#9640)
* fixes for scripts

* reduce to warning python bitness check
2022-01-17 21:54:05 +03:00
Sergey Lyubimtsev f1a25b398c
Clean up setupvars scripts (#9410)
* Clean up setupvars scripts

* align opencv

* fix opencv location

* fix env windows

* fix env windows

* check upper bound for supported python version

* remove ROOT var

* revert PYTHONPATH

* fix error message

* fix pyver option

* revert OpenCV

* okay -> true
2021-12-29 17:57:56 +03:00
Vladimir Paramuzov 3ee00e018a
[GPU] Moved onednn_gpu to plugin folder (#9458) 2021-12-29 11:06:14 +03:00
Sergey Lyubimtsev 4188dbbf9f
install_openvino_dependencies.sh update (#9398)
* Remove opencv requirements from default components list

* Remove opencv requirements from default components list

* fix typo
2021-12-27 13:06:12 +03:00
Mikhail Nosov 9cc4504b78
Removed OV_FRONTEND_PATH from 'setupvars' scripts (#9396)
* Removed OV_FRONTEND_PATH from 'setupvars' scripts

* Update linux.yml

* Change mock frontend's install dir for static builds

* revert linux.yml
2021-12-24 13:01:51 +03:00
Andrey Somsikov f91999b1bc
Update setupvars.bat with CMAKE_BUILD_TYPE (#9327)
* Update setupvars.bat with CMAKE_BUILD_TYPE

 setupvars.bat paths set depends on CMAKE_BUILD_TYPE.
 RelWithDebInfo didn't work correctly.

* Check binaries path before patching setupvars

* Fix loosing semicolon in setupvars,bat
2021-12-23 18:14:27 +03:00
Vladislav Volkov 60a11a6348
[CPU] Renamed CPU plugin to ov_intel_cpu_plugin (#9342) 2021-12-23 11:49:25 +03:00
Yuliya Maskina d4c8926fc5
Exclude DL Streamer installation dependencies from install_dependencies script (#9126) 2021-12-10 02:36:17 +03:00
Pavel Esir 980904c9ec
[MO] Align MO namespaces (#7708)
* Moved and merged mo/ and extensions/ into openvino/tools/mo

* edited imports

* edited docs to use mo script from entry_point

* edited MO transformations list loading and setup.py

* changed full path -> 'mo' entry point in docs (leftovers)

* corrected package_BOM

* updated resolving --transformation_config in cli_parser.py

* pkgutil-style __init__.py, added summarize_graph into entry points

* updated DOCs for the new --transformations_config

* fix select

* updated install instructions, fixed setup.py for windows and python_version < 3.8

* fixed typo in requirements.txt

* resolved conflicts

* removed creating custom __init__.py from setup.py

* corrected folder with caffe proto

* corrected loading user defined extensions

* fix openvino.tools.mo import in serialize.py

* corrected layer tests for new namespace

* fix in get_testdata.py

* moved model-optimizer into tools/

* renamed import in POT

* corrected mo.yml

* correct CMakeLists.txt for the newest tools/mo

* corrected find_ie_version.py

* docs and openvino-dev setup.py update for the newest tools/mo

* miscellaneous leftovers and fixes

* corrected CI files, pybind11_add_module in CMakeLists.txt and use of tools/mo path instead of tools/model_optimizer

* add_subdirectory pybind11 for tools/mo

* POT path fix

* updated setupvars.sh setupvars.bat

* Revert "updated setupvars.sh setupvars.bat"

This reverts commit c011142340.

* removed model-optimizer env variables from setupvars

* updated CMakeLists.txt to pack MO properly with tests component

* corrected left imports, corrected loading requirements for layer tests

* mo doc typo correction

* minor corrections in docs; removed summarize_graph from entry_points

* get_started_windows.md, MonoDepth_how_to.md corrections, mo path corrections
2021-12-08 08:53:53 +03:00
Artyom Anokhov 19cda304cf
install_NEO_OCL_driver: Aligned with 2021.4 LTS release - added possibility to install 21.29.20389 (#9062) 2021-12-07 16:22:14 +03:00
Ilya Churaev b1fba3a675
Rename runtime to src (#8842)
* Renamed runtime to src

* Removed old paths

* Fixed cmake

* Fixed doc
2021-11-27 11:28:25 +03:00
Tatyana Raguzova 31ae69ac2d
[setupvars] Removed unnecessary double brackets (#8796)
they cause a problem on raspbianOS
2021-11-26 13:42:13 +03:00
Ilya Lavrenov c37521d097
Move fast run scripts for samples to samples folder (#8725) 2021-11-22 12:52:05 +03:00
Dmitry Pigasin 331372e7ff
[IE Sample Scripts] Use cmake to build samples (#8442)
* Use cmake to build samples

* Add the option to set custom build output folder
2021-11-10 17:31:28 +03:00
Dmitry Pigasin 0f282b687f
Add rhel8 support (#8129) 2021-10-21 14:13:41 +03:00
Dmitry Pigasin e3d5d4520f
[IE Sample Scripts] Change omz tool calls (#7717)
* Change omz tool calls in sample scripts (linux)

* Change omz tool calls in sample scripts (windows)

* Remove venv creation and /tools/model_optimizer/requirements.txt installation

* Remove `open_model_zoo/tools/downloader` from setupvars

* Remove `accuracy_checker` from setupvars

* Add error if omz tools are not installed

* Update scripts/demo/run_sample_benchmark_app.bat

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>

* Add check for all omz tools

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
2021-10-19 11:49:42 +03:00
Jan Iwaszkiewicz 78358bacb0
[PYTHON API] Expose ngraph bindings as part of openvino API (#8027) 2021-10-18 21:36:48 +02:00
Alexander Kozlov bbeec714aa
Moved Post-training Optimization Tool to open-source (#7940)
* Moved POT to opensource

* Added OMZ as a submodule

* Exclude OMZ from ShellCheck
2021-10-15 16:35:35 +03:00
Alexey Suhov 7320e9710a
Fix permissions for install_dependencies scripts after cmake install (#7659) 2021-09-25 00:16:51 +03:00
Xiake Sun 359cff31aa
Update git submodules with gitee mirrors in PRC network (#7441)
* Add script to redirect git submodules to gitee mirrors and updates these recursively for PRC developer

* Fix type, add comment for review finding

* Fix shellcheck findings
2021-09-23 10:40:23 +03:00
Ilya Naumov 67f2b68e38
Fix execute permissions for run_sample_*.sh (#7574)
* Fix execute permissions for run_sample_*.sh

* remove execution permission for utils.sh
2021-09-22 09:41:45 +03:00
Ilya Lavrenov 66ea818a72
Fixed path to POT (#7560) 2021-09-21 11:10:00 +03:00
Maksim Shabunin 5e91bf93cb
setupvars: updated OpenCV location (#7563) 2021-09-20 19:57:34 +03:00
Ilya Lavrenov 0df7dab345
New IRC package structure (#6255)
* OV new package structure

* Fixes

* More fixes

* Fixed code style in ngraph tests

* Fixes

* Paths to setupvars inside demo scripts

* Fixed demo_security_barrier_camera.sh

* Added setupvars.sh to old location as well

* Fixed path

* Fixed MO install path in .co

* Fixed install of public headers

* Fixed frontends installation

* Updated DM config files

* Keep opencv in the root

* Improvements

* Fixes for demo scripts

* Added path to TBB

* Fix for MO unit-tests

* Fixed tests on Windows

* Reverted arch

* Removed arch

* Reverted arch back: second attemp

* System type

* Fix for Windows

* Resolve merge conflicts

* Fixed path

* Path for Windows

* Added debug for Windows

* Added requirements_dev.txt to install

* Fixed wheel's setup.py

* Fixed lin build

* Fixes after merge

* Fix 2

* Fixes

* Frontends path

* Fixed deployment manager

* Fixed Windows

* Added cldnn unit tests installation

* Install samples

* Fix samples

* Fix path for samples

* Proper path

* Try to fix MO hardcodes

* samples binary location

* MO print

* Added install for libopencv_c_wrapper.so

* Added library destination

* Fixed install rule for samples

* Updated demo scripts readme.md

* Samples

* Keep source permissions for Python samples

* Fixed python

* Updated path to fast run scripts

* Fixed C samples tests

* Removed debug output

* Small fixes

* Try to unify prefix
2021-09-15 16:49:11 +03:00
Dmitry Pigasin 715769a31b
Remove `demo_security_barrier_camera` and update relevant docs (#7494)
* Remove demo_security_barrier_camera

* rename demo to samples, update python version

* update get_started docs

Co-authored-by: Vladimir Dudnik <vladimir.dudnik@intel.com>
2021-09-15 11:02:38 +03:00
Ilya Lavrenov b373cb844b
Removed information about FPGA plugin (#7474) 2021-09-13 14:01:49 +03:00
Ilya Lavrenov a952540edf
Openvino cmake config (#7419)
* Added OpenVINOConfig.cmake

* OpenVINOConfig.cmake part 2

* Trying to fix cmake generation

* Fixes

* Export frontends as well

* Fixed condition

* Added OpenVINO cmake package usage: docs, C samples

* Use more OpenVINO config

* Install OpenVINOConfig.cmake

* Trying to fix private plugins

* Trying to fix .tox

* Trying to fix ARM

* Fixed samples build

* Explicit ngraph duplicated targets

* Fixed fuzzing tests build

* Added IR frontend installation

* Removed install directory for IE reader

* Removed IR frontend from export list

* Reverted ngraph_DIR

* Try to fix .tox

* Fixed ieFuncTests with ONNX extensions

* Attempt #2

* Trying to fix ngraph setup.py

* Fix

* Trying to fix ONNX ngraph .tox CI

* Trying to remove spaces

* Fixed ngraph_DIR -> OpenVINO_DIR

* Removed junk files

* Try to fix ngraph wheel

* Try to fix ie_wheel

* Try to fix ngraph wheel
2021-09-10 15:31:27 +03:00
Anastasia Kuporosova 36318ca2cc
[Python API] move ngraph python api to the new location (#7364)
* [Python API] Move ngraph python api to the new destination

* fix building tests

* fix code-style checks

* building in azure

* fix building wheels

* apply fixes
2021-09-09 13:41:11 +03:00
Ilya Lavrenov 72fb7d207c
Merge tools and inference_engine/tools folders (#7359)
* Merge tools folders

* Fixed docs

* Moved deployment_manager

* Fixed path to benchmark_tool docs

* python_tools -> python_tools_benchmark
2021-09-07 12:43:33 +03:00
Ilya Lavrenov 005e7da325
Removed auto plugin (#7310)
* Try to remove auto plugin

* Auto is registered as MULTI

* Register MultiDevicePlugin as AUTO

* More explicit config
2021-09-03 22:01:18 +03:00
Mateusz Bencer 0e521a1e22
Use ONNX Frontend instead of ONNX Reader (#7031)
* added get_name

* add support to supported_impl

* remove debug code

* review remarks

* changed name to onnx_experimental

* fixed test

* revert onnx_experimental name

* integrate reader and fe api

* add unit tests

* removed prototxt from model_validator

* reader refactor

* add supress

* Update inference-engine/src/readers/onnx_reader/ie_onnx_reader.cpp

Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>

* fix segfaults

* removed onnx reader

* handle istringstream

* wstring support

* removed saving path

* styles applied

* changed name to onnx experimental

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* skip onnx_experimental frontend in mo.py

* add support of wstring paths

* fix wstring ctor of InputModelONNX

* added NGRAPH_SUPPRESS

* make one instance of manager

* change onnx_experimental name to onnx

* creation frontend manager refactor

Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-08-26 11:50:53 +03:00
Polina Brzezinskaya 0c8a5d5279
[VPU] Removes MYRIAD specific tools (#6908) 2021-08-09 20:35:03 +03:00
Mikhail Nosov aecb2b9693
Static library for ngraph::frontend_manager (#6719)
* Static library for ngraph::frontend_manager

* Static + Shared versions

* Fix CI

* USE_STATIC_FRONTEND_MANAGER macro

* Set USE_STATIC_FRONTEND_MANAGER compile definition as public

* Revert back incorrectly removed line

* Apply more review comments
2021-07-22 02:42:34 +03:00
Ilya Lavrenov f018cbda4d
Updated DM configs; added exec rights (#6707) 2021-07-20 17:36:31 +03:00
Artyom Anokhov 48c9eaba56
Migrate Deployment Manager tool to Open Source (#6692)
* Migrate Deployment Manager tool to Open Source

* scripts/CMakeLists.txt: Added install rules for deployment manager
2021-07-19 18:38:54 +03:00
azhogov 975496df16 Convert *.png and *.bmp files to LFS 2021-07-08 14:06:38 +03:00
Tomasz Socha 8f18a4f49f
[nGraph] 🦒 Move ngraph dependencies to submodules (#6304)
* [nGraph] 🦒 Move onnx library to submodule

* [nGraph] 🦒 Move protobuf library to submodule

* [nGraph] 🦒 Move pybind11 library to submodule

* [nGraph] 🦒 Move ittapi library to submodule

* 🛠️ fix extraction of protobuf_VERSION

* Skip shellcheck for pybind11

* WIP I

* Fix condition in protobuf version comparison

* downgrade protobuf to 3.7.1

* Change location of submodules with configs

* Fix

* Update protobuf to v3.9.2

* FIX II

* Style

* FIX III

* switch to tar.gz
2021-07-05 20:06:10 +03:00
Dmitry Pigasin be947a0b5d
Update demo .bat scripts (#6096)
* Change the build dir for cpp samples

* Add info about `-sample-options` to the help message

* Use `python -m pip` instead of `pip3`

* Add the line of code to update pip

* Update help messages

* Add python venv creation

* Use `model-optimizer/requirements.txt` instead of `install_prerequisites.bat`

* [demo_benchmark_app.bat] Update the help message

* [demo_benchmark_app.bat] Add venv creation

* [demo_benchmark_app.bat] Replace model_optimizer prerequisites with the requirements.txt

* Change the venv location

* Remove the mention of FPGA from the help message

* Fix venv folder path

* Change venv folder to `venv_openvino`
2021-07-05 12:48:54 +03:00
Dmitry Pigasin 860896c4bb
Update demo .sh scripts (#6078)
* Remove sudo package installation from demo scripts

* Change the build_dir path (benchmark_app.sh, squeezenet_download_convert_run)

* Remove redundant pip_binary

* Revert 'inference_engine_samples_build' as the build folder for .bat

* Add check for python 3.8

* Update help messages

* Use `model-optimizer/requirements.txt` instead of `install_prerequisites.sh`

* Add `--user` for python package installation (demo_security_barrier_camera.sh)

* Add python venv creation

* Create venv in $HOME instead of $ROOT_DIR

* Make the step messages look the same as in the .bat scripts

* Make the same changes to demo_benchmark_app.sh as in other .sh scripts

* Remove a mention of FPGA from a help message

* Set venv folder to `venv_openvino`
2021-07-05 12:47:11 +03:00
Ilya Lavrenov fc7f80a34e
CVS-34900: updated pugixml to v1.11.4 (#6301)
* Added pugixml as submodule

* CVS-34900: updated pugixml to v1.11.4

* Fixed link with pugixml

* USe pugixml::static

* Try to fix bug

* Removed GITHUB_PULL_REQUEST

* Replaced  OpenVINO_MAIN_SOURCE_DIR -> OpenVINO_SOURCE_DIR

* Removed some usages of IE_MAIN_SOURCE_DIR

* Use ngraph target directly
2021-07-02 11:36:31 +03:00
Ilya Lavrenov dd2ea02d3a
Fixed ngraph unit tests in Debug (#6470)
* Added compile_tool to PATH

* Installed benchmark_app

* Fixed ngraph unit tests in Debug

* Install of VPU_FIRMWARE to <root>/tests folder

* Conditional installation of benchmark_app
2021-06-30 20:57:01 +03:00
Artyom Anokhov 7720bde7ac
setupvars: Added OMZ downloader to PATH & PYTHONPATH (#6440) 2021-06-30 18:23:59 +03:00
Ilya Lavrenov 07f94ea602
Minimized usage of `IE_MAIN_SOURCE_DIR` (#6422)
* Minimized IE_MAIN_SOURCE_DIR hardcode

* Used COMPILE_OPTIONS instead of COMPILE_FLAGS

* Fixed compilation

* Enabled NGRAPH_DYNAMIC_COMPONENTS_ENABLE by default

* Fixes

* Moved GNA related file

* Fixed backend compilation

* Fixed Windows for ngraph

* Fixed <root>/tests build

* More updates

* Fixed scripts install

* Fixed Windows

* Fixed Windows
2021-06-30 18:15:41 +03:00
Artyom Anokhov 91331b55a2
Removing legacy script install_4_14_kernel.sh. (#6327) 2021-06-24 00:06:52 +03:00
Ilya Naumov 4dc9c03511
Fix demo scripts (#6280)
* Fix unknown command line flag errors if -sample-options is used

* Fix raw escape sequences output with dashes

* Fix raw escape sequences output with run_again message

* try change sampleoptions to array
2021-06-21 21:08:21 +03:00
Ilya Lavrenov b4e6028f8b
Fixed shellcheck issues (#6141) 2021-06-15 16:29:26 +03:00
Kate Generalova 6589f0a82c
scripts: remove pot dependencies (#5956) 2021-06-01 18:22:22 +03:00
Artyom Anokhov 315c8d4eec
install_NEO_OCL_driver.sh: Added auto_mode option (#5864) 2021-05-31 16:31:50 +03:00
Dmitry Pigasin f6b7179cdf
Add sudo to install_dependencies script (#5880) 2021-05-28 16:59:26 +03:00
Ilya Naumov e29505eaf8
add python3-gi-cairo dependency for dlstreamer on Ubuntu 20 (#5061) 2021-04-14 12:34:50 +03:00
Alexey Suhov 6a16b70e0e
setupvars and demos: Fix getting script dir on macOS 10.15 with with default zsh shell (#5094) 2021-04-02 21:37:21 +03:00
Alexey Suhov a2bf62f488
Align copyright notice in sh, bat, cl, cc, pyx source files (#4995) 2021-03-27 01:26:27 +03:00
Alexey Suhov 6478f1742a
Align copyright notice in python scripts (CVS-51320) (#4974)
* Align copyright notice in python scripts (CVS-51320)
2021-03-26 17:54:28 +03:00
Mikhail Ryzhov c3fc40052c
Python 3.8 support (#4629)
* Python 3.8 support

* Get path from setupvars
2021-03-23 17:32:08 +03:00
Dmitry Polunin 4946d2e62c
Added gstreamer1.0-x pkg for dlstreamer (#4512)
* Added gstreamer1.0-x pkg for dlstreamer

* Added va-driver pkg for dlstreamer

* Update install_openvino_dependencies.sh
2021-03-02 12:41:56 +03:00
Kate Generalova 9592cdb834
install_deps_scripts: remove RHEL minor version check (#4518) 2021-03-01 12:59:16 +03:00
Artyom Anokhov ef147905f1
[OpenVINO Scripts] Updated with RHEL8 (#4296)
* Updated install_NEO_OCL_driver.sh & install_openvino_dependencies.sh with rhel8 case

* install_NEO_OCL_driver: Fixed conditional

* script: Updated with actual revisions
2021-02-12 16:38:20 +03:00
Kate Generalova 9df13811ff
add libglib2.0-dev dependency for DL Streamer draw_face_attributes sample (#4223) 2021-02-09 10:02:07 +03:00
Dmitrii Denisov d323e43e69
Update install_openvino_dependencies.sh (#4183)
* Update install_openvino_dependencies.sh

Added python packages for CentOS 7

* Update install_openvino_dependencies.sh
2021-02-05 17:45:21 +03:00
Kate Generalova 6c3c0cca24
Skip installing numa pkg in OCL driver script (#4180)
fix internal issue #41229
fix syntax issues
2021-02-05 15:35:16 +03:00
Artyom Anokhov da9d42f63b
setupvars.bat: Removed "setlocal enableDelayedExpansion", updated checking python_version (#4162) 2021-02-03 21:16:54 +03:00
Kate Generalova 8b800cc539
add cl_compiler, dl_streamer and opencv deps to install dependencies script for Ubuntu (#4136)
* add cl_compiler, dl_streamer and opencv deps to install dependencies script for Ubuntu

libgl1 - for opencv package from PyPi
vainfo - for gstreamer-vaapi plugin
libtinfo5 - for cl_compiler tool

* remove old DL Streamer deps script

internal fix #40514

* add gstreamer tools as DL Streamer, opencv optional install dependency
2021-02-03 15:51:53 +03:00
Maksim Shabunin 08c4ac5372
Refactor install_openvino_dependencies script: extra options and cleanup (#3868)
* Refactor install_openvino_dependencies script: extra options and cleanup

* install_dependencies: added more python tools

* install_openvino_dependencies: extra OS checks

Verify consistency for future edits

* install_openvino_dependencies: clarify messages
2021-01-28 20:15:06 +03:00
Artyom Anokhov 344494a935
[Scripts] setupvars.bat: Added logic for passing '-pyver' option (#4026)
* setupvars.bat: Added logic for passing '-pyver' option as we already have in Linux* setupvars

* setupvars.bat: Fixed python_version name in echo
2021-01-27 12:51:55 +03:00
Sergey Lyubimtsev 298506fb14
Demo scripts improvements. (#3954)
* Demo script improvements.

 - Detect Visual Studio version installed into not-default location
 - Fix change directory for a case VS and OpenVINO resideds on different disks
 - Align indents

* fix indents
2021-01-25 12:23:07 +03:00
Sergey Lyubimtsev 51f3b33a83
Align location to OMZ demos (#3754)
* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] fix file permissions for install location

* enable make install for OMZ

* Add option description

* remove OMZ fetching & install
2021-01-12 17:17:47 +03:00
Maksim Shabunin 3fb5f63573
Restored gtk-3 installation (#3587) 2020-12-15 11:49:36 +03:00
Sergey Lyubimtsev b99bacd245
setupvars should export TBB_DIR (44241) (#3434)
* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* export TBB_DIR  in setupvars
2020-12-02 14:18:59 +03:00
Sergey Lyubimtsev e12b24a0bc
CMake installation rules for 3rd party components (#2944)
* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* Add CMake install rules for OpenVINO 3rd party dependencies

Remove unwanted targets from final distribution (test, static libs, etc)

* remove duplicated targets from install

align GNA Windows install path with Linux

* Add COMPONENT install name for OMP

remove empty lines

* Add OMP to CPack components

* remove gtest from deliverables

add explicitly clDNN_unit_tests target to build

* set clDNN_unit_tests properties only by condition

* remove install commands for clDNN

Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
2020-11-30 12:29:30 +03:00
Artyom Anokhov ebcef6a2ad
[Scripts] Update install_NEO_OCL_driver with 20.35.17767 (#3287)
* install_NEO_OCL_driver: Added new CLI options. Added help. Added new available to download and install driver - 20.35.17767.

* install_NEO_OCL_driver: Fixed descriptions and var names

* install_NEO_OCL_driver: Fixed syntax

* install_NEO_OCL_driver: Updated capturing '-y' option. Removed installing prerequisites.

* install_NEO_OCL_driver: Rollback removing install_prerequisites, but keep only ocl-icd & libnuma dependencies. Updated definition of UBUNTU_VERSION.
2020-11-24 20:21:46 +03:00