Improved openvino runtime python wheel build (#7604)

* Proper dependencies for ie_wheel

* Used version information when building wheels
This commit is contained in:
Ilya Lavrenov
2021-09-23 10:41:57 +03:00
committed by GitHub
parent bd29f64570
commit 7938c18b7c
6 changed files with 39 additions and 31 deletions

View File

@@ -14,7 +14,7 @@ set(CMAKE_MODULE_PATH "${IEDevScripts_DIR}")
function(set_ci_build_number)
set(repo_root "${CMAKE_SOURCE_DIR}")
include(version)
foreach(var CI_BUILD_NUMBER IE_VERSION
foreach(var CI_BUILD_NUMBER IE_VERSION IE_VERSION_BUILD
IE_VERSION_MAJOR IE_VERSION_MINOR IE_VERSION_PATCH)
if(NOT DEFINED ${var})
message(FATAL_ERROR "${var} version component is not defined")