This behavior is already used by default because ONNX is enabled by default and thirdparty/onnx/onnx/CMakeLists.txt forcing CMAKE_BUILD_TYPE to Release if it is not set
It fixes the following issues:
- When ONNX frontend is disabled - source is built for Debug, which is very unexpected comparing to Release with ONNX frontend enabled
- When ONNX frontend is disabled, even libopenvino.so could not be built due to some generated makefiles issues
It is set to 'Release' (not to 'Debug') to comply with default behavior when ONNX is enabled (it is default option working for most users)
* Moved and merged mo/ and extensions/ into openvino/tools/mo
* edited imports
* edited docs to use mo script from entry_point
* edited MO transformations list loading and setup.py
* changed full path -> 'mo' entry point in docs (leftovers)
* corrected package_BOM
* updated resolving --transformation_config in cli_parser.py
* pkgutil-style __init__.py, added summarize_graph into entry points
* updated DOCs for the new --transformations_config
* fix select
* updated install instructions, fixed setup.py for windows and python_version < 3.8
* fixed typo in requirements.txt
* resolved conflicts
* removed creating custom __init__.py from setup.py
* corrected folder with caffe proto
* corrected loading user defined extensions
* fix openvino.tools.mo import in serialize.py
* corrected layer tests for new namespace
* fix in get_testdata.py
* moved model-optimizer into tools/
* renamed import in POT
* corrected mo.yml
* correct CMakeLists.txt for the newest tools/mo
* corrected find_ie_version.py
* docs and openvino-dev setup.py update for the newest tools/mo
* miscellaneous leftovers and fixes
* corrected CI files, pybind11_add_module in CMakeLists.txt and use of tools/mo path instead of tools/model_optimizer
* add_subdirectory pybind11 for tools/mo
* POT path fix
* updated setupvars.sh setupvars.bat
* Revert "updated setupvars.sh setupvars.bat"
This reverts commit c011142340.
* removed model-optimizer env variables from setupvars
* updated CMakeLists.txt to pack MO properly with tests component
* corrected left imports, corrected loading requirements for layer tests
* mo doc typo correction
* minor corrections in docs; removed summarize_graph from entry_points
* get_started_windows.md, MonoDepth_how_to.md corrections, mo path corrections
* 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
* 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
* Try to fix Windows Azure
* Try static MSVC runtime
* Fixed type
* cnpy
* Rename
* Set CMAKE_MSVC_RUNTIME_LIBRARY
* Fixed issues with oneDNN
* Removed IB
* Minimize a number of threads
* Increase image size to avoid test failures on some platforms
There is an assert 'length >= nlanes' and 'nlanes' value depends on machine architecture
Set 320x320 test image to guarantee that image size >= nlanes
Also increased image size for 'plugin shared tests' to ensure the same (even though tests do not work with legacy preprocessing)
* Descreased to 160x160
* Specify toolchain for samples
* Build samples and its tests even for static build
* Used 3.21 to enable CMAKE_TOOLCHAIN_FILE env var usage
* Fixed cmake download path
* Set CMAKE_TOOLCHAIN_FILE conditionally
* Fix
Co-authored-by: Michael Nosov <mikhail.nosov@intel.com>
* 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
* 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
* [Samples] Move C samples to the new samples directory
* fix samples
* [Samples] Move C samples to the new samples directory
* fix samples
* code reivew inspired fixes
* rename folder to lower case
* move ENABLE_SAMPLES cond level up, fix readmes
* fix ref in doc
* fix install path
* fix install of samples to tests
Co-authored-by: Vladimir Dudnik <vladimir.dudnik@intel.com>
* [Python API] Move ngraph python api to the new destination
* fix building tests
* fix code-style checks
* building in azure
* fix building wheels
* apply fixes
* 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
* PaddlePaddle frontend - Core Part
Basic functionality, only limited number of supported operations
Rest of operations will be submitted in separate PR
* Remove copy-paste for 'protobuf-generate'
* Remove copy-paste for 'protobuf-generate'
* Disable all installs for static protobuf
* Fixed error in protobuf generator script
* Disable compilation warnings for generated Protobuf code
* Cmake - move PDPD frontend to the bottom
Add install rules for PDPD and Frontend_manager
* Separate working directory for static protobuf
* Use system 'protoc' code generator in case of cross-compiling mode
* Pass SYSTEM_PROTOC to static protobuf subproject
Needed for cross compiling
* Enable back commented out PDPD unit tests
* Fix TODOs
* Fix some comments
* Update according to new gtest
* Removed NGRAPH_EXPORT_TARGETS_ENABLE for PDPD frontend
* 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
* 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>
* 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
* enable make install for openvino/tools folder
* fix component name
* use python_tools as component name
* update ie_cpack_add_component name
* enable CPack for python tools
* use find_package(PythonInterp)
* Build python wheel w/o strict dependency to _pyngraph
* Exclude extra components which are not needed for IE python wheel
- myriad_compile
- myriad_perfcheck
- compile_tool
- inference_engine_c
* Add IntelSEAPI
* Fixed Windows build
* Fixed Windows
* Removed ETLRelogger
* Fixed linux compilation
* Fixed macOS build
* Small fixes
* Enabled OV codestyle
* Removed Android support
* Update license
* Fixed compilation for Windows
* Removed parse_jit function
* Fixed script for header generation
* Remove bandit hints
* Moved itt collector to thirdparty
* Try to fix hits for Windows
* Removed more hits
* 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
* [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
* Add CMake install rules for OpenVINO 3rd party dependencies
Remove unwanted targets from final distribution (test, static libs, etc)
* remove duplicated targets from install
align GNA Windows install path with Linux
* Add COMPONENT install name for OMP
remove empty lines
* Add OMP to CPack components
* remove gtest from deliverables
add explicitly clDNN_unit_tests target to build
* set clDNN_unit_tests properties only by condition
* remove install commands for clDNN
Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>