Updated OpenVINO version to 2024.0 (#21790)
This commit is contained in:
@@ -82,33 +82,19 @@ macro(ov_parse_ci_build_number repo_root)
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(ie_version_hpp "${OpenVINO_SOURCE_DIR}/src/inference/include/ie/ie_version.hpp")
|
||||
if(NOT EXISTS ${ie_version_hpp})
|
||||
message(FATAL_ERROR "File ie_version.hpp with IE_VERSION definitions is not found")
|
||||
endif()
|
||||
|
||||
set(ov_version_hpp "${OpenVINO_SOURCE_DIR}/src/core/include/openvino/core/version.hpp")
|
||||
if(NOT EXISTS ${ov_version_hpp})
|
||||
message(FATAL_ERROR "File openvino/core/version.hpp with OPENVINO_VERSION definitions is not found")
|
||||
endif()
|
||||
|
||||
file(STRINGS "${ie_version_hpp}" IE_VERSION_PARTS REGEX "#define IE_VERSION_[A-Z]+[ ]+" )
|
||||
file(STRINGS "${ov_version_hpp}" OV_VERSION_PARTS REGEX "#define OPENVINO_VERSION_[A-Z]+[ ]+" )
|
||||
|
||||
foreach(suffix MAJOR MINOR PATCH)
|
||||
set(ie_version_name "IE_VERSION_${suffix}")
|
||||
set(ov_version_name "OpenVINO_VERSION_${suffix}")
|
||||
set(ov_version_name_hpp "OPENVINO_VERSION_${suffix}")
|
||||
|
||||
string(REGEX REPLACE ".+${ie_version_name}[ ]+([0-9]+).*" "\\1"
|
||||
${ie_version_name}_HPP "${IE_VERSION_PARTS}")
|
||||
string(REGEX REPLACE ".+${ov_version_name_hpp}[ ]+([0-9]+).*" "\\1"
|
||||
${ov_version_name}_HPP "${OV_VERSION_PARTS}")
|
||||
|
||||
if(NOT ${ie_version_name}_HPP EQUAL ${ov_version_name}_HPP)
|
||||
message(FATAL_ERROR "${ov_version_name} (${${ov_version_name}_HPP})"
|
||||
" and ${ie_version_name} (${${ie_version_name}_HPP}) are not equal")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
foreach(var OpenVINO_VERSION_MAJOR OpenVINO_VERSION_MINOR OpenVINO_VERSION_PATCH)
|
||||
|
||||
@@ -90,6 +90,7 @@ macro(ov_cpack_settings)
|
||||
2023.0.0 2023.0.1 2023.0.2 2023.0.3
|
||||
2023.1.0
|
||||
2023.2.0
|
||||
2023.3.0 2023.3.1 2023.3.2 2023.3.3 2023.3.4 2023.3.5
|
||||
)
|
||||
|
||||
#
|
||||
|
||||
@@ -76,6 +76,7 @@ macro(ov_cpack_settings)
|
||||
2023.0.0 2023.0.1 2023.0.2 2023.0.3
|
||||
2023.1.0
|
||||
2023.2.0
|
||||
2023.3.0 2023.3.1 2023.3.2 2023.3.3 2023.3.4 2023.3.5
|
||||
)
|
||||
|
||||
find_host_program(rpmlint_PROGRAM NAMES rpmlint DOC "Path to rpmlint")
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
* @brief Defines OpenVINO patch version
|
||||
*/
|
||||
|
||||
#define OPENVINO_VERSION_MAJOR 2023
|
||||
#define OPENVINO_VERSION_MINOR 3
|
||||
#define OPENVINO_VERSION_MAJOR 2024
|
||||
#define OPENVINO_VERSION_MINOR 0
|
||||
#define OPENVINO_VERSION_PATCH 0
|
||||
|
||||
namespace ov {
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
* @brief Defines Inference Engine patch version
|
||||
*/
|
||||
|
||||
#define IE_VERSION_MAJOR 2023
|
||||
#define IE_VERSION_MINOR 3
|
||||
#define IE_VERSION_MAJOR 2024
|
||||
#define IE_VERSION_MINOR 0
|
||||
#define IE_VERSION_PATCH 0
|
||||
|
||||
#include "ie_api.h"
|
||||
|
||||
Reference in New Issue
Block a user