Openvino cmake config#7419
Merged
azhogov merged 39 commits intoopenvinotoolkit:masterfrom Sep 10, 2021
Merged
Conversation
77dd08e to
1f2bb08
Compare
efe9ec7 to
8666873
Compare
6 tasks
ilya-lavrenov
commented
Sep 9, 2021
ilyachur
reviewed
Sep 10, 2021
| # Run tests via tox | ||
| WORKDIR /openvino/runtime/bindings/python | ||
| ENV ngraph_DIR=/openvino/dist/deployment_tools/ngraph | ||
| ENV OpenVINO_DIR=/openvino/dist/deployment_tools/inference_engine/share |
Contributor
There was a problem hiding this comment.
Is it a temporary change?
Contributor
Author
There was a problem hiding this comment.
OpenVINO_DIR is permanent, path will be changed in future.
| include("${CMAKE_CURRENT_LIST_DIR}/InferenceEngineTargets.cmake") | ||
|
|
||
| # create targets with old names for compatibility | ||
| if(TARGET IE::runtime AND NOT TARGET IE::inference_engine) |
Contributor
There was a problem hiding this comment.
Can we change prefix to OV? OV::runtime
| # | ||
| # The following components are supported: | ||
| # | ||
| # * `Runtime`: OpenVINO C++ and C Core & Inference Runtime, frontend manager |
Contributor
There was a problem hiding this comment.
Should we add a Core as a separate component?
| # | ||
| # The module sets the following variables in your project: | ||
| # | ||
| # `OpenVINO_FOUND` |
Contributor
There was a problem hiding this comment.
What if user wants to use nGraph without the runtime?
| include("${CMAKE_CURRENT_LIST_DIR}/ngraphTargets.cmake") | ||
|
|
||
| # create targets with old names for compatibility | ||
| if(TARGET ngraph::core AND NOT TARGET ngraph::ngraph) |
ilyachur
approved these changes
Sep 10, 2021
akuporos
pushed a commit
to akuporos/openvino
that referenced
this pull request
Sep 29, 2021
* Added OpenVINOConfig.cmake * OpenVINOConfig.cmake part 2 * Trying to fix cmake generation * Fixes * Export frontends as well * Fixed condition * Added OpenVINO cmake package usage: docs, C samples * Use more OpenVINO config * Install OpenVINOConfig.cmake * Trying to fix private plugins * Trying to fix .tox * Trying to fix ARM * Fixed samples build * Explicit ngraph duplicated targets * Fixed fuzzing tests build * Added IR frontend installation * Removed install directory for IE reader * Removed IR frontend from export list * Reverted ngraph_DIR * Try to fix .tox * Fixed ieFuncTests with ONNX extensions * Attempt #2 * Trying to fix ngraph setup.py * Fix * Trying to fix ONNX ngraph .tox CI * Trying to remove spaces * Fixed ngraph_DIR -> OpenVINO_DIR * Removed junk files * Try to fix ngraph wheel * Try to fix ie_wheel * Try to fix ngraph wheel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details:
Tickets: