Commit Graph

78 Commits

Author SHA1 Message Date
abushwang 79fc6bf79b
add support for opencloudos / tencentos (#24878)
There is so many developers are try to install openvino in opencloudos
and tencentos.
This pr add support for opencloudos / tencentos.

OpenCloudOS is an open source operating system community jointly
initiated by Tencent and its partners.

for more news:
https://www.opencloudos.org/
https://docs.opencloudos.org/en/

Signed-off-by: abushwang <abushwangs@gmail.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2024-06-10 13:05:26 +04:00
oogee c76b5f2776
Use shell parameter expansion to make getting source path work in non-bash shells (#24598)
Currently `BASH_SOURCE[0]` was used, which is only available on bash.

I changed it to `${BASH_SOURCE:-$0}` which is supported by at least
bash, zsh and dash, as explained by
[https://stackoverflow.com/a/68359914/9028340](https://stackoverflow.com/a/68359914/9028340)

It uses shell parameter expansion

https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html

https://zsh.sourceforge.io/Doc/Release/Expansion.html#Parameter-Expansion

Addresses #17392
2024-05-21 15:28:52 +00:00
Ilya Lavrenov 92e88b28e7
Use custom TBB even on Linux (#24359)
### Details:
- System TBB provides lower performance than newer versions, so we have
to distribute our own one.
2024-05-17 09:07:41 +04:00
Ilya Lavrenov eb025fad1e
Supported Ubuntu 24.04 (#23905)
### Details:
 - Supported Ubuntu 24.04
2024-04-16 14:26:41 +00:00
Jacek Pawlak 239466ca5d
copyright year update (#23370)
New PR due to merge
conflicts(https://github.com/openvinotoolkit/openvino/pull/22917)

Updated the copyright year from 2018-2023 to 2018-2024 in all openvino
files

Ref. to script: CVS-101144

Command used:
```bash
git grep -lz '2018-2023 Intel Corporation' | xargs -0 sed -i '' -e 's/2018-2023 Intel Corporation/2018-2024 Intel Corporation/g'
```
2024-03-14 09:37:02 +00:00
Ilya Lavrenov b13cb8ce12
Make RPM packages compatible with wide range of RHEL systems (#20762) 2023-10-31 10:25:35 +04:00
Artyom Anokhov e3a2d3d14a
Updated 3lvl domain for RPMs from fedoraproject.org (#18288) 2023-06-29 11:47:39 +02:00
Ilya Lavrenov c05d8862cf
Added ocl-icd as dependency for GPU to install_dependencies.sh (#18123) 2023-06-20 19:40:35 +04:00
Ilya Lavrenov c5f4406c34
Install libtbb12 on U22 (#17655) 2023-05-22 17:51:52 +04:00
Ilya Lavrenov f7ccfd9b6e
Install libtbb2 instead of libtbb12 on U22.04 (#15992) 2023-02-28 15:32:53 +04:00
Ilya Lavrenov 87bcbc1747
Supported OpenSUSE 15.3 (#15897) 2023-02-23 11:25:33 +04:00
Artyom Anokhov 8d2eae95a7
Port changes for installing GPU driver from 2022.3 branch (#15408)
* Port changes for installing GPU driver from 2022.3 branch.

* install_openvino_dependencies: Fixed syntax after ShellCheck

---------

Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2023-02-08 18:37:51 +04:00
Zlobin Vladimir 52eefb8fb0
scripts/install_dependencies/install_NEO_OCL_driver.sh: code style (#15484)
* scripts/install_dependencies/install_NEO_OCL_driver.sh: code style

* scripts/install_dependencies/install_NEO_OCL_driver.sh: code style warnings

* scripts/install_dependencies/install_NEO_OCL_driver.sh: add missing !
2023-02-04 12:04:33 +04:00
Ilya Lavrenov c4eeecfec5
Remove myriad plugin (#15131)
* Removed Intel MYRIAD plugin

* Removed Intel MYIAD from CI files

* Removed Intel MYRIAD from cmake folder

* Removed MYRIAD, HDDL from samples

* Removed MYRIAD, HDDL from scripts folder

* Removed MYRIAD from bindings folder (C and Python API)

* Removed MYRIAD tests

* Removed MYRIAD from tests folder

* Removed MYRIAD from tools folder

* Removed HDDL (VAD), MYRIAD (NSC2) from documentation

* Fixed build for AUTO unit tests

* Fixed clang code style

* Fixed comments and issues

* removed MYRIAD from AUTO tests

* Disabled MULTI tests in CI

* Update docs/OV_Runtime_UG/auto_device_selection.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/get_started/get_started_demos.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/OV_Runtime_UG/deployment/local-distribution.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
2023-01-18 15:19:44 +04:00
Ilya Lavrenov 8eed22b477
Remove excess dependencies from scripts (#14995)
* Remove excess Azure Pipelines steps

* Installed unzip inside Azure pipelibes

* Added --no-install-recommends

* Move ccache to build tools

* Added libffi-dev for python _stypes

* Exit if debian packages cannot be installed

* Added comment

* Install wget for cmake downloading

* Update Azure

* Try to fix samples tests on Debian Linux

* Fixes

* Moved env

* More refactoring

* Fixes

* Revert: bash => script back

* Fixed arm64 linux

* Fixed CUDA

* Fixed mac

* Try to fix

* Try to fix cuda

* Fixed CUDA

* Fixes

* Optimize Mac build

* Fixed windows

* Try to fix debian

* Build CC COLLECT

* Use ninja for CC

* Try to fix WinCC

* Apply suggestions from code review

* Fixed sample spath

* Update .ci/azure/windows_conditional_compilation.yml

* Apply suggestions from code review

* Fixed CC ON compilation with ninja

* Improvements

* Print CC header content

* Try to fix Ninja build for Win CC

* Added explicit dependency between targets

* Reverted changes in Windows CC Azure config

* Update cmake/developer_package/compile_flags/os_flags.cmake
2023-01-16 12:12:57 +04:00
Ilya Churaev 0c9abf43a9
Updated copyright headers (#15124)
* Updated copyright headers

* Revert "Fixed linker warnings in docs snippets on Windows (#15119)"

This reverts commit 372699ec49.
2023-01-16 11:02:17 +04:00
Ilya Lavrenov b9df7793fa
Fixed shellcheck (#14882) 2023-01-02 11:30:54 +04:00
Ilya Lavrenov 1cb4800c03
Added ocl-icd for ubi8 image (#14525) (#14539)
* install_openvino_dependencies: Added ocl-icd for ubi8 image

* install_openvino_dependencies.sh: Added json-devel to pkgs_dev for ubi8

* install_openvino_dependencies: Added pkgconf-pkg-config to pkgs_dev

* install_openvino_dependencies: Moved pkgconf-pkg-config to high-level pkgs_dev

* install_openvino_dependencies: Fixed with case for centos7

* Update scripts/install_dependencies/install_openvino_dependencies.sh

applied comments

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

Co-authored-by: Artyom Anokhov <artyom.anokhov@intel.com>
2022-12-09 15:42:05 +04:00
Trawinski, Dariusz b914a8c71c
fix syntax (#14436) 2022-12-06 16:04:46 +04:00
Ilya Lavrenov fcc4e60441
Amazon linux 2 support (#14412)
* Use prebuilt cmake in install-dependencies steps

* Removed building of custom python to save Azure CI time

* Adjusted conditions in cmake

* Download VPU custom kernels compiler only for x86

* Removed -pyver argument

* Improvements

* Detect glibc version

* Usage of new glic variable

* Fixed typo

* Increased glibc version for MYRIAD case

* Made OpenVINO cmake Linux flavors agnostic

* Detect glibc version on RedHat

* Use clcompiler only since ubuntu 18.04

* Universal way to detect glibc version

* Revert some changes

* Added support of AmaZon Linux 2

* Amazon Linux 2 support
2022-12-05 21:38:52 +04:00
Trawinski, Dariusz d5a4d169d7
prepare install NEO script for rhel8.7 and ubi8.7 (#14408)
* enable install scripts for rhel8.7

* fix syntax error
2022-12-05 18:42:28 +04:00
Ilya Lavrenov 6dd8a93735
Made OpenVINO cmake scripts Linux flavors agnostic (#14384)
* Use prebuilt cmake in install-dependencies steps

* Removed building of custom python to save Azure CI time

* Adjusted conditions in cmake

* Download VPU custom kernels compiler only for x86

* Removed -pyver argument

* Improvements

* Detect glibc version

* Usage of new glic variable

* Fixed typo

* Increased glibc version for MYRIAD case

* Made OpenVINO cmake Linux flavors agnostic

* Detect glibc version on RedHat

* Use clcompiler only since ubuntu 18.04

* Universal way to detect glibc version

* Revert some changes

* Apply suggestions from code review

fixes issue with GNA

* Apply suggestions from code review

fixed typo
2022-12-04 22:55:52 +04:00
Ilya Lavrenov 3ec084074a
RPM packages improvements: part 2 (#14306)
* Updated install_dependencies.sh

* Added Fedora support

* Improvements for RPM generation

* Refactored work with gflags

* Apply suggestions from code review

* Improvements

* Several improvements for Ubuntu 18.04

* Improvements in gflags

* Update thirdparty/CMakeLists.txt

temporary install samples dependencies

* Fixed several mistakes

* Fixed issues with gflags

* Don't install dependencies on Linux

* Added nlohmann findinds on debian9 case

* Added FATAL_ERROR is gflags is not found in samples

* Fixes for samples on CentOS 7

* Cross-compiled debian packakges with proper libraries location

* Fixed include for old nlohman-json versions

* Fixed compilation with old json

* Applied review comments

* Added support of old nlohmann versions via submodule

* Temporary WA for CentOS 7

* Fixed compilation with old gflags

* Fixed compilation of C samples

* Fixed gflags on RHEL8.2 / Debian 9
2022-12-01 23:57:23 +04:00
Trawinski, Dariusz 4c19246097
Add missing libpython3.8 in install dep script for ubuntu18 (#14337)
* update code deps for rhel

* new neo driver version

* new neo driver version fix

* fix

* fix

* drop not needed gpu packages

* removed not necessry NEO packages, updated ov deps

* add gflag for rhel8 os

* update python on ubuntu18 and add core rhel8 rpm URLs

* add libpython3.8

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-11-30 18:55:01 +04:00
Trawinski, Dariusz a2b46ed2eb
update NEO drivers to support DG2 and fix package name for rhel8 (#14016)
* update code deps for rhel

* new neo driver version

* new neo driver version fix

* fix

* fix

* drop not needed gpu packages

* removed not necessry NEO packages, updated ov deps

* add gflag for rhel8 os

* update python on ubuntu18 and add core rhel8 rpm URLs

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-11-30 00:41:24 +04:00
Ilya Lavrenov 8dd8262b77
Added Debian, Raspbian, Ubuntu 22.10 support to install dependencies (#14226)
* Added Debian, Raspbian, Ubuntu 22.10 support

* Updated dependencies.cmake

* Fixes in script

* Added RHEL 9.1 support

* Added proper comments

* Compilation of rpm packages for aarch64 is fixed

* Proper generation of requirements.txt files when ENABLE_WHEEL=OFF

* samples build improvements

* Proper name for json library

* Proper condtion in samples
2022-11-25 11:13:43 +04:00
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
Piotr Krzemiński d715ecaa32
[CPP/SAMPLES] Samples location independant on script execution directory (#13251) 2022-10-20 10:01:55 +02:00
Trawinski, Dariusz 7369ce2e4e
added support to install NEO drivers on rh8.6 (#12759) 2022-08-26 00:31:24 +04: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 6415fdc6cf
Install python libs for debian explicitly (#12522) 2022-08-12 11:37:45 +04: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 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
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
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
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 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
Yuliya Maskina d4c8926fc5
Exclude DL Streamer installation dependencies from install_dependencies script (#9126) 2021-12-10 02:36:17 +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 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
Artyom Anokhov 91331b55a2
Removing legacy script install_4_14_kernel.sh. (#6327) 2021-06-24 00:06:52 +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