Commit Graph

394 Commits

Author SHA1 Message Date
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
Ilya Lavrenov
88c2b28bd1 Use TBB dependency only for static libraries (#13535)
* Use TBB dependency only for static libraries

* Rename IE_EXTRA_MODULES to OPENVINO_EXTRA_MODULES

* call find_tbb in DevPackage
2022-10-19 14:22:18 +04:00
Ryszard Jezierski
17e702776b Update GNA library version (#13188)
* Changed GNA library version from 1455.2 to 1815

* fixed new URL to GNA in cmake

* fixed gna lib version in linux CI

* use Gna2ExportTlv from new library

* Updated GNA to 1815.1
2022-10-19 13:40:21 +04:00
Ilya Lavrenov
dc1fe22fed Trying to fix lib-debian (#13524) 2022-10-19 07:23:33 +04:00
Ilya Lavrenov
2e336e4bb8 Fixes for brew support on OSX (#13476)
* Fixes for brew support on OSX

* Added new policy

* added quotes

* Used OpenVINODeveloperPackage

* Extra fixes

* Use standard verbose variable

* Fixed pkg-config generation
2022-10-15 00:15:03 +03:00
Ilya Lavrenov
4a727ea54d Disabled TBB and OpenCV downloading for aarch64, keeping only for yocto (#13462) 2022-10-13 14:16:20 +04:00
Ilya Lavrenov
c2911adf94 Conda-forge fixes (#13392) 2022-10-12 12:16:13 +04:00
Ilya Lavrenov
c83ad806d9 Enabled LTO for OSX (#13266) 2022-10-07 12:09:44 +04:00
Ilya Churaev
8a9c19e3eb Warning as error for Windows (#13291)
* parent 6e7016ccda
author Ilya Churaev <ilya.churaev@intel.com> 1664281499 +0400
committer Ilya Churaev <ilya.churaev@intel.com> 1664510018 +0400

Fixed warnings on local machine

* Added CMAKE_COMPILE_WARNING_AS_ERROR usage

* Fixed style

* Fixed merge conflicts

* Fixed typo

* Fixed myriad build for macOS

* Fixed warning

* Fixed tests

* Disabled incorrect test

* Try to fix linux tests

* Revert "Try to fix linux tests"

This reverts commit 29224c93ff.

* Fixed tests

* Revert logic with incorrect cast

* Fixed log softmax

* Disable warning as error for cuda

* Try to fix inference_engine_s

* Fixed cmake

* Revert "Fixed cmake"

This reverts commit 87e9e4e674.

* Revert "Try to fix inference_engine_s"

This reverts commit a1adca8b05.

* WA for static symbols in inference_engine_s test library

* Fixed code style

* Fixed static definition for master

* Revert "Fixed static definition for master"

This reverts commit 20d00d215a.

* Revert "Fixed code style"

This reverts commit 0eb2362543.

* Revert "WA for static symbols in inference_engine_s test library"

This reverts commit 75ef86a79d.

* Fixed linker issue for Windows

* Disable WaE by default

* Disable warning as error in the developer package

* Try to fix dev package

* Try to fix Windows Jenkins

* Revert old behavior for tread_warn_as_err variable
2022-10-06 13:44:21 +04:00
Ilya Lavrenov
1bb15b1d18 Compilation with conda build (#13083)
* Compilation with conda forge

* Fixed compilation with gcc 12

* Fixed tests compilation

* use macro instead of function

* Fixed uninitialized variable in tests

* Conda

* Conda
2022-10-05 08:38:38 +04:00
Ilya Lavrenov
76fc9cb109 Proper folder during compilation for arm64 on intel (#13331) 2022-10-05 00:34:36 +04:00
Ilya Churaev
943f77d9ec Move template plugin to plugin folder (#13269)
* Moved template_plugin

* Move template extension

* Changed cmake configs

* Try to fix build

* Moved plugin to standalone folder and fixed build

* Try to fix doc

* Try to fix doc

* Update CMakeLists.txt

* Moved extensions to src/core
2022-10-03 15:47:20 +04:00
Ilya Lavrenov
2ad15ececc Removed excess rpath for libraries in wheel (#13218)
* Store OSX archs for sub-projects

* Removed useless rpath
2022-09-27 13:33:51 +02:00
Ilya Lavrenov
07d68b5895 Ability to build OpenVINO wheel based on OV developer package (#13197)
* Allow to compile wheel package based on OpenVINO developer package

* Added wheel specific runtime dir to avoid issues with generator expressions

* Added backward compatibility

* Trying to fix RHEL, U20

* Fixed cmake options in setup.py
2022-09-26 11:33:50 +04:00
Ilya Lavrenov
12f1e95c3d Improvements for OSX build (#13201)
* Hide some helper variables as internal ones

* Added an ability to test private API for TF FE

* OSX improvements

* Fixed project generation for xcode
2022-09-26 07:48:41 +04:00
Ilya Lavrenov
d82cdc39e4 Allow to extra modules by relative path (#13199) 2022-09-26 07:47:59 +04:00
Ilya Lavrenov
5c4564c214 Tensorflow func tests (#13198)
* Added auto-detect for SHUTDOWN_PROTOBUF option

* Hide some helper variables as internal ones

* Update frontends cmake files not to include tests folders

* Added an ability to test private API for TF FE

* Added an ability to test private API for TF FE

* Improved mock frontends in python tests

* Fixed compilation error

* Fixed link on WIndows
2022-09-25 16:54:26 +04:00
Pawel Raasz
4f683687de Enable mock fe tests in python api 2.0 tests (#12978)
* Building python frontend tests

* Enable mock tests in new python API:
- Fix mock_py frontend library name
- Set same destination for mock_py frontend as others frontends
- Fix importing mock_py frontend
- Minor changes in mock_py tests

* Fix flake8 issue

* Fix linking issue on windows

* Remove DISABLE_PYBIND11 option

* Build mock_py always as shared library
- put mock_py into ov::frontend namespace
- minor re-factor of mock_py

* Add mock c API fix warning on windows

* Fix installation of mock_py frontend

* Install mock_py frontend library in tests

* More detailed error message in python test
when cannot import frontend

* Restore IMPLEMENT_OPENVINO_API for windows build
of pybind_mock_frontend

* Set env paths for python API test on Azure CI
- skip tensorflow conversion ext test when not installed

* Correct skip tensorflow test decorator

* Add C API macro for mock1 frontend

* Ignore E999 error reported by flake8

* Fix conversion extension name for tf imports

* Fix flake8 issues

* Remove python3.8 path from LD_LIBRARY_PATH
on debian CI

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-09-20 11:56:46 +03:00
Artyom Anokhov
f8f82574ac [Packaging] RPM generation (#12810)
* Initial

* packaging: Fixed syntax

rpm.cmake: downgraded PYOPENVINO version to 3.6 as default

* install_build_dependencies: Added rpm-build

rpm.cmake: Removed SHLIBDEPS settings for RPMs creation. Replaced CPACK_RPM_PACKAGE_HOMEPAGE with CPACK_RPM_PACKAGE_URL. Set CPACK_RPM_PACKAGE_AUTOREQPROV to ON.

* rpm_post_build.cmake: Fixed warning if rpmlint not installed

rpm.cmake: Removed SHLIBDEPS usage.

* rpm.cmake: Updated comments

* Fixed naming

* developer_package/rpm.cmake: Fixed ov_rpm_add_latest_component macro with using lower case for CPACK_COMPONENT_XXX_DEPENDS set.
2022-09-19 23:16:07 +03:00
Ilya Churaev
b7d183e6e6 Fixed comments after coverage PR (#13100) 2022-09-19 17:20:05 +03:00
Ilya Churaev
c66c7064e0 Fixed ov_coverage target (#13090)
* Fixed ov_coverage target

* Added all components
2022-09-19 11:04:10 +04:00
Ilya Lavrenov
b6ce6f4d39 Added support of universal2 OSX binaries (#13093)
* Added support of universal2 OSX binaries

* Fixed openvino wheel for OSX: different library name structure
2022-09-19 10:14:07 +04:00
Ilya Lavrenov
99b450ef52 Check ONNX installation before usage (#13069) 2022-09-16 15:18:11 +04:00
Vitaliy Urusovskij
6e816b607b Fix install of static TBB libs (#13012)
In case of "Downloaded TBB" after second call of `cmake` it treats TBB as custom instead of downloaded, and doesn't install static libs correct way
2022-09-13 11:21:47 +04:00