Commit Graph

417 Commits

Author SHA1 Message Date
Ilya Lavrenov
808a6b7b83 cmake: arm rasp-pi cross-compilation on macOS (#14894) 2023-01-03 11:48:33 +04:00
Ilya Churaev
a8fa767f41 Fixed sanitizer flags for Ubuntu (#14763) 2023-01-02 12:33:29 +04:00
Ilya Lavrenov
9193d40b05 Set conflicting versions for RPM / DEB (#14862) 2022-12-30 18:01:46 +04:00
Arseniy Obolenskiy
b5ee9a8d3a Fix samples build on ARM (32-bit) (#14832) 2022-12-28 12:35:25 +03:00
Ilya Lavrenov
c593b34654 Removed ENABLE_REQUIREMENTS_INSTALL cmake option (#14818) 2022-12-26 21:31:47 +04:00
Ilya Churaev
139a9de45b Revert zi fs flags (#14782)
* Revert "[VPUX] - add replacement /Z7 -> /Zi /FS (#14753)"

This reverts commit 4dc44a5a26.

* Revert "Use Zi FS instead of Z7 (#14741)"

This reverts commit 1147777808.

* Revert "[OV][VPUX] - Debug build flags (#14651)"

This reverts commit d300abf743.
2022-12-23 10:59:14 +04:00
Daria Mityagina
4dc44a5a26 [VPUX] - add replacement /Z7 -> /Zi /FS (#14753) 2022-12-22 12:22:00 +03:00
Daria Mityagina
d300abf743 [OV][VPUX] - Debug build flags (#14651)
* [TEST] - Debug build flags

* Remove the pdb config to let each project use own vxx.pdb file.

Co-authored-by: Xin Wang <xin1.wang@intel.com>
2022-12-20 11:38:43 +04:00
Ilya Churaev
59e04c9c59 Fixed sanitizer for Apple clang (#14556)
* Fixed sanitizer for Apple clang

* Update cmake/developer_package/compile_flags/sanitizer.cmake

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

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-12-12 14:00:49 +04:00
Ilya Churaev
95cf0ca7ba Add OV parallel (#14485)
* Expose IE_THREAD definition to end users

* Added new OV parallel

* Fixed naming style

* Rename utils namespace

* Fixed cpu plugin build

* Reuse OV macros

* Remove TBB dependency

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-12-12 11:18:21 +04:00
Ilya Lavrenov
f7de47e9b5 Added extra dependencies for debian / rpm packages (#14529) 2022-12-09 15:12:18 +04:00
Evgeny Kotov
f8b347ecd3 [GNA] Fixed extended debug build (#14355)
* fix build

* move debug define to cmake build options

* using namespace

* add debug build check

* remove build type check
2022-12-07 10:46:13 +01: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
Ilya Lavrenov
b41fb5f4e5 U[date features.cmake (#14345) 2022-12-01 17:39:48 +04:00
Zlobin Vladimir
c09af40b4c No-break space->space, asssuming->assuming (#14276)
* No-break space->space, asssuming->assuming

* benchmark_app: don't print warning each iteration

* Russian с->English c

* Warn no batch only once

* Allow anonymus namespaces

* Keep only one report of model bach size, warn_if_no_batch for static model as well
2022-11-30 11:25:16 +00:00
Ilya Lavrenov
121cc920b7 Removed global defitniions for plugins (#14273) 2022-11-28 21:52:19 +03:00
Maciej Kwapulinski
4b51cf5ba0 GNA library update to ver 03.00.00.1910 (#14215) 2022-11-28 09:36:29 +00:00
Ilya Lavrenov
79c6968024 Added older pugixml version support (#14260)
* Added pugixml finding w/o cmake, pkg-config

* Fixed findings

* Pugixml

* Removed sudo from install_build_dependencies.sh

* Fixed compilation with old pugixml

* Fixed Azure pipelines

* Updated clang-format step

* Add new approach for pugixml find to OpenVINO Developer package

* Fixed compilation with older pugixml

* Added openssl-devel for cmake build

* Fixed finding pugixml in developer package
2022-11-28 11:54:54 +04:00
Ilya Lavrenov
9db70d774f Properly added dependencies between RPM packages (#14258) 2022-11-26 11:11:19 +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
Ilya Lavrenov
923409164f Excluded MYRIAD from debian / rpm packages (#14227) 2022-11-25 10:56:07 +04:00
Fang Xu
8786fbe0c3 update tbb linux and mac binaries (#14080)
Co-authored-by: Chen Peter <peter.chen@intel.com>
2022-11-22 14:33:52 +08:00
Vladislav Vinogradov
96ad308380 Avoid gold linker usage in case of cross-compilation (#14097)
It might not be available in some cross-toolchains.

Extract the code for switching to gold linker into separate
CMake utility function to avoid duplication between multiple CMake scripts.
2022-11-19 01:19:01 +04:00
Ilya Lavrenov
684ad26449 Removed lintian warnings for U18 (#14091) 2022-11-18 20:05:33 +04:00
Ilya Lavrenov
74eede33e5 Updated copyright files for debian (#14089) 2022-11-18 19:34:58 +04:00
Ilya Churaev
807279276b Removed PKGCONFIG_OpenVINO_REQUIRES_PRIVATE (#14033)
* Removed PKGCONFIG_OpenVINO_REQUIRES_PRIVATE

* Removed redundant call

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-11-17 12:40:33 +03:00
Anastasia Kuporosova
0f647e6b75 Fix finding onetbb lib on windows (#14018) 2022-11-16 14:13:37 +04:00
Ilya Lavrenov
90427b019e Unbrick TF FE (#13779) 2022-11-16 10:53:10 +04:00
Ilya Lavrenov
20419905c3 Fixed compilation with gcc-12 (#13983)
* Fixed compilation with gcc-12

* Made python to be a mandatory dependency for gpu plugin

* Apply suggestions from code review
2022-11-15 21:59:27 +03:00
Ilya Lavrenov
55a45a4d1a Adjusted dependencies (#13942)
* Adjusted dependencies

* Fixed paths on Windows

* Move dependencies close to usage

* Updates
2022-11-14 12:57:27 +04:00
Ilya Lavrenov
473bded2b2 Compile_tool is excluded from Debian / RPM (#13911)
* Compile_tool is excluded from Debian / RPM

* Removed warnings related to compile_tool

* Removed noarch for core-dev
2022-11-10 12:30:11 +04:00
Ilya Churaev
63bfeb7eba Enable linker warnings as error for Windows (#13696)
* Enable linker warnings as error for Windows

* Fisable some linker warnings

* Suppress warnings

* Fixed build

* Change if opset

* Try to fix some warnings

* Revert some changes

* Try to fix warning

* Define OpenVINO static library for static libraries
2022-11-09 11:19:36 +04:00
Ilya Lavrenov
ce7455ddb0 Added option to disable compile_tool (#13903)
* Updated pugixml

* Added option to disable compile_tool
2022-11-08 15:04:57 +04:00
Ilya Lavrenov
b210b19c6d Risc-v toolchain (#13897) 2022-11-08 10:58:01 +04:00
Przemyslaw Wysocki
520b9ff68c [PyOV] Disallow Python 3.6 usage (#13240)
* Remove py3.6 constraints

* Cleanup out of date python versions

* Bump pybind11 to v2.10.1 release tag

* [PyOV] Fix wheel requirements for new package versions

Co-authored-by: jiwaszki <jan.iwaszkiewicz@intel.com>
2022-11-06 10:45:42 +04:00
Ilya Lavrenov
87f61cf822 Added per component copyright files for debian / rpm (#13833) 2022-11-04 08:15:00 +04:00
Ilya Lavrenov
c11389fa18 Fully define product version in cmake (#13802) 2022-11-03 14:22:46 +04:00
Ilya Lavrenov
a5a969886b Preparation for python debian package (#13800) 2022-11-03 08:19:18 +04:00
Ilya Lavrenov
838a6503a0 Pdpd tests moved to folder with frontend (#13414)
* Moved pdpd tests to folder with pdpd frontend

* Restored old requirements.txt for paddle temporarily

* FIxed requirements path for pdpd

* Restore old dependency
2022-11-02 21:23:32 +04:00
Anastasia Kuporosova
efb987d60f [PyOV] Fix building of wheel on windows from cmake (#13795) 2022-11-02 20:18:49 +04:00
Ilya Lavrenov
c40d225b6f Removed duplicated files from OpenVINO wheel (#13725) 2022-11-02 07:58:58 +04:00
Ilya Lavrenov
7595fd4c4e Improvements in rpm / debian build (#13750)
* Improvements in rpm / debian build

* Fixed several debian warnings

* Supported old gflags from CentOS 7

* Reverted back OpenCV version

* Fixed clang-format
2022-11-01 18:02:07 +04:00
Artyom Anokhov
769d87b400 debian.cmake: Suppress openvino_latest ubu18 description-starts-with-package-name error (#13714) 2022-10-28 16:38:16 +04:00
Ilya Lavrenov
fbd6d14c3b Several fixes for compilation fixes (#13674)
* Added i386 support

* Cross-compiled wheel package

* Fixes

* Try to use cross-env

* Fixed path to crossenv

* Strict dependency

* Removed numpy dependency

* explicitly activate crossenv

* Don't install ONNX for tests conversions during cross-compilation

* Updates

* Extra improvements

* Fixed compilation with strict flags

* Fixes

* Revert changesin .ci/azure/linux_arm64.yml
2022-10-27 17:30:24 +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
Ilya Churaev
848d880eb3 Fix Warning as error for Android ARM64 build (#13638)
* Fix Warning as error for Android ARM64 build

* Fixed preprocessing build

* Fixed cmake options

* Try to fix android build

* Disable some warning
2022-10-26 12:56:44 +04:00
Sun Xiaoxia
6d665e5b77 update tbb 2020 package which fix memory leak issue (#13552)
* update tbb version 2020.3 commitid is 617e9a71

* set USE_NEW_LOCATION TRUE

* modify SHA256

Co-authored-by: Chen Peter <peter.chen@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-10-25 18:46:02 +04:00
Ilya Churaev
2a344b66cb Update to the latest cmake for Windows (#13604)
* Update to the latest cmake for Windows

* Skip new warnings

* Added compiler flags for old cmake

* Disabled some warnings

* Suppress new warnings

* Fixed some errors

* Disable some warning for lpt

* Fix some warnings

* Disable new warnings

* Fix some warnings

* Disabled Was error for arm

* Fixed some errors

* Fixed some new warnings

* Fixed auto plugin

* Fixed Windows warning

* Fixed Windows

* Disable some warnings

* Some changes

* Small test fixes

* Fixed python build

* Added skip warnings for legacy python API
2022-10-25 18:11:46 +04:00
trixirt
a7d275bea6 check if ncc is enabled before looking for ncc.py (#13598)
If ENABLE_NCC_STYLE=OFF, the check for ncc.py still happens.
A confusing warning is reported and a redundant setting of
ENABLE_NCC_STYLE to OFF is done.

Check that ENABLE_NCC_SYTLE is enabled before looking for ncc.py

Signed-off-by: Tom Rix <trix@redhat.com>

Signed-off-by: Tom Rix <trix@redhat.com>
2022-10-23 22:44:50 +04:00