Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake based build for pyngraph module #3080

Conversation

slyubimt
Copy link
Contributor

@slyubimt slyubimt commented Nov 11, 2020

The purpose of this change is support cmake install functionality for all OpenVINO components, including NGraph python bindings currently bundling using Python setuptools.

@slyubimt slyubimt added category: Core OpenVINO Core (aka ngraph) category: build OpenVINO cmake script / infra labels Nov 11, 2020
@slyubimt slyubimt requested a review from a team November 11, 2020 12:39
ngraph/python/CMakeLists.txt Outdated Show resolved Hide resolved
ngraph/python/CMakeLists.txt Outdated Show resolved Hide resolved
ngraph/python/CMakeLists.txt Outdated Show resolved Hide resolved
ngraph/python/CMakeLists.txt Outdated Show resolved Hide resolved
ngraph/python/CMakeLists.txt Outdated Show resolved Hide resolved
ngraph/python/CMakeLists.txt Outdated Show resolved Hide resolved
@slyubimt slyubimt requested a review from a team as a code owner November 17, 2020 16:46
@ilyachur
Copy link
Contributor

ilyachur commented Nov 27, 2020

@ababushk Could you help if @slyubimt needs some help with merge?

ngraph/python/BUILDING.md Outdated Show resolved Hide resolved
ngraph/python/BUILDING.md Outdated Show resolved Hide resolved
ngraph/python/BUILDING.md Outdated Show resolved Hide resolved
ngraph/python/BUILDING.md Outdated Show resolved Hide resolved
ngraph/python/BUILDING.md Outdated Show resolved Hide resolved
ngraph/python/BUILDING.md Show resolved Hide resolved
ngraph/python/BUILDING.md Outdated Show resolved Hide resolved
ngraph/python/BUILDING.md Show resolved Hide resolved
@andrew-zaytsev
Copy link
Contributor

LGTM

@postrational
Copy link
Contributor

This PR wasn't fully tested on Windows, but if we face issues, we can resolve them in future PRs.

@ilyachur
Copy link
Contributor

@slyubimt Please update your PR to the latest master.

@evgenytalanin-intel evgenytalanin-intel merged commit 2e6ea1e into openvinotoolkit:master Dec 24, 2020
mryzhov pushed a commit to mryzhov/openvino that referenced this pull request Jan 14, 2021
* [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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: build OpenVINO cmake script / infra category: Core OpenVINO Core (aka ngraph)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants