Commit Graph

332 Commits

Author SHA1 Message Date
Ilya Lavrenov
675cce8325
Changed SOVERSION scheme (#12809)
* Changed SOVERSION scheme

* Simplified condition
2022-08-30 22:18:06 +04:00
Ilya Lavrenov
5a037dedbc
Finalize with libraries versioning (#12704) 2022-08-26 09:45:27 +04:00
Ilya Lavrenov
ddf75def93
Print detailed errors if no reqs are found for either ENABLE_PYTHON / ENABLE_WHEEL are ON (#12755)
* Don't install onnx test requirements autonatically

* Added requirementst install to Azure CI

* Respect onnx_FOUND

* Use pdpd 2.3.0

* Remove numerous warnings

* Improved error messages for building python, python wheel

* Improvements

* More improvements

* Fixes

* Fixed CI

* Fixes

* Revert
2022-08-25 20:15:21 +04:00
Ilya Churaev
f994e307a9
Enable support of CPU plugin for Apple M1 (#12672)
* Enable support of CPU plugin for Apple M1

* Removed cmake option
2022-08-25 11:33:40 +04:00
Ilya Lavrenov
2ef6e2951c
Use static TBBBind if dynamic one is not found (#12703) 2022-08-23 13:17:35 +04:00
Ilya Lavrenov
27cbc1a969
Debian packages for frontends (#12649)
* Created dedicated debian packages for frontends

* Fixed Azure CI

* Install TF FE with both names

* Disabled 2 QN tests

* Install python samples differently
2022-08-23 01:39:23 +04:00
Ilya Lavrenov
0ac5cfd17a
Improved dependencies handling for ie_wheel (#12666)
* Improved dependencies handling for ie_wheel

* Fixed compilation erros

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
2022-08-22 11:09:56 +04:00
Ilya Churaev
9a4326012c
Fixed generation of plugins.hpp and disabled some proxy tests (#12637) 2022-08-19 18:50:59 +03:00
Ilya Lavrenov
5d31a27f57
Fix conditions for python when cmake debug prefix is not empty (#12601) 2022-08-18 08:31:23 +04:00
Ilya Lavrenov
1a965bbd80
Added lintian post-build step (#12576)
* Added lintian post-build step

* Update cmake/developer_package/packaging/debian_post_build.cmake

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
2022-08-16 16:44:11 +04:00
Ilya Lavrenov
2e7284cfa0
Automatically detect ENABLE_PYTHON, ENABLE_WHEEL default values (#12551)
* Add ENABLE_WHEEL=ON by default

* Adjust CMake options for GitHub checks

* Add ov_check_pip_package and ov_check_pip_packages CMake functions

* revert options

* skip empty lines

* formatting

* fix condition

* check for patchelf

* Add numpy dependency to condition

* Fix error:

    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (gast 0.4.0 (c:\hostedtoolcache\windows\python\3.7.6\x64\lib\site-packages), Requirement.parse('gast==0.3.3; platform_system == "Windows"'), {'paddlepaddle'})

* set DENABLE_WHEEL=OFF for openvino-onnx docker

* Supported newer versions of shellcheck

* Don't use excluded sources

* Improved NCC process of clang search

* Fixes

* A lot of updates

* Fixes after 2 PRs merge

* Fixed build

* Fixes

* Relaxed cython version a bit

* Try non-pip cython as well

* Fixed MacOsX

* Disable pybind usage for MO tests as well

* Added descriptive warning messages

* Fixed compilation on Windows

* Support for cmake < 3.15

* FIxed Windows linkage

* Fixed review comments

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>
2022-08-16 14:43:30 +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
81e41f7c8e
Added vresion generation as in CI (#12521) 2022-08-12 15:43:09 +04:00
Ilya Lavrenov
e0b12009ea
Removed old headers from OV 2.0 API (#12214)
* Removed old headers from OV 2.0 API

* FIxed clang

* Fixed warning

* Updated OMZ submodule

* Fixed gpu tests build
2022-08-12 11:35:36 +04:00
Ilya Lavrenov
92ef155ed1
Debian packages tests on Azure (#12469)
* Squashed commit of the following:

commit 036a32290ed795326d51dd41d83b891248b0ac05
Merge: db41a71ea9 ee0b67e605
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Aug 9 04:33:54 2022 +0800

    Merge remote-tracking branch 'origin/debian-packages-azure' into debian-on-azure

commit ee0b67e605
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Jul 18 03:31:46 2022 +0800

    test

commit e357eb1428
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Thu Jul 7 02:58:22 2022 +0800

    Test

commit 4635acc497
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jul 17 22:10:52 2022 +0800

    Azure

commit b1fff55143
Merge: 806ecaefa5 d67d4ce736
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jul 17 21:28:49 2022 +0800

    Merge branch 'debian-packages' into debian-packages-azure

commit d67d4ce736
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jul 17 21:28:30 2022 +0800

    Removed commented code

commit 806ecaefa5
Merge: e328c9fc07 4413f0c4a8
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jul 17 21:24:40 2022 +0800

    Merge branch 'debian-packages' into debian-packages-azure

commit 4413f0c4a8
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jul 17 21:24:22 2022 +0800

    Fixed python; need to update component name in product config

commit e328c9fc07
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jul 17 21:23:51 2022 +0800

    Updated .ci

commit cb59bc9563
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jul 17 15:33:21 2022 +0800

    Updates

commit d733e7aeb5
Merge: 096bdcc9e4 e31018844d
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jul 17 15:31:26 2022 +0800

    Merge branch 'debian-packages' into debian-packages-azure

commit e31018844d
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jul 17 15:31:08 2022 +0800

    Some updates

commit b079a9e3a5
Merge: b0f15a8513 6514c213c3
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jul 17 15:06:59 2022 +0800

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 096bdcc9e4
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jul 17 02:59:56 2022 +0800

    CI pipeline with debian

commit 5b1c29a1a3
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jul 17 02:12:15 2022 +0800

    Test comit

commit b0f15a8513
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sat Jul 16 18:56:58 2022 +0800

    Fixde tests on Windows

commit 16dc4d8bc0
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sat Jul 16 15:46:15 2022 +0800

    Try to fix GNA

commit 9801e52322
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sat Jul 16 14:40:21 2022 +0800

    Update TBB install rules

commit 279f8a8a72
Merge: 9bf178fce0 09f2b5062b
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sat Jul 16 14:30:15 2022 +0800

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 9bf178fce0
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Jul 15 21:09:00 2022 +0800

    Fix for debian

commit 7afa431f05
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Jul 15 20:16:09 2022 +0800

    Revert cmake scripts location

commit 9ead76efce
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Jul 15 19:31:08 2022 +0800

    Try to fix TBB finding

commit 6f0da74e2a
Merge: be9e25c6f7 e8310f7e0b
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Jul 15 19:14:50 2022 +0800

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit be9e25c6f7
Merge: c203963548 35a31a329d
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Thu Jul 14 22:44:45 2022 +0800

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit c203963548
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Apr 5 22:29:34 2022 +0300

    Small fixes after self-revew

commit e2f1595c21
Merge: 3bae350d1c c2703c81f6
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Apr 5 22:21:41 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 3bae350d1c
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Apr 5 22:17:17 2022 +0300

    Split debian file on common tools and repo specific stuff

commit 8a5bb7fe04
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Apr 5 20:41:45 2022 +0300

    Revert TMP WAs

commit be78da4a88
Merge: d0da7056d0 86495ceb0f
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Apr 5 13:44:49 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit d0da7056d0
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Apr 3 12:11:33 2022 +0300

    Improvements

commit 69bafd3519
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Apr 3 12:02:25 2022 +0300

    Enabled nlohmann_json from system

commit bdbc7804af
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Apr 3 11:46:19 2022 +0300

    Use nlohmann_jsonConfig from system

commit 0f2e2bbdcb
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Apr 3 11:13:40 2022 +0300

    Tried to use dependencies on system

commit 88415fc133
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sat Apr 2 19:28:48 2022 +0300

    Try to improve gflags: part 2

commit b8fafcb670
Merge: 56dad4d12a 29fb8c79b1
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sat Apr 2 19:23:19 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 56dad4d12a
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sat Apr 2 19:23:15 2022 +0300

    Try to improve gflags

commit 81aa7ccc38
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sat Apr 2 18:08:03 2022 +0300

    Skip TBB component

commit 9446326040
Merge: 610729c716 4fcc18c00e
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sat Apr 2 11:13:14 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 610729c716
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Apr 1 19:36:10 2022 +0300

    fixed TBB

commit 1930daa580
Merge: fc37de4382 2388f3b976
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Apr 1 19:04:19 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit fc37de4382
Merge: c2ea71e45d d3060d4bcc
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Thu Mar 31 21:08:44 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit c2ea71e45d
Merge: aeebfeba92 9fa5150d71
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Wed Mar 30 13:42:44 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit aeebfeba92
Merge: e65d2e8097 30ec7366bb
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Mar 28 20:06:38 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit e65d2e8097
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sat Mar 26 13:55:52 2022 +0300

    Reverted OV_CPACK_COMPILER_IS_CLANG

commit 8cf4d15d4d
Merge: 2639adb686 aded1a2c70
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sat Mar 26 13:53:40 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 2639adb686
Merge: cebdf3f92a a2705b1fed
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Mar 25 15:18:48 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit cebdf3f92a
Merge: 7ded4663d0 e3098ece7e
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Mar 18 18:08:10 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 7ded4663d0
Merge: ab92bd6c13 6b22d0d109
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Feb 18 19:51:47 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit ab92bd6c13
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Feb 18 19:48:07 2022 +0300

    added versions via -

commit 1f4f71a498
Merge: f3825b8d9d 07f0966e62
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Feb 18 19:29:31 2022 +0300

    Merge branch 'tf-brick-3' into debian-packages

commit f3825b8d9d
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Feb 18 19:05:20 2022 +0300

    Used standard dir for OV_CPACK_TOOLSDIR

commit 466c5c055c
Merge: 6d57fc75a3 d2177cf177
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Feb 18 18:47:36 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 07f0966e62
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Feb 18 15:02:29 2022 +0300

    Revert "repair TF FE tests after build (#10432)"

    This reverts commit 306b7611d9.

commit 6d57fc75a3
Merge: 697b0190e3 61f657795c
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Feb 18 14:30:26 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 697b0190e3
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Wed Feb 16 20:00:45 2022 +0300

    Fixed package name

commit 8bd9368f6e
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Wed Feb 16 19:37:55 2022 +0300

    Tuned locations

commit 61f09a2f3e
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Wed Feb 16 19:24:42 2022 +0300

    Fixed cmake stage

commit 4519f0fc06
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Wed Feb 16 19:07:41 2022 +0300

    Split packaging into common and debian part

commit a6b3259e38
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Wed Feb 16 18:27:22 2022 +0300

    Renaming

commit 694581c317
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Wed Feb 16 18:20:44 2022 +0300

    Parametrize installation paths

commit d693205c40
Merge: 5047fc8667 abeb910ce2
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Wed Feb 16 17:34:11 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 5047fc8667
Merge: ee8cdf3b12 317b956d2e
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Feb 15 18:49:52 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit ee8cdf3b12
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Feb 15 18:49:23 2022 +0300

    Removed custom MYRIAD kernels

commit 5c1db8f9f8
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Feb 15 18:26:58 2022 +0300

    Disabled versioning for now

commit f305376469
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Feb 15 17:12:24 2022 +0300

    System TBB

commit fcc455e18e
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Feb 15 16:35:40 2022 +0300

    Improvements

commit a2dc0275a3
Merge: de9cb7c102 e168c9b1c3
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Feb 15 14:14:54 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit de9cb7c102
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Feb 15 14:14:36 2022 +0300

    Self-review

commit df794a493a
Merge: 85e01e8b4c 68c390f679
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Feb 15 13:35:32 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 85e01e8b4c
Merge: f637f8fbc4 a875f6ed9c
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Feb 15 12:55:25 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit f637f8fbc4
Merge: db2e5d348e 3a5d821219
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Feb 14 19:29:34 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit db2e5d348e
Merge: 78073f53ca ac2e639ff8
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Feb 14 18:25:05 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 78073f53ca
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Thu Jan 13 16:37:54 2022 +0300

    Automatic triplet generation; added SOVERSION

commit 2267703a55
Merge: 91b67538ca b7e8ef910d
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Thu Jan 13 16:01:38 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 91b67538ca
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Thu Jan 13 01:09:30 2022 +0300

    Added both version and soversion

commit c19ecf16a8
Merge: fc449e76dc ab09135195
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Jan 11 18:29:46 2022 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit fc449e76dc
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Dec 27 20:17:22 2021 +0300

    removed if target

commit 52638ac629
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Dec 27 20:13:01 2021 +0300

    location for DM

commit dd8f0ffaf4
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Dec 27 19:55:04 2021 +0300

    Fixed complation of private plugins

commit 140472f436
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Dec 27 18:40:44 2021 +0300

    Enable FHS even for non-debian packages

commit f461859cfe
Merge: e603fcf8af f565e0f854
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Dec 27 18:34:31 2021 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit e603fcf8af
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Dec 27 18:34:20 2021 +0300

    Install location for plugins and python

commit 1ae71e993d
Merge: 5c2b9a97d5 ab10057371
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Dec 27 17:53:48 2021 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 5c2b9a97d5
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Dec 27 17:53:30 2021 +0300

    Fixed for debian packaging

commit ab53b80e56
Merge: 043768808c 4188dbbf9f
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Dec 27 16:06:40 2021 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 043768808c
Merge: cd44300742 2514c0ef38
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Thu Dec 16 16:05:24 2021 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit cd44300742
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Dec 14 01:52:30 2021 +0300

    Fixes

commit c97ce1ef60
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Dec 14 01:40:50 2021 +0300

    Created virtual packages

commit 680a11ee2d
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Dec 13 16:19:49 2021 +0300

    Added more files to core component for DEBIAN generator

commit 9b454a00de
Merge: 394e600fed 5124d95df7
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Dec 13 15:30:55 2021 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 394e600fed
Merge: 74504d011f 562d388ad9
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Dec 10 17:50:30 2021 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 74504d011f
Merge: aabd31a3a5 0c68574aa7
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Dec 10 14:25:47 2021 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit aabd31a3a5
Merge: 95bbc6f1e8 92760949bf
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Wed Dec 8 18:06:01 2021 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 95bbc6f1e8
Merge: b4b5149e84 f734e7679b
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Wed Dec 8 14:53:12 2021 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit b4b5149e84
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Tue Dec 7 19:19:58 2021 +0300

    Last fixes

commit 311529ce50
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Dec 6 19:47:35 2021 +0300

    Works

commit 746f91c8e8
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Dec 6 18:42:54 2021 +0300

    Ntext iteration

commit c6d9b58b2a
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Dec 6 14:29:53 2021 +0300

    Fixes after merge with master

commit 64c633d8fe
Merge: 29252a7d96 d27720777c
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Mon Dec 6 14:20:40 2021 +0300

    Merge remote-tracking branch 'upstream/master' into debian-packages

commit 29252a7d96
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Dec 5 20:50:19 2021 +0300

    Improvements

commit c13d7795ef
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Dec 5 19:45:01 2021 +0300

    Debian packages are generated

commit 61f36feb97
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sat Dec 4 22:00:11 2021 +0300

    Removed samples_deps, demo_scripts component

commit e67a46cc3e
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Dec 3 18:48:43 2021 +0300

    Start point for debian packages

commit 0ab57298f8
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Fri Dec 3 13:10:17 2021 +0300

    Export frontend_common as dev target

* Improvements

* Fixed aizre scripts

* Revert "Fixed MINOR version"

This reverts commit aa391a94bd6e488e27dbb830403e6531dcdc7a19.

* Try to parametrize linux.yml

* Tests

* Fixes

* Fixed commands

* Disabled test

* Fixes

* Fixed typo

* Try to enable debian packages on CI

* One more iteration

* Fixes

* Fixed tensorflow tests

* Explicit debian pipeline

* Fixes

* Skipped ov_core_read_model_from_memory
2022-08-12 00:07:21 +04:00
Ilya Lavrenov
92d28a6ea5
Fixed MINOR version (#12475)
Tested via product-config
2022-08-09 19:25:23 +04:00
Ilya Lavrenov
6ca47b074d
Library versions & made tests relocatable (#12416)
* 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

* Improved version of debian packages

* Improvements

* Improvements

* Debian packages now look good

* Library versioning

* Fixed tests to run against debian packages

* Fixed frontend tests

* Fixed code style

* FIxed Windows

* Fixed python tests

* Fixed paths in tests

* fdvfdv

* Fixes

* USe versioning only for debian packages

* Relocatable tests

* Fixed

* Fixed all tests

* Fixed clang-format

* Fixed more tests

* Fixed some tests

* Absolute paths in .ci

* Fixes

* Added support of OpenCV 3.4

* Trying to fix gnaUnitTests
2022-08-08 13:59:24 +04:00
Ilya Lavrenov
b449481439
Improved OpenVINO debian packages (#12385) 2022-08-03 07:20:26 +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
Xiping Yan
9519461453
Move GNU build flag to "cmake/developer_package/compile_flags/sdl.cmake" (#12143)
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
2022-07-22 10:13:13 +04:00
Ilya Lavrenov
3c0b17f108
Debian packages: base version (#11387) 2022-07-19 09:07:26 +03: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
4fcc18c00e
Tbb 2018 and older usage (#11411)
* fixed TBB

* Fixed compilation with old TBBs

* Fixed installation for custom provided TBB
2022-04-02 11:11:13 +03:00
Ilya Lavrenov
3c724a1dee
Build with system TBB (#11244)
* Build with system TBB

* Fixes

* Check whether system TBB is available

* Try to fix ONNX Runtime build with system TBB

* Test

* Fixed compilation of threading.cpp

* Fixed unset of cache dirs

* Limit dearch paths of TBB

* Try to enable pip packages with custom TBB

* Fix for TBB 2021.2

* Install only needed TBB libraries

* Install TBB from system to pip package

* Reverted usage of TBBROOT

* Fixed oneTBB case

* Try to fix Android

* Escape some paths

* Added samples path

* Fixed TBBBind usage for case of system TBB
2022-03-31 18:05:59 +03:00
Ilya Lavrenov
19d0e5ba52
CMAKE: IE_VERSION => OpenVINO_VERSION (#11242)
* IE_VERSION => OpenVINO_VERSION

* Reverted installation of python unconditionally
2022-03-28 19:32:21 +03:00
Ilya Churaev
4dc0d6e711
Fixed comments after #11155 (#11202)
* Fixed comments after #11155

* Add information about plugin option
2022-03-25 16:02:18 +03:00
Ilya Lavrenov
a883dc0b85
DOCS: ported changes from 2022.1 release branch (#11206)
* Extensibility guide with FE extensions and remove OV_FRAMEWORK_MAP from docs

* Rework of Extensibility Intro, adopted examples to missing OPENVINO_FRAMEWORK_MAP

* Removed OPENVINO_FRAMEWORK_MAP reference

* Frontend extension detailed documentation

* Fixed distributed snippets

* Fixed snippet inclusion in FE extension document and chapter headers

* Fixed wrong name in a snippet reference

* Fixed test for template extension due to changed number of loaded extensions

* Update docs/Extensibility_UG/frontend_extensions.md

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>

* Minor fixes in extension snippets

* Small grammar fix

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>

* DOCS: transition banner (#10973)

* transition banner

* minor fix

* update transition banner

* updates

* update custom.js

* updates

* updates

* Documentation fixes (#11044)

* Benchmark app usage

* Fixed link to the devices

* More fixes

* Update docs/OV_Runtime_UG/multi_device.md

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

* Removed several hardcoded links

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

* Updated documentation for compile_tool (#11049)

* Added deployment guide (#11060)

* Added deployment guide

* Added local distribution

* Updates

* Fixed more indentations

* Removed obsolete code snippets (#11061)

* Removed obsolete code snippets

* NCC style

* Fixed NCC for BA

* Add a troubleshooting issue for PRC installation (#11074)

* updates

* adding gna to linux

* add missing reference

* update

* Update docs/install_guides/installing-model-dev-tools.md

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

* Update docs/install_guides/installing-model-dev-tools.md

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

* Update docs/install_guides/installing-model-dev-tools.md

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

* Update docs/install_guides/installing-model-dev-tools.md

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

* Update docs/install_guides/installing-model-dev-tools.md

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

* update

* minor updates

* add gna item to yum and apt

* add gna to get started page

* update reference formatting

* merge commit

* add a troubleshooting issue

* update

* update

* fix CVS-71846

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

* DOCS: fixed hardcoded links  (#11100)

* Fixes

* Use links

* applying reviewers comments to the Opt Guide (#11093)

* applying reviewrs comments

* fixed refs, more structuring (bold, bullets, etc)

* refactoring tput/latency sections

* next iteration (mostly latency), also brushed the auto-batching and other sections

* updates sync/async images

* common opts brushed

* WIP tput redesigned

* minor brushing of common and auto-batching

* Tput fully refactored

* fixed doc name in the link

* moved int8 perf counters to the right section

* fixed links

* fixed broken quotes

* fixed more links

* add ref to the internals to the TOC

* Added a note on the batch size

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* [80085] New images for docs (#11114)

* change doc structure

* fix manager tools

* fix manager tools 3 step

* fix manager tools 3 step

* new img

* new img for OV Runtime

* fix steps

* steps

* fix intendents

* change list

* fix space

* fix space

* code snippets fix

* change display

* Benchmarks 2022 1 (#11130)

* Minor fixes

* Updates for 2022.1

* Edits according to the review

* Edits according to review comments

* Edits according to review comments

* Edits according to review comments

* Fixed table

* Edits according to review comments

* Removed config for Intel® Core™ i7-11850HE

* Removed forward-tacotron-duration-prediction-241 graph

* Added resnet-18-pytorch

* Add info about Docker images in Deployment guide (#11136)

* Renamed user guides (#11137)

* fix screenshot (#11140)

* More conservative recommendations on dynamic shapes usage in docs (#11161)

* More conservative recommendations about using dynamic shapes

* Duplicated statement from C++ part to Python part of reshape doc (no semantical changes)

* Update ShapeInference.md (#11168)

* Benchmarks 2022 1 updates (#11180)

* Updated graphs

* Quick fix for TODO in Dynamic Shapes article

* Anchor link fixes

* Fixed DM config (#11199)

* DOCS: doxy sphinxtabs (#11027)

* initial implementation of doxy sphinxtabs

* fixes

* fixes

* fixes

* fixes

* fixes

* WA for ignored visibility attribute

* Fixes

Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
Co-authored-by: Nikolay Tyukaev <nikolay.tyukaev@intel.com>
Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>
Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
Co-authored-by: Maxim Shevtsov <maxim.y.shevtsov@intel.com>
Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
Co-authored-by: Ilya Naumov <ilya.naumov@intel.com>
Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
2022-03-24 22:27:29 +03:00
Ilya Churaev
b5dbabe41d
Fixed registration of template plugin (#11155)
* Fixed registration of template plugin

* Added option for template plugin

* Fixed static build
2022-03-24 14:39:20 +03:00
Nikita Semaev
5dcb6c2cee
Correcting a regular expression (#10822) 2022-03-22 13:41:23 +03:00
Ilya Churaev
a4d164eda4
Fixed macro for plugin registration. Register only required plugins (#11031) 2022-03-18 13:13:33 +03:00
Mikhail Nosov
4b3dd808df
[First Inference] Read time improvements via using 'mmap/munmap' (#10907)
* Performance improvement for constant creation

The issue is that 'are_all_data_elements_bitwise_identical()' is called every time in Constant constructor, and it potentially checks all buffer which is O(N) complexity.
While it is needed only if client uses 'get_all_data_elements_bitwise_identical'

Solution:
- Defer calculation until first call of 'get_all_data_elements_bitwise_identical'
- Store calculated value in mutable class member to reuse it on next calls of 'get_all_data_elements_bitwise_identical'

Test verifies both cases:
a) that constant creation with shared memory data (now O(1)) is significantly faster than creation+bitwiseCheck O(N)
b) Than once calculated, value is taken from cache, which is significantly faster than re-calculation

* fix clang-format

* Stash - Linux implementation

* Windows mmap implementation + unicode

* Clang for windows

* removed debug print

* Add handling of empty bin file

* fix windows includes

* Fix python test

* Unit tests
Fix for Constant with size > 4GB

* Fix review comments
2022-03-17 17:16:06 +03:00
Serhii Pavlovskyi
948347f3dd
ncc build fixes (#10367)
* fix .ncc_style target names

it was breaking configure on system with libclang-12-dev, clang-12,
ninja and cmake 3.17+(ninja complains about duplicate
target). with lower cmake version configure succeeds, but build exits
immediately with error. by replacing ninja with make error becomes
warning(it's still significant, make just skips duplicate rules, i.e.
doesn't check style of some source files, rule duplication is genuine
bug). without libclang-12-dev and clang-12 ENABLE_NCC_STYLE is OFF and
bug is not triggered

* silence uninitialized warning in core_integration

probably it was always initialized before use, but compiler wasn't made
aware of it

* fix function spelling to unbreak code style checks in benchmark_app

* include <thread> for std::this_thread

existing code was relying on namespace pollution by old libstdc++

* replace is_pod with is_standard_layout && is_trivial

is_pod is deprecated, it breaks build on current gcc

Co-authored-by: Serhii Pavlovskyi <spavlovskyi@lohika.com>
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
2022-03-09 13:42:06 +03:00
Ilya Churaev
1fec99afa3
Removed duplicated words (#10754) 2022-03-03 06:50:54 +00:00
FanJiangIntel
7ba71f9c20
Enable apivalidator check when BUILD_SHARED_LIBS=OFF (#10461)
* enable apivalidator for static build

* add target _ie_plugins_hpp as dependency of inference_engine_obj
2022-03-03 07:39:52 +03:00
Pavel Zamelin
9cd3bff7df
Fix install failures for static libs with EXCLUDE_FROM_ALL (#10706)
* Remove EXCLUDE_FROM_ALL for some static targets

* Add install check for static libs
2022-03-02 03:39:30 +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
Ilya Lavrenov
e9e59cb954
Moved ngraphConfig.cmake to root (#10618) 2022-02-25 15:47:21 +03:00
Ilya Lavrenov
d26fd3aa22
Ability to fully override OUTPUT_DIR (#10524) 2022-02-21 22:39:26 +03:00
Maxim Gordeev
3144c5fab8
Added processing of layout for speech sample (#10254)
* Added processing of layout for speech sample

* fixed notes

* some improvements

* Code style format

* changed NCC value for NullStatement

* improved batch processing

* added loading batch for imported model

* fixed notes

* fixed notes

* added layout parameter to azure tests
2022-02-17 16:11:57 +03:00
Ilya Lavrenov
f2f281e60b
Renamed ov_runtime => openvino, ov_ => openvino_ prefix (#10069)
* Renamed ov_runtime => openvino, ov_ => openvino_ prefix

* Coverage fix

* More fixes

* Fixed MO tests with custom FE
2022-02-03 20:03:41 +03:00
Anton Pankratov
8993c4c18a
Deprecated ov::Any implicit cast to any types (#9409)
* Depricated Any implicit cast

* Fixed test

* fixed gna build

* Fixed warnings in benchmark_app

* Fixed test build

* ncc exception for PrintTo

* Error mesage in test

* Error mesage in test

* fixed build
2022-02-03 19:10:52 +03:00
Andrey Somsikov
9dd4476c58
Reduce noise from security tests (#9774)
* Mute noicy undefined behavior checks

* Fix GCC build error with unsupported option

* Fix missprint
2022-02-02 12:48:21 +03:00
Alexey Suhov
e1e467f23f
[CMake] Add debug postfix on mac (#10027) 2022-02-01 12:41:26 +03:00
Nikolay Tyukaev
622027bee5
fix errors in documentation (#9384)
* add sphinx log parsing

* fix

* fix log

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* doxygen-xfail

* fixes

* fixes

* fixes

* fixe

* fixes

* fixes

* fix pot

* add pot check

* fixes

* fixes

* Fixed POT docs

* Fixed POT docs

* Fixes

* change heading markup

* fixes

Co-authored-by: azaytsev <andrey.zaytsev@intel.com>
2022-01-27 19:39:49 +03:00
Pavel Zamelin
578afb9bb8
Allow to specify cpack component in addItTargetTest (#9945) 2022-01-27 17:01:46 +03:00
Mikhail Nosov
cf328d299f
More fixes of plugins.xml generation (#9942)
* Further fixes of plugins.xml generation
1) Unregistration is done by name (e.g. CPU), not by file name (ov_cpu_plugin)
2) Unregistered line is searched by name="MULTI" instead of just 'MULTI' to not conflict with MULTI_WORK_MODE_AS_AUTO entry
3) Removed list of all possible plugins from ov_runtime as logic shall not rely on this (not possible to add 3rd party plugins)

* Revert ov_runtime - some CI jobs require plugins.xml even though plugins are not built

Registration - if some entry already exists in XML - don't copy it.
E.g.
- Registration of 'TEMPLATE' is performed
- Registration loops through existing plugins.xml
   - If name="TEMPLATE" is found - don't take it to newContent
   - If name like "myCustomPlugin" is found - take it
- As result - "myCustomPlugin" will exist after update, but old "TEMPLATE" will be removed

* Add missing change
2022-01-27 16:54:21 +03:00
Xin Wang
26ccbe9ebc
Change internal function name to avoid loop issue. (#9890)
* Change internal function name to avoid loop issue.

* Fix comment.
2022-01-26 17:35:31 +03:00
Mikhail Nosov
2ea52bae6e
Fixes of plugins.xml generation (#9922)
- Added registration (and unregistration) of ov_auto_batch_plugin. Otherwise 'BATCH' plugin will always produce new XML line without removing old one
- Added unregistration of legacy plugin names (<= 2021.4 release). Otherwise old lines like "libHeteroPlugin.so" will not be removed from plugins.xml file
2022-01-26 16:00:04 +03:00
Ilya Lavrenov
138fb37fde
Use clang-12 for U20 (#9867) 2022-01-24 14:23:16 +03:00
Mikhail Nosov
d8e557b39c
FrontEnds.cmake: FEM include headers as public (#9792)
ONNX/Paddle/TF frontends: added 'standalone_build' target to verify that frontends can be used standalone by applications
2022-01-21 13:43:07 +03:00
Alexey Suhov
a79830cb55
Update year to 2022 in copyright notice (#9755) 2022-01-19 01:07:49 +03:00
Pavel Zamelin
2e59029e68
Fix build error with -DBUILD_SHARED_LIBS=OFF (#9639)
* Add _ov_frontends_hpp dependency to frontend_common_obj

* Move _ov_frontends_hpp dependency to frontend_common_obj
2022-01-14 07:53:14 +03:00
Ilya Lavrenov
9ef48cbe6d
Moved NCC check to U20 (#9631) 2022-01-14 07:50:55 +03:00
Ilya Lavrenov
5affdc3284
Added NCC support for source files (#9630) 2022-01-14 07:50:30 +03:00
mei, yang
e6d062e395
remove option ENABLE_SHUTDOWN_PROTOBUF (#9619)
* remove option ENABLE_SHUTDOWN_PROTOBUF

* shutdown protobuf library is enabled automatically if protobuf is used in frontend
2022-01-14 05:02:26 +03:00
Ilya Lavrenov
9fe5165ffa
Support of clang-11 (#9620) 2022-01-13 14:31:25 +03:00
mei, yang
6ae0ba481e
fix build issue on android on shutdown protobuf (#9615)
* fix build issue on android on shutdown protobuf

* add ie_dependent_option for shutdown protobuf
2022-01-13 11:47:54 +03:00
mei, yang
613facafde
ShutdownProtobufLibrary when unload paddle frontend dynmaic library t… (#9442)
* ShutdownProtobufLibrary when unload paddle frontend dynmaic library to fix probuf memory leak

* ShutdownProtobufLibrary if the frontend libraries use protobuf

* make shutdown_protobuf a library
2022-01-12 13:07:51 +03:00
Ilya Churaev
5e1d241c11
Renamed template plugin and tests (#9389)
* Renamed template plugin and plugin's tests

* Renamed template_extension
2021-12-23 14:59:24 +03:00
Ilya Lavrenov
4eea535e78
Includes in frontends (#9378)
* Used full paths in public includes

* Fixed install of ONNX include
2021-12-23 11:37:06 +03:00
Ilya Churaev
42350a705e
Remove legacy targets (#9333)
* Remove some legacy targets

* Replace some targets

* Removed inference_engine_plugin_api dependency

* Minor comment for developer config

* Fixed include paths

* Small fixes for static build

* Try to fix build pyopenvino

* Fixed comments

* Try to fix build

* Include OpenVINODeveloperPackage inside InferenceEngineDeveloperPackageConfig

* Try to fix GAPI tests
2021-12-23 08:16:23 +03:00
Ivan Tikhonov
0bbda24186
Paddle FrontEnd Refactoring (#9157)
* Refactor PaddlePaddle FrontEnd

* Codestyle

* FrontEnd,InputModel,Place base classes -> abstract, renamed model file

* Fix unit tests

* fix unit tests

* ngraph:: to ov::

* Rename frontends dir to frontend

* Rename paddlepaddle to paddle; pdpd to paddle

* add missing file

* codestyle

* Remove local change

* paddlepaddle -> paddle for azure configs and .md files

* fix package name, fix config files

* Fix win build

* Revert Broadcast/AutoBroadcast changes

* codestyle

* fix FronEnd class

* fix ngraph_cpp_api.config

* codestyle

* merge master

* fix build

* refactoring; revert broadcast/autobroadcast changes

* codestyle

* fix MacOS config
2021-12-22 11:20:54 +03:00
Ilya Churaev
dbf8fcf556
Create ov_runtime library (#9199)
* Create ov_runtime library

* Added dev target

* Fixed SOURCE_DIR property for interface lib

* Fixed missed include path

* Fixed SOURCES for plugins and frontends

* Fixed Windows export

* Try to fix preproc build

* Fixed MKLDNNPlugin

* Fix C API

* Try to fix public CI

* Fixed comments

* Use TARGET_NAME variable

* Fixed static build

* Fixed target name in comfig

* Revert "Fixed target name in comfig"

This reverts commit f61c1e0c09.

* Try to remove WA with include path

* Try to fix TBB dependency for old CMake

* Revert install to lib for legacy tests

* Try to fix public tests

* Add WA for v7 reader

* Fixed dev export name

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2021-12-20 11:59:08 +03:00
Ilya Churaev
be86ec51ab
Renamed frontends from *ov_frontend to ov_*_frontend (#9275)
* Renamed frontends from *ov_frontend to ov_*_frontend

* Fixed MO

* Fixed include
2021-12-18 13:25:42 +03:00
Ivan Tikhonov
59fca61dd5
[FrontEnds]: Fix build issue on Win platforms (#9274)
* include place.hpp into input_model.hpp

* resolve issues in api validator

* set full namespaces for Place::Ptr in input_model
2021-12-17 13:37:16 +03:00
Ivan Tikhonov
dbd2b5dc08
ONNX/IR/Common FrontEnds Refactoring (#9174)
* Refactor ONNX,IR,Common FrontEnds

* Rename frontends dir to frontend

* Rename frontend_manager, frontend_defs -> manager, defs; move Place, InputModel to src for Paddle FE

* remove exports for ir/input_model

* fix unit tests

* Fix unit tests

* revert ONNX_API/IR_API defines

* move manager.hpp to frontend dir

* delete common folder; rename defs to visibility; fix includes

* revert local changes

* codestyle

* fix build: set correct includes

* fix includes

* fix build; resolve review comments

* fix install paths

* correct installation folder for onnx_import

* use IE_THROW in ir frontend
2021-12-17 08:05:30 +03:00
Ilya Lavrenov
02e7706776
Merged ngraph & core components (#9101) 2021-12-09 15:38:44 +03:00
Ilya Lavrenov
e0ae61b06d
Added optional for exclude_from_all targets (#9100) 2021-12-09 08:51:21 +03:00
Evgeny Talanin
fb103e1dd0
Revert "Revert "disable debug postfix on mac (#6827)" (#8974)" (#9000)
This reverts commit e81e60b233.
2021-12-03 13:03:17 +03:00
Ilya Lavrenov
e81e60b233
Revert "disable debug postfix on mac (#6827)" (#8974)
This reverts commit 6f23458534.
2021-12-02 12:30:01 +03:00
Alexander Sesorov
4b8d6c59e3
Update sanitizer flags for windows (#8830) 2021-12-02 01:33:34 +03:00
Ilya Lavrenov
c02fe4b813
Static OpenVINO frontends (#8868)
* Static OpenVINO frontends

* ONNX tests with shared extension CustomOpUser_ONNXImporter

* Resolved issues with ONNX's NCC style check

* Reverted openvino => ngraph for frontend includes install

* Try to fix ONNX / Protobuf

* Try to fix CI

* Try

* Fixed cmake stage with BUILD_SHARED_LIBS

* Fixed export for linkable frontends

* Fixed warnings on Linux

* Fixed after ngraph => src
2021-11-28 21:36:24 +03:00
Ilya Churaev
77f6a0076b
Move core components (#8869)
* Moved openvino to src

* Moved ngraph and frontends to src

* Fixed cmake generation

* Moved inference_engine libs to src

* Moved C API to src

* Fixed CMake generation

* Moved readers to tests, snippets and preprocessing to common

* Fixed CMake

* Moved transformations and lp_transformations

* Fixed transformations cmake

* Fixed build

* Fixed unit-tests and ci paths

* Fixed docs

* Fixed C API build

* Try to fix static build

* More clear order

* Renamed inference_engine_legacy_api to legacy

* Fixed some cmake scripts

* Fixed path to legacy

* Fixed Myriad plugin

* Fixed v7 reader

* Fixed plugin.hpp

* Fixed developer config

* Fixed ie_parallel
2021-11-27 18:53:12 +03:00
Ilya Lavrenov
5719192687
Use ninja multi-config (#8757)
* Use ninja multu-config

* Reused OV_GENERATOR_MULTI_CONFIG

* Try to use config in api_validator post build task

* Fixes

* Revert "[GPU] Fix multi configuration build of onednn_gpu (#8743)"

This reverts commit a862331732.

* Propogate disable deprecated for _RELEASE flags as well
2021-11-27 14:58:24 +03:00
Anton Pankratov
bd3e4fbe78
Added openvino any (#8288) 2021-11-26 12:23:25 +03:00
Ilya Churaev
725793e179
Removed temp from inference-engine folder, added OV_TEMP cmake option (#8667)
* Removed temp from inference-engine foldee, added OV_TEMP cmake option

* Fixed CI

* Fixed copy-past
2021-11-24 08:37:26 +03:00
Andrey Somsikov
e19a6dc57d
Remove clang incompatible flag (#8771) 2021-11-24 02:03:38 +03:00
Ilya Lavrenov
543ca4f318
Enabled proper OpenVINOConfig.cmake generation for static build (#8634)
* Enabled PDPD, TF on Windows

* Try to build samples against static libs

* Fixes

* Fixes

* fix

* Used ENABLE_GAPI_PREPROCESSING in C API tests

* Revert "Used ENABLE_GAPI_PREPROCESSING in C API tests"

This reverts commit df9d53e3cc.

* Fixes

* Revert exclude

* Enabled proper OpenVINOConfig.cmake generation

* Try

* Try
2021-11-20 02:27:43 +03:00
Mikhail Nosov
2245ea8be2
[FrontEnd] Rename all frontends from "*_ngraph_frontend*" to "_ov_frontend*" (#8645)
* Renaming all frontends from "*_ngraph_frontend*" to "_ov_frontend*"

Also Debug builds on Windows release frontends without "d" suffix will not be loaded

* Fix review comments and add wheels test debug prints

* More debug prints

* Load by absolute path and remove debug prints
2021-11-18 09:26:13 +03:00
Ilya Lavrenov
51b9dff1bc
Windows static (#8578)
* Enable LTO for oneDNN GPU

* Use importer target for onednn_gpu

* Fixed install of OpenCL, ittapi

* Try to enable samples build

* Fixed ie_wheel build

* Disabled samples

* Fixed incorrect install of pugixml in dynamic build

* Fixed clDNN_unit_tests64 link

* Minimized a number of hardcoded paths

* Switched off ITT

* Disable TBBBind for static Windows

* Fixed link on Windows

* Fixes

* Static build for Window

* Disable unit-tests

* Disabled TF

* Fixed add dependency for PDPD unit tests

* Disabled GNA

* Enabled ngraph test utils

* Fixes

* Fixes

* Disable clDNN for static build on Windows

* Dynamic MCVS runtime for OpenCL

* Disable ITT traces for static libs

* Ability to switch TBBBind_2_5 OFF

* Disabled GPU on Windows build

* Fixed libGNA link

* Disabled some GNA tests

* Fixed multiple definitions issue

* Hide FrontEnd::load in DLL

* Install libGNAStubs

* Trying to fix Windows

* Trying to fix frontends

* Passed compilation on Windows

* Updated install rules for ngraph backends

* Try CPU, TEMPLATE tests

* Enabled unit-tests

* Enabled ngraph tests

* Try to fix unit-test

* Fixed unit-test on Linux

* Fixed compilation with ENABLE_IR_V7_READER=OFF

* Fixed tests on Linux

* Enable cpuFuncTests only in static build

* Try to fix testMockPluginFrontEnd test

* Try to enable TF

* Fixed python tests

* Partial revert

* Removed OV_FRONTEND_PATH
2021-11-17 01:22:04 +03:00
Ilya Lavrenov
9676e643cf
Fixed ie_mark_target_as_cc (#8608) 2021-11-16 06:48:02 +03:00
Ilya Lavrenov
8cb17ca218
Enable GPU in static build w/o oneDNN (#8563)
* Enable LTO for oneDNN GPU

* Use importer target for onednn_gpu

* Fixed install of OpenCL, ittapi

* Try to enable samples build

* Fixed ie_wheel build

* Disabled samples

* Fixed incorrect install of pugixml in dynamic build
2021-11-15 13:44:11 +03:00
Ilya Lavrenov
e57a455b92
Added support of external modules in static build (#8518)
* Added support of external modules in static build

* Enable template plugin static run; disabled CPU tests run in dynamic build

* Make FEM library dynamic

* Fixed static build

* clang-format

* Fixed targets

* Python tests fix

* Fixed python API tests skip

* Fixed pattern

* Fixed pattern 2

* Don't run template plugin tests in static build
2021-11-12 08:56:57 +03:00
Ilya Lavrenov
461f746430
Install rules for static libraries case (#8384)
* Proper cmake install for static libraries case

* Added an ability to skip template plugin

* Added install rules for VPU / GPU

* Install more libraries

* Fixed absolute TBB include paths

* Disable GNA

* Fixed issue with linker

* Some fixes

* Fixed linkage issues in tests

* Disabled some tests

* Updated CI pipelines

* Fixed Windows linkage

* Fixed custom_opset test for static casr

* Fixed CVS-70313

* Continue on error

* Fixed clanf-format

* Try to fix Windows linker

* Fixed compilation

* Disable samples

* Fixed samples build with THREADING=SEQ

* Fixed link error on Windows

* Fixed ieFuncTests

* Added static Azure CI

* Revert "Fixed link error on Windows"

This reverts commit 78cca36fd2.

* Merge static and dynamic linux pipelines

* Fixed Azure
2021-11-10 18:25:51 +03:00
Andrey Somsikov
24aec7928c
Fix fuzz test failure (#8380)
Fuzz test execution fails with:
import_pdpd-fuzzer: symbol lookup error: runtime/lib/intel64/libngraph.so: undefined symbol:
__sancov_lowest_stack
2021-11-03 10:35:19 +03:00
Ilya Lavrenov
384eea4eda
Static version: plugin registration as extension (#8365)
* Load CPU plugin as extension as well

* Fixed linkage issues

* Added static linux build

* Disabled GPU
2021-11-02 16:07:45 +03:00
Ilya Lavrenov
b82cc125fa
Support of oneTBB via env TBBROOT (#8327) 2021-11-01 13:43:48 +03:00
Ilya Churaev
4122ef50d6
Introduce OV Extension base api (#7562)
* Moved so loader to utils

* Fixed extension tests

* Fixed tests and style

* Fixed style and tests

* Fixed ARM build

* Fix windows

* Fix ieFuncTests

* Wrap runtime exception

* Fixed tests

* Added separate new extension

* Fixed unicode extension loading

* Try to fix windows

* Fixed windows

* Fixed macro

* Fixed doc

* Fixed build

* Fixed comments

* Try to fix build

* Fixed build

* Fixed build

* Fixed shared_from_this

* Temp commit

* Changed extension

* Fixed merge conflicts

* Removed ngraph namespace from new extensions

* Fixed code style

* Added core add_extension methods and tests

* Added new tests

* Implement tile operation

* Enabled new extensions support

* Fixed build

* Fixed code style

* Try to fix windows

* Changed base extension class

* Removed redundant Ptr

* Fixed comments

* Fixed friend decl

* Fixed Windows export

* Fixed centos

* Added template add_extension method

* Move destructor to public

* Removed BaseExtension class

* Added variadic add_extension methods

* Fixed doc and typo

* Added BaseOpDestructor

* Allow to create new extension only for new operations

* Revert tests

* Fixed comments

* Fixed comments

* Fixed comment

* Added SO Extension wrapper
2021-11-01 10:36:30 +03:00
Ilya Lavrenov
661d436325
Static plugins: preprocessing and AUTO (#8265)
* 1. Removed explicit SHARED from libraries
2. Fixed double definition for ie_layer_validators

* Fixed SEG in unit-test: order of initialization for global vars

* Added an ability to find plugins.xml from static IE

* Fixes in unit-test

* Migrated to new macro for import / export

* Minimized number of custom dllexport

* Don't use IR v7 for static libraries

* Revert for merge

* Don't enable tests with dlopen for static libraries

* Code style

* Added condition for export

* Revert format_reader

* Removed forward decalaration with external linkage

* Fixed IE linkage on Windows

* Reverted back 2 flags

* Minimal RRTI for cpuFuncTests

* Minimal RRTI for cpuFuncTests

* Still need IR v7 reader

* Fixed build

* Fixed compilation

* clang-format fix

* Removed BUILD_AS_IS and used USE_STATIC_IE

* Enable IR v7 reader as static library

* Fixed compilation for GPU plugin

* Trying to build plugins as static library

* Plugins are able provide their own name for CreatePluginEngine function

* Fixed CPU

* Fixed comments

* Fixed ENABLE_IR_V7_READER usage

* Fixed VPU

* clang-format

* Fixes

* Fix

* Load multiple plugins at once

* Fixed interpreter undefined symbols

* Trying to dynamically register static plugins

* Reverted some ngraph changes

* Fixed cpuUnitTests compilation

* Fixed compilation

* Fixed myriad

* Fixed custom_opset tests

* Reverted linker flags

* Support both static and dynamic plugins

* Fixed compilation of myriadFuncTests

* Removed duplication

* Preprocessing library

* Fixes after self-review

* Fixed linkage for preprocessing

* Fixed preprocessing plugin build

* Windows fix #2

* Fixed linkage for preprocessing

* Proprocessing linkage

* Fixes for Windows

* Added optimizing libker flags to executables as well

* Fixed creation of global ov::Core

* AUTO plugin is static

* Fixed case of build+_shared_libs

* Removed some global variables from ngraph

* Fixes

* Fixed link issue on Windows

* Fixed cmake options

* Fix

* Fix

* Fix 2
2021-10-30 22:08:44 +03:00
Ilya Lavrenov
8fb699a42c
Static compilation for inference plugins (#8197)
* 1. Removed explicit SHARED from libraries
2. Fixed double definition for ie_layer_validators

* Fixed SEG in unit-test: order of initialization for global vars

* Added an ability to find plugins.xml from static IE

* Fixes in unit-test

* Migrated to new macro for import / export

* Minimized number of custom dllexport

* Don't use IR v7 for static libraries

* Revert for merge

* Don't enable tests with dlopen for static libraries

* Code style

* Added condition for export

* Revert format_reader

* Removed forward decalaration with external linkage

* Fixed IE linkage on Windows

* Reverted back 2 flags

* Minimal RRTI for cpuFuncTests

* Minimal RRTI for cpuFuncTests

* Still need IR v7 reader

* Fixed build

* Fixed compilation

* clang-format fix

* Removed BUILD_AS_IS and used USE_STATIC_IE

* Enable IR v7 reader as static library

* Fixed compilation for GPU plugin

* Trying to build plugins as static library

* Plugins are able provide their own name for CreatePluginEngine function

* Fixed CPU

* Fixed comments

* Fixed ENABLE_IR_V7_READER usage

* Fixed VPU

* clang-format

* Fixes

* Fix

* Load multiple plugins at once

* Fixed interpreter undefined symbols

* Trying to dynamically register static plugins

* Reverted some ngraph changes

* Fixed cpuUnitTests compilation

* Fixed compilation

* Fixed myriad

* Fixed custom_opset tests

* Reverted linker flags

* Support both static and dynamic plugins

* Fixed compilation of myriadFuncTests

* Removed duplication

* Fixes after self-review

* Fixed linkage for preprocessing

* Fixes for Windows

* Fixes

* Fixed cmake options

* Fix

* Fix

* Fix 2
2021-10-28 11:33:56 +03:00
Ilya Lavrenov
4f203b9a2e
Fixed ENABLE_NCC_STYLE condition (#8092) 2021-10-20 09:01:59 +03:00
Ilya Lavrenov
00be1d5a15
Fixed byteSize for Blob / ov::Tensor (#7989) 2021-10-19 02:01:10 +03:00
Anton Pankratv
5b176f28cc
Added remote objects type check (#7606) 2021-10-14 11:32:19 +03:00
Ilya Lavrenov
acb6aa01ab
Added reporting of unresolved symbols for plugins (#7810)
* Added reporting of unresolved symbols for plugins

* Added HDDL dependency

* Removed cross-compilation if

* Revert "Removed cross-compilation if"

This reverts commit da644a3afe.
2021-10-05 04:26:01 +03:00
Ilya Lavrenov
476fbee00f
Reference template plugin tests to OpenVINO 2.0 (#7685) 2021-09-28 10:46:03 +03:00
Ilya Lavrenov
84a07889f0
Added version information to OpenVINO Core (#7600)
* Added version information to OpenVINO Core

* Fixed code style

* Fixed Windows

* Fixed code style

* Fixed clang
2021-09-23 17:03:45 +03:00
Ilya Lavrenov
7938c18b7c
Improved openvino runtime python wheel build (#7604)
* Proper dependencies for ie_wheel

* Used version information when building wheels
2021-09-23 10:41:57 +03:00
Ilya Lavrenov
bd29f64570
Build IR FE with plugins (#7593)
* Build IR FE with plugins

* Add paddlepaddle
2021-09-23 10:41:33 +03:00
Ilya Lavrenov
538d492a70
Removed dependencies scripts (#7569) 2021-09-22 12:17:41 +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
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
Anton Pankratv
6750b8c336
Created Remote context c++ API (#7114) 2021-08-25 18:16:41 +03:00
Ilya Churaev
af8dc644a8
Enabled NCC for enums (#7038)
* Enabled NCC for enums

* Fixed enum values

* Marked lower case enum as deprecated

* Fixed deprecated enums

* Disable deprecation for Windows and GCC < 6

* Try to fix build
2021-08-13 09:16:47 +03:00
Ilya Churaev
565627a416
Add ov::runtime::Core (#6946) 2021-08-10 07:49:37 +03:00
Ilya Lavrenov
6a63cb9122
Enabled naming style check for FEM, ONNX FE (#6970)
* Enabled naming style check for FEM, ONNX FE

* Used custom version of ncc

* Added self-check

* Removed submdoule

* Moved to public ncc
2021-08-09 15:38:08 +03:00
Ilya Lavrenov
5d781afe73
Naming convention tool integration (#6967)
* Fixed cycle dependency

* Added NCC infra

* Add submodule

* Added substitution for clang lib

* target depends on target_ncc_check

* Try find_package(Clang QUIET)

* Added github actions

* Try U18 + clang9

* Fixed nnc

* Updated style

* Works for clang-9

* Works for clang-7

* Fixes
2021-08-07 09:55:45 +03:00
Ilya Churaev
fc39303677
Moved IE public headers to IE library (#6941)
* Moved IE public headers to IE library

* Fixed documentation

* Fixed fast build

* Fixed doc
2021-08-06 10:05:51 +03:00
Alexey Lebedev
6f23458534
disable debug postfix on mac (#6827)
Co-authored-by: Your Name <you@example.com>
2021-08-04 10:45:41 +03:00
Ilya Lavrenov
b9b0a8b34a
Fixed compilation with clang (#6917) 2021-08-04 09:28:20 +03:00
Ilya Churaev
8a612fa55e
Moved current IE API to separate folder (#6735)
* Moved current IE API to separate folder

* Fix install

* Fix documentation

* Fixed install path

* Try to fix CI

* Changed installation path

* Use ONNXRuntime rel-1.8.1 version
2021-08-03 12:24:05 +03:00
Ilya Lavrenov
eabec388e2
Enabled LTO for ONNX FE (#6878)
* Fixed Windows public precommit

* ONNX LTO
2021-08-02 13:48:33 +03:00
Ilya Lavrenov
c38f08b777
Use protobuf-lite for ONNX FE by default (#6829) 2021-07-31 17:21:35 +03:00
Ilya Lavrenov
518ec79cb0
Updated samples compile options (#6818)
* Don't warn about obsolete cmake usage

* Removed build flags for samples

* Fixed ngraph with -Wpedantic

* cmake for 3rdparty
2021-07-30 13:54:09 +03:00
Andrey Somsikov
d498653d1f
Fix clang sanitizer build (#6853) 2021-07-29 15:45:27 +03:00
Mikhail Nosov
5d3ab3108f
Paddlepaddle unit tests CI fixes (#6820)
Win+Lin: add "clean build dir" step to ensure generated test models are taken from install
Windows fix: execute "pip show" on same drive where python is installed
Windows: execute tests with FE_TEST_MODELS env variable
2021-07-28 17:34:30 +03:00
Andrey Somsikov
2e26dfd4dd
Fix sanitizer build (#6790)
Use default linker for sanitizer builds

Compiler out of memory tracking variables in GPU tests.
This trigger recompilation without tracking. Disabling
tracking globally as not required option.

UBSan build is failing on maybe uninitialized variable.
Temporarily disable the check.
2021-07-27 15:29:34 +03:00
Ilya Lavrenov
37c619b0b8
Fixed compilation with Intel compiler (#6788)
* Fixed compilation with Intel compiler

* Fixed template containers for VPU

* Fixe one-dnn

* Updated submodule
2021-07-26 12:42:05 +03:00
Andrey Somsikov
d921e7a9c4
Enable mistakenly wiped sanitizer instrumentation (#6780) 2021-07-23 17:51:17 +03:00
Ilya Lavrenov
11875c6694
Fixed sanitizer (#6727) 2021-07-21 13:06:49 +03:00
Ilya Lavrenov
7d85d61083
Fix for cmake 3.21.x (#6722)
* Fix for cmake 3.21.x

* Removed a lot -Wno-* compile options
2021-07-21 11:55:41 +03:00
Andrey Somsikov
89e53bb739
Allow configuring cpack strip from command line (#6712)
Check if CPACK_STRIP_FILES configured before setting it
ON by default. This allows to configre it from command
line when required.
2021-07-20 17:26:48 +03:00
Ilya Lavrenov
bc36425381
Added suggest-override flag (#6631) 2021-07-16 18:55:05 +03:00
Ilya Lavrenov
1621c66ad8
Static protobuf for FEs (#6588)
* protobuf static + mixed editor and importer

* merged onnx common

* remove ngraph_test_util to onnx_importer and onnx

* styles applied

* Revert "remove ngraph_test_util to onnx_importer and onnx".

* test ngraph_test_util dependencies

* Fixed static protobuf

* Next

* Fixes

* Fixed cross-compilation

* Don't export / install onnx_proto

* Fixed Windows

* Fixed opencl headers

* Fix

* Added exclude-all for exe as well

* Fixed code style

* Try without LTO

* LTO off only for onnx importer

Co-authored-by: mbencer <mateusz.bencer@intel.com>
2021-07-16 07:25:40 +03:00
Ilya Lavrenov
ba3a667730
Used generator expression for CONFIG (#6557) 2021-07-08 13:03:02 +03:00
Ilya Lavrenov
652c6f6247
Extract OpenVINO version from header, if CI one is not defined (#6555) 2021-07-08 13:01:54 +03:00
Andrey Somsikov
1ffc42ef43
Add ENABLE_UNDEFINED_BEHAVIOR_SANITIZER option (#6385)
Add a configuration for the UndefinedBehavior sanitizer, disabled by default.

Refactor sanitizer configuration to split options which are common across sanitizers.
Unify sanitizer runtime linkage accross sanitizers to use compiler default.
2021-07-05 18:53:11 +03:00
Ilya Lavrenov
50c73e6914
Allow aliased targets for apiValidator check (#6508) 2021-07-05 09:48:05 +03:00
Ilya Lavrenov
8cc1737b5d
Removed EXPORT_DEPENDENCIES from addIeTarget (#6502)
* 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

* Removed EXPORT_DEPENDENCIES
2021-07-02 17:17:44 +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
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
Ilya Lavrenov
db0145be1e
Proper location for IRv7 reader unit tests (#6444) 2021-06-29 21:50:56 +03:00
Ilya Lavrenov
e050b5f97a
CLDNN cmake simplification (#6384)
* CLDNN cmake simpplification

* bfbgf
2021-06-28 22:50:41 +03:00
Ilya Lavrenov
391aeebf7e
Added install rules for tests (#6344)
* Moved cmake/templates to <root>

* Removed ngraph versioning, reused IE one

* Merged converage

* Removed duplicatde ngraph cmake options

* Moved dependencies to <root>/cmake

* Removed installing of VERSION

* Start #1

* cpack

* Added component type

* Added installation of tests targets

* Added ngraph tests target install

* Fixed runtime dependencies location

* Disable GNA unit tests

* Revert "Disable GNA unit tests"

This reverts commit da5398622f.

* Installed only core component

* Replaced ENABLE_DEV_PKG_INSTALL with EXCLUDE_FROM_ALL

* Removed extra cmake options
2021-06-25 15:17:17 +03:00
Ilya Lavrenov
56adef710a
Added missed include(ExternalProject) (#6366) 2021-06-25 12:54:24 +03:00
Ilya Lavrenov
92239b39bf
Partially merge ngraph / IE cmakes (#6316)
* Moved cmake/templates to <root>

* Removed ngraph versioning, reused IE one

* Merged converage

* Removed duplicatde ngraph cmake options

* Moved dependencies to <root>/cmake

* Removed installing of VERSION
2021-06-24 13:14:04 +03:00
Ilya Lavrenov
1fa225e7bf
Python in OpenVINO: improvements (#6027)
* enable make clean to remove ie_wheel artifacts

* ./setup.py:132:1: E302 expected 2 blank lines

* fix CI build issue

* Removed not-needed components from ie_wheel

* Use explicit python3 vresion in ngraph pythpn

* Use python3 everywhere

* Reuse python3 more

* Added function to build with Py_LIMITED_API

* Sync 2 cmake python modules

* Fix for tools

* Fixed typo

* Enable python by default

* Enable python build iff python-dev is found

* More migration to Python3_VERSION

* Install wheel requirements

* Fixed ngraph Python separate build

* Fixed cython compilation

* Revert to old packages

* Added suffix

* Specify python version explicitly

* Don't depend on python interp to build python itself

* More improvements

* Revert offline transformations back to ie_wheel

* Refactoring

* Trying to build wheel independently on C++ runtime

* Build wheel only with main OpenVINO

* Fixed typo in test_utils cmake lists

* Adding link stage

* small fix

* git diff

* Try to fix python tests

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>
2021-06-07 10:52:48 +03:00
Ilya Lavrenov
8498560a26
Removed WA in versions.cmake for DLB (#6047) 2021-06-07 10:35:06 +03:00
Ilya Lavrenov
11400135de
Developer package update (#5970)
* Updated developer package generation

* Try to fix

* Reuse find_package(InferenceEngine) inside DeveloperPackage

* Fixes for ARM

* Fixed double InferenceEngineDeveloperPackage include

* WA for OpenCV
2021-06-03 12:45:12 +03:00
Ilya Lavrenov
c470024f50
Respect COMPONENTS in InferenceEngineConfig.cmake (#5857)
* Added note abour custom version of find_dependency

* Warning about improper version in find_package()

* Removed ENABLE_ALTERNATIVE_TEMP

* Respect COMPONENTS in InferenceEngine cmake config

* Added Jira ticket #
2021-05-27 16:56:56 +03:00
Ilya Churaev
cc810297f4
Align style doc with samples (#5709)
* Added clang-format config

* Fixed style

* Fixed code-style for snippets and fixed build

* Disable clang-format for snippets

* Fixed comments
2021-05-25 10:32:48 +03:00
Ilya Lavrenov
de58c8d008
WA for DLBench (#5737) 2021-05-21 12:53:18 +03:00
Ilya Lavrenov
1d5d43e402
Fixed condition for versioning (#5719) 2021-05-20 14:30:49 +03:00
Ilya Lavrenov
2bdd955d6e
Inference engine versioning (#5562)
* Exclude xbyak from install

* Added automatically generated InferenceEngineConfig.cmake

* Reverted a version back

* Fixed issues with target aliases

* Make TBB dependency private

* Made ie_parallel.cmake self-sufficient

* Don't expose ie_paralle.cmake to end users

* Fixed compilation with TBB

* Fixes for TBB

* Fixed vpu_graph_transformer compilation

* Fixed tests compilation

* Added install of ie_parallel.cmake

* Switched ENABLE_ALTERNATIVE_TEMP to OFF. Fixed COMPONENTS for TBB

* Fixed file name in install rules

* Added find_dependency for TBB in ie_parallel.cmake

* WA for cmake bug with PACKAGE_PREFIX_DIR

* Fixed no-deprecation to fix speech-library build

* Reverted version from 2.1.0 to 2.1

* Revert "Reverted version from 2.1.0 to 2.1"

This reverts commit 7cb5d1563c.

* Added versions to cmake

* Added versions to ie_version.hpp

* Returned custom version file back

* Added InferenceEngineConfig-version.cmake to share as well

* Disabled one more GPU test

* Added one more WA for CI

* WA for CI issue for C API

* Added InferenceEngineConfig-version.cmake to share as well

* Added verison parsing from ie_version.hpp

* Revert "[CPU] Add Roll support (#5112)"

This reverts commit 5d8f209df6.

* Revert "[CPU] windows_Interpolate_fused-FQ_nearest-mode_nspc-layout_fix (#5317)"

This reverts commit 0808975a37.

* Revert "[INT8][BF16] INT8 + BF16 feature was enabled (#5059)"

This reverts commit 7d2ec02d65.

* Support for components

* No version for IEDevScripts package

* Removed IE_VS_VER_HAS_VERSION from vs_version.rc.in

* Added compatibility for 2.x old versioning
2021-05-20 10:21:44 +03:00
Ilya Lavrenov
02b31b2cc7
Follow-up for PR 5638 (#5659) 2021-05-17 21:02:56 +03:00
Ilya Lavrenov
1353ed1f85
Support old TBBs in cmake (#5638)
* Support old TBBs

* Don't reset environment

* Removed useless NO_CMAKE_FIND_ROOT_PATH

* Fixed build with old TBB for Windows

* Fixed ngraph code style
2021-05-15 11:42:09 +03:00
Ilya Lavrenov
349e2910fe
Openvino autogenerated cmake (#5484)
* Exclude xbyak from install

* Added automatically generated InferenceEngineConfig.cmake

* Reverted a version back

* Fixed issues with target aliases

* Make TBB dependency private

* Made ie_parallel.cmake self-sufficient

* Don't expose ie_paralle.cmake to end users

* Fixed compilation with TBB

* Fixes for TBB

* Fixed vpu_graph_transformer compilation

* Fixed tests compilation

* Added install of ie_parallel.cmake

* Switched ENABLE_ALTERNATIVE_TEMP to OFF. Fixed COMPONENTS for TBB

* Fixed file name in install rules

* Added find_dependency for TBB in ie_parallel.cmake

* WA for cmake bug with PACKAGE_PREFIX_DIR

* Fixed no-deprecation to fix speech-library build

* Reverted version from 2.1.0 to 2.1

* Revert "Reverted version from 2.1.0 to 2.1"

This reverts commit 7cb5d1563c.

* Returned custom version file back

* Added InferenceEngineConfig-version.cmake to share as well

* Disabled one more GPU test

* Added one more WA for CI

* WA for CI issue for C API

* WIP
2021-05-07 11:57:51 +03:00
Kate Generalova
99df448669
refactor: add clang style check for samples (#5306)
* refactor: add clang style check for samples

* fix: add .clang-format for ie

* fix: style check for missing headers

* refactor: remove cpplint for IE samples

* fix: setw is not a member of std for classification_results.hpp

* feat: add indent after ifdefine

* feat: set up google style for IE samples

* fix indents for w_dirent headers

* fix: include issues for utils.cpp due to clang-format
2021-04-22 14:02:54 +03:00
Dmitrii Khurtin
b718de0cee
[GNA] Update GNA library (#5228)
* [GNA] Update GNA library to 1191 version

* append symlink to libgna.so

* append selective unpacking of the archive

* changed the criterion for checking the unpacking process (exit code)

* remove tabs

* add equalToReferenceWithDelta_1191

* removed equalToReferenceWithDelta_1191

* master -> update_gna_library
2021-04-21 10:34:45 +03:00
Roman Donchenko
d822bb0a87
cross_compiled_func.cmake: use native CMake functions instead of custom ones (#5200)
Also, use the appropriate property (COMPILE_DEFINITIONS) for definitions
instead of COMPILE_FLAGS.
2021-04-14 11:31:11 +03:00
Ilya Lavrenov
cae6a3bdcd
Turn clang-format targets off is no clang (#5202) 2021-04-12 23:40:18 +03:00
Roman Donchenko
b92d1c1bdd
Fix building MKLDNNPlugin when the source path contains spaces (#5109)
The key changes are:

* Using VERBATIM to ensure CMake property passes command-line arguments
  to child processes.

* Using the INCLUDE_DIRECTORIES property instead of COMPILE_FLAGS to add
  include directories, because COMPILE_FLAGS are treated as space-separated
  values. (A small side benefit is that this doesn't rely on -I being
  the include directory option.)

In addition, some changes had to be made in order to preserve behavior:

* The _GEN_ARGS_LIST variable has to be inlined, because ARCH_SET is a list,
  and therefore the "-DXARCH_SET=..." argument gets split into multiple arguments
  (this happens to work by coincidence without VERBATIM). IMO, the code looks
  better this way anyway.

* It's no longer necessary to replace spaces in XARCH_SET in
  cross_compiled_disp_gen.cmake, because those spaces were an artifact of how
  the CMake arguments were passed before.
2021-04-12 13:27:49 +03:00
Ilya Churaev
007078de49
Added coverage cmake script for nGraph (#4979)
* Added coverage cmake script for nGraph

* Added common GCDA folder
2021-03-28 20:05:45 +03:00
Egor Duplensky
1ffeb24a41
Prevent unloading libraries at runtime for sanitizer builds (#4986)
Otherwise sanitizer is not able to resolve libraries symbols
at the end of binary execution
2021-03-27 23:11:57 +03:00
Ilya Lavrenov
8a3ff9aeae
Removed not needed suppressions for deprecated API in ngraph (#4992)
* Removed not needed suppressions for deprecated API in ngraph

* Fixed compilation with deprecated API in 3rd party with MSVC
2021-03-27 14:32:17 +03:00
Ilya Lavrenov
d0ebfe06d2
cmake improvements: coverage and SELECTIVE_BUILD beautifications (#4937)
* Added snippets to coverage reports

* Added possible values for SELECTIVE_BUILD as properties
2021-03-26 06:40:54 +03:00
Alexey Suhov
a748c26fee
Align copyright notice in cpp and cmake source files (CVS-51320) (#4950) 2021-03-25 02:40:09 +03:00
Ilya Lavrenov
3435e7acb7
Proper detection of Apple M1 (#4848) 2021-03-18 11:17:13 +03:00
Ilya Churaev
1334d7d122
Enable OV clang format command for nGraph (#4792)
* Added add_clang_format commands

* Added clang_format targets as dependencies for original targets

* Update CI scripts

* Fixed code-style for nGraph unit tests

* Change job name

* Disable clang-format for Windows

* Fixed nGraph python build

* Fixed comments and enabled code style for ONNX Editor

* Disable code style check on compilation step
2021-03-18 06:38:10 +03:00
Ilya Lavrenov
1f635f9435
Move link of CC library under cmake macro (#4779) 2021-03-16 14:04:48 +03:00
Ilya Lavrenov
24fb09edb3
Improvements in cmake scripts (#4766)
1. Find Threads only once in IEDevScripts package
2. Small refactoring in IE Dev Package
2021-03-15 13:07:38 +03:00
Ilya Lavrenov
c88e1f7a59
Added check for shared library to ie_add_vs_version_file (#4738) 2021-03-12 10:06:04 +03:00
Ilya Lavrenov
07f1b2511b
Don't allow to create 2 plugin with the same device name (#4665) 2021-03-09 06:31:15 +03:00
Alexey Suhov
5e43744001
Fix warnings with PDB override for RelWithDebInfo configuration (#4520) 2021-02-26 23:06:24 +03:00
Szymon Irzabek
2051fe2614
Allow enabling cpplint on Windows, fix Windows style after check (#4380) 2021-02-18 14:20:10 +03:00
Ilya Lavrenov
dd79dd755c
CC: fixed issue with rebuild when only CC header is changed (#4370)
* CC: fixed issue with rebuild when only CC header is changed

* Updated submodule as well
2021-02-17 15:41:54 +03:00
Ilya Lavrenov
0c39d5b1b6
Added coverage for template plugin (#4234) 2021-02-09 11:03:44 +03:00
Sergey Lyubimtsev
ce0537bd1f
[CMake] Fixes for TBB tmp location (#3997)
* fixes for TBB tmp location:

- DL_SDK_TEMP path is not normalized, that leads to paths check mismatch in CMake conditions
- TBB is not downloaded again in a case tmp location is cleaned up and build restarted (TBB_DIR and TBBROOT are cache variables)

* use reset_deps_cache & update_deps_cache for TBB_DIR var.

* single  reset_deps_cache call
2021-01-25 19:06:12 +03:00
Ilya Lavrenov
9cfe909e1e
Unused variables (#3963)
* Added -Wused-variable flag

* Fixes for clang compiler

* Removed wrong -Wno-error from protobuf compilation

* More fixes
2021-01-22 17:41:15 +03:00
Ilya Lavrenov
7e54cdba15
Fixed cmake 'message' for multiple arguments (#3901) 2021-01-19 15:35:31 +03:00
Andrey Somsikov
cc9c480554
Fix sanitizer build (#3869) 2021-01-15 09:42:31 +03:00
Vladislav Vinogradov
8ec38cf039
[cmake] Fix single config generators handling (#3794)
* Add `USE_BUILD_TYPE_SUBFOLDER` CMake option to append
  `CMAKE_BUILD_TYPE` to output binary directory.
  Initialize it to `ON` for UNIX to keep current behavior.
* Remove forced `CMAKE_CONFIGURATION_TYPES` initialization,
  use user provided value instead.

This will allow to use single config generators (like Ninja) on Windows
with MSVC compilers and get binaries in per-config sub-folders in the same
way as on UNIX.

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2021-01-11 18:38:11 +03:00
Ilya Lavrenov
0d22328a25
Partially removed ngraph cmake duplication with IE cmake (#3751)
* Partially removed cmake duplication with IE cmake

* Deprecated API usage: fixed or suppressed

* Fix for TypeRelaxed

* Canonical form for ngraph includes

* Removed extra visibilit settings; removed graphviz find_package

* Removed var_functions module; canonical includes for ngraph::reference

* Fixed deprecated API in ngraph tests

* Re-use standard cmake macro for shared libs

* Trying to fix ONNX importer tests
2021-01-11 14:49:33 +03:00
Ilya Lavrenov
50f9dd8a6b
Enabled CMP0025 as NEW (#3791) 2021-01-11 14:48:27 +03:00
Ilya Lavrenov
7f04723d25
Fixed install location for MODULE library type (#3752) 2021-01-10 18:21:13 +03:00
Vladislav Vinogradov
00d37aaa62
Use find_package instead of include(Find*) in CMake scripts (#3767)
Otherwise CMake produces the following warning:

```
CMake Warning (dev) at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  The package name passed to `find_package_handle_standard_args` (Wget) does
  not match the name of the calling package (IEDevScripts).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /usr/local/share/cmake-3.19/Modules/FindWget.cmake:26 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/developer_package/download/download_and_check.cmake:5 (include)
  cmake/developer_package/download/download_and_extract.cmake:6 (include)
  cmake/developer_package/download/download.cmake:25 (include)
  cmake/developer_package/download/dependency_solver.cmake:5 (include)
  cmake/developer_package/IEDevScriptsConfig.cmake:208 (include)
  CMakeLists.txt:12 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
```
2020-12-31 12:48:23 +03:00
Ilya Lavrenov
278b662e56
Removed global CMAKE_MODULE_PATH in IE DevPackage (#3747)
* Cleanup

* Added CMAKE_MODULE_LINKER_FLAGS for onecoreuap toolchain

* Fixed ENABLE_FASTER_BUILD mode on Android

* Cosmetic fix

* Fixed fuzzing

* Enabled fuzzing
2020-12-27 00:02:50 +03:00
Ilya Lavrenov
9d6bd321d8
Fixed message if ENABLE_ERROR_HIGHLIGHT is enabled (#3712) 2020-12-24 08:07:50 +03:00
Ilya Lavrenov
036f574756
module library type for IE plugins, extensions (#3656)
* CMAKE: Added MODULE linker flags

* Fixed plugins.xml s

* Use module instead of shared library

* Fixes

* tab 2 spaces

* Renamed get_shared_library_name to ie_plugin_get_file_name
2020-12-23 18:25:42 +03:00
Vladislav Volkov
96b032504e
Errors and warnings highlighting for UNIX platforms (#3643)
* Errors and warnings highlighting for UNIX platforms

* The option added for errors and warning highlighting enabling
2020-12-23 08:01:07 +03:00
Ilya Lavrenov
856ab82bbf
Added company name to a version file (#3653) 2020-12-22 21:02:52 +03:00
Ilya Lavrenov
9465073f58
Introduce IEDevScripts package (#3661)
* Refactored developer package

* Added fuzzing for CMAKE_MODULE_LINKER_FLAGS as well

* Added options for developer package

* More improvements

* Further improvements

* Removed global CMAKE_MODULE_PATH population

* Fixes

* Final fixes

* Fixed python build

* Fix for TBB

* Fixed Find TBB

* Fixed install

* Fixes for OV features

* Split developer targets per component

* Fixed IE build tree config

* Fixed ITT

* Fixed review comments

* Clean export dependencies

* Fixed export of pugixml

* Added IEDevScripts_DIR for Android

* Fixed Android #2

* Fixed Android #3

* Fixed python cc

* Disabled Core threading tests on GNA
2020-12-22 18:44:59 +03:00