Commit Graph

20 Commits

Author SHA1 Message Date
Jan Iwaszkiewicz c4274d4c32
Change version of pybind (#6145) 2021-06-16 07:36:06 +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 Churaev a672b9c599
Enabled Wall for nGraph (#5270)
* Enabled Wall for nGraph

* Fixed Linux build

* Fixed ONNX Editor and class-memaccess

* Fixed topK

* Fixed some builds

* Fixed nGraph Python API

* Use std::fill instead of cycle

* Wno-unded and deprecation for app python versions
2021-04-22 06:24:03 +03:00
Ilya Churaev b751683c82
Fixed macOS compilation (#5283)
* Fixed macOS compilation

* Added -Wno-undef
2021-04-19 10:24:26 +03:00
Ilya Lavrenov f205ba9459
Fixed pyngraph compilation with python 3.9.2 (#4940) 2021-03-25 13:15:01 +03:00
Sergey Lyubimtsev 222a709c6c
NGraph python api cannot be built w/o onnx importer (#4880)
* NGraph python api cannot be built w/o onnx importer

* add target condition
2021-03-25 12:26:35 +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 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
Sergey Lyubimtsev dde565d187
Align builds locations for ngraph and ie python bindings (#4095)
* Align builds folders for ngraph and ie python bindings

* fix merge issue

* Replace hardcoded path in PYTHONPATH with setupvars.sh

* remove unused docker instructions

fix output directory for local wheel build (ngraph_DIR is set)

* add newline at end of file

* fix merge issue
2021-03-09 16:28:23 +03:00
Konstantin Satunin 0682d773ca
Unique locations for pdb files (#4446) 2021-02-22 11:41:03 +03:00
Konstantin Satunin 342ae0daa7
unique locations for pdb files (#4445) 2021-02-20 23:48:47 +03:00
Konstantin Satunin 8f5453d70f
Pyngraph independent locations for lib files (#4440)
* Make unique location for pyngraph lib files

* fix variable usage
2021-02-20 18:15:57 +03:00
Jan Iwaszkiewicz 7ff8f8eba4
WA for GCC 7.5 pybind warning (#4277)
* WA for GCC 7.5 pybind warning

* Move compiler flag to ngraph/python
2021-02-11 18:41:23 +03:00
Ilya Lavrenov 117c04def1
Fixed compilation of ngraph python on some compilers (#4015)
* Fixed compilation of ngraph python on some compilers

* Fixed ONNX importer dependencies compilation for gcc 5.4.0 and 5.5.0
2021-01-28 18:58:10 +03:00
Tomasz Dołbniak 303c549791
nGraph copyright update for 2021 (#3832) 2021-01-13 16:43:04 +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
Sergey Lyubimtsev 2e6ea1e290
CMake based build for pyngraph module (#3080)
* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [nGraph] Python API should be compiled and installed via CMake (41857)

* Refactored wheel setup script to build module using CMake

* Update build instructions

* Added USE_SOURCE_PERMISSIONS to cmake install

* Adjust CMake compiler flags conditions

* fix CPack issue for CI build pipeline

* case insensitive option check

* build only python API if ngraph_DIR provided

* fix lib extension for macOS

* -fixed style (flake8)

 -added paralllel build option & description

* fix flake8 B006 check

* add ngraph_DIR & remove unsed env. variables.

* Reworked build & test instructions to make it more straightforward

* remove unused CMake arguments for setup.py

* make source dir condition more general

* Update BUILDING.md

* Update BUILDING.md

* Update BUILDING.md

* beautified instructions wording

* fix wheel build issue after sourcing setupvars

* Extend user options to build, install and develop commands

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
2020-12-24 16:57:58 +03:00
Michał Karzyński cc2bfcf1d7
Improve python_wheel CMake target (#2688) 2020-10-18 17:12:25 +02:00
Evgeny Talanin fe99e055f2
Bump cmake version to 3.13 (#2258) 2020-09-18 18:58:12 +03:00
Alexey Suhov f30dcc218c publish master branch snapshot, revision 9df5eb1f84e13a35720a918f88324561222ab114 2020-05-20 01:13:06 +03:00