public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ali Erdinc Koroglu <aekoroglu@linux.intel.com>
To: git-commits@fedoraproject.org
Subject: [rpms/openvino] origin/pr/8/head: Update to 2025.1.0 (RHBZ#2358787)
Date: Thu, 11 Jun 2026 16:10:53 GMT	[thread overview]
Message-ID: <178119425312.1.14634112470665158898.rpms-openvino-d30d816b7e9a@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/openvino
Branch : origin/pr/8/head
Commit : d30d816b7e9afcd192b0af635e3b743d00d0bc35
Author : Ali Erdinc Koroglu <aekoroglu@linux.intel.com>
Date   : 2025-04-25T11:42:11+03:00
Stats  : +290/-117 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/openvino/c/d30d816b7e9afcd192b0af635e3b743d00d0bc35?branch=origin/pr/8/head

Log:
Update to 2025.1.0 (RHBZ#2358787)

---
diff --git a/dependencies.cmake b/dependencies.cmake
index f4f8831..e550abe 100644
--- a/dependencies.cmake
+++ b/dependencies.cmake
@@ -213,3 +213,229 @@ if(NOT TARGET openvino::pugixml)
 
     ov_build_pugixml()
 endif()
+
+#
+# Protobuf
+#
+
+if(ENABLE_OV_PADDLE_FRONTEND OR ENABLE_OV_ONNX_FRONTEND OR ENABLE_OV_TF_FRONTEND)
+    if(ENABLE_SYSTEM_PROTOBUF)
+        # Note: Debian / Ubuntu / RHEL libprotobuf.a can only be used with -DBUILD_SHARED_LIBS=OFF
+        # because they are compiled without -fPIC
+        if(NOT DEFINED Protobuf_USE_STATIC_LIBS)
+            set(Protobuf_USE_STATIC_LIBS ON)
+        endif()
+        if(CMAKE_VERBOSE_MAKEFILE)
+            set(Protobuf_DEBUG ON)
+        endif()
+        # try to find newer version first (major is changed)
+        # see https://protobuf.dev/support/version-support/ and
+        # https://github.com/protocolbuffers/protobuf/commit/d61f75ff6db36b4f9c0765f131f8edc2f86310fa
+        find_package(Protobuf 5.26.0 QUIET CONFIG)
+        if(NOT Protobuf_FOUND)
+            find_package(Protobuf 4.22.0 QUIET CONFIG)
+        endif()
+        if(Protobuf_FOUND)
+            # protobuf was found via CONFIG mode, let's save it for later usage in OpenVINOConfig.cmake static build
+            set(protobuf_config CONFIG)
+        else()
+            if(OV_VCPKG_BUILD)
+                set(protobuf_config CONFIG)
+            endif()
+            # otherwise, fallback to existing default
+	    find_package(Protobuf 3.19.6 REQUIRED ${protobuf_config})
+        endif()
+
+        # with newer protobuf versions (4.22 and newer), we use CONFIG first
+        # so, the Protobuf_PROTOC_EXECUTABLE variable must be checked explicitly,
+        # because it's not used in this case (oppositely to MODULE case)
+        if(Protobuf_VERSION VERSION_GREATER_EQUAL 22 AND DEFINED Protobuf_PROTOC_EXECUTABLE)
+            set(PROTOC_EXECUTABLE ${Protobuf_PROTOC_EXECUTABLE})
+        else()
+            set(PROTOC_EXECUTABLE protobuf::protoc)
+        endif()
+    else()
+        add_subdirectory(thirdparty/protobuf EXCLUDE_FROM_ALL)
+        # protobuf fails to build with -fsanitize=thread by clang
+        if(ENABLE_THREAD_SANITIZER AND OV_COMPILER_IS_CLANG)
+            foreach(proto_target protoc libprotobuf libprotobuf-lite)
+                if(TARGET ${proto_target})
+                    target_compile_options(${proto_target} PUBLIC -fno-sanitize=thread)
+                    target_link_options(${proto_target} PUBLIC -fno-sanitize=thread)
+                endif()
+            endforeach()
+        endif()
+    endif()
+
+    # forward additional variables used in the other places
+    set(Protobuf_IN_FRONTEND ON)
+
+    # set public / interface compile options
+    function(_ov_fix_protobuf_warnings target_name)
+        set(link_type PUBLIC)
+        if(ENABLE_SYSTEM_PROTOBUF)
+            set(link_type INTERFACE)
+        endif()
+        if(CMAKE_COMPILER_IS_GNUCXX OR OV_COMPILER_IS_CLANG OR (OV_COMPILER_IS_INTEL_LLVM AND UNIX))
+		# Protobuf built manually not via CMake in Fedora
+		if(NOT TARGET protobuf::libprotobuf)
+		    add_library(protobuf::libprotobuf ${link_type} IMPORTED)
+		    set_target_properties(protobuf::libprotobuf PROPERTIES
+			IMPORTED_LOCATION "${Protobuf_LIBRARIES}"
+			INTERFACE_INCLUDE_DIRECTORIES "${Protobuf_INCLUDE_DIRS}")
+		    target_compile_options(${target_name} ${link_type} -Wno-undef)
+		endif()
+        endif()
+    endfunction()
+
+    _ov_fix_protobuf_warnings(protobuf::libprotobuf)
+    if(TARGET protobuf::libprotobuf-lite)
+        _ov_fix_protobuf_warnings(protobuf::libprotobuf-lite)
+    endif()
+endif()
+
+#
+# FlatBuffers
+#
+
+if(ENABLE_OV_TF_LITE_FRONTEND)
+    if(ENABLE_SYSTEM_FLATBUFFERS)
+        ov_cross_compile_define_debian_arch()
+
+        # on new Ubuntu versions like 23.04 we have config called FlatBuffersConfig.cmake
+        # so, we need to provide alternative names
+        find_host_package(Flatbuffers QUIET NAMES Flatbuffers FlatBuffers NO_CMAKE_FIND_ROOT_PATH)
+
+        ov_cross_compile_define_debian_arch_reset()
+    endif()
+
+    if(Flatbuffers_FOUND)
+        # we don't actually use library files (.so | .dylib | .a) itself, only headers
+        if(TARGET flatbuffers::flatbuffers_shared)
+            set(flatbuffers_LIBRARY flatbuffers::flatbuffers_shared)
+        elseif(TARGET flatbuffers::flatbuffers)
+            set(flatbuffers_LIBRARY flatbuffers::flatbuffers)
+        else()
+            message(FATAL_ERROR "Internal error: Failed to detect flatbuffers library target")
+        endif()
+        set(flatbuffers_COMPILER flatbuffers::flatc)
+    else()
+        add_subdirectory(thirdparty/flatbuffers EXCLUDE_FROM_ALL)
+
+        # used by NPU repo
+        set(flatc_COMMAND flatc)
+        set(flatc_TARGET flatc)
+    endif()
+
+    # set additional variables, used in other places of our cmake scripts
+    set(flatbuffers_INCLUDE_DIRECTORIES $<TARGET_PROPERTY:${flatbuffers_LIBRARY},INTERFACE_INCLUDE_DIRECTORIES>)
+endif()
+
+#
+# Snappy Compression
+#
+
+if(ENABLE_SNAPPY_COMPRESSION)
+    if(ENABLE_SYSTEM_SNAPPY)
+        find_package(Snappy REQUIRED)
+
+        set(ov_snappy_lib Snappy::snappy)
+        if(NOT BUILD_SHARED_LIBS AND TARGET Snappy::snappy-static)
+            # we can use static library only in static build, because in case od dynamic build
+            # the libsnappy.a should be compiled with -fPIC, while Debian / Ubuntu / RHEL don't do it
+            set(ov_snappy_lib Snappy::snappy-static)
+        endif()
+
+        if(OV_PkgConfig_VISIBILITY)
+            # need to set GLOBAL visibility in order to create ALIAS for this target
+            set_target_properties(${ov_snappy_lib} PROPERTIES IMPORTED_GLOBAL ON)
+        endif()
+
+        add_library(openvino::snappy ALIAS ${ov_snappy_lib})
+    endif()
+
+    if(NOT TARGET openvino::snappy)
+        function(ov_build_snappy)
+            set(BUILD_SHARED_LIBS OFF)
+            set(SNAPPY_BUILD_BENCHMARKS OFF)
+            set(SNAPPY_BUILD_TESTS OFF)
+            set(INSTALL_GTEST OFF)
+            if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
+                # '<': signed/unsigned mismatch
+                ov_add_compiler_flags(/wd4018)
+                # conditional expression is constant
+                ov_add_compiler_flags(/wd4127)
+                # 'conversion' conversion from 'type1' to 'type2', possible loss of data
+                ov_add_compiler_flags(/wd4244)
+                # 'conversion' : conversion from 'type1' to 'type2', signed/unsigned mismatch
+                ov_add_compiler_flags(/wd4245)
+                # 'var' : conversion from 'size_t' to 'type', possible loss of data
+                ov_add_compiler_flags(/wd4267)
+            elseif(CMAKE_COMPILER_IS_GNUCXX OR OV_COMPILER_IS_CLANG OR (OV_COMPILER_IS_INTEL_LLVM AND UNIX))
+                # we need to pass -Wextra first, then -Wno-sign-compare
+                # otherwise, snappy's CMakeLists.txt will do it for us
+                ov_add_compiler_flags(-Wextra)
+                ov_add_compiler_flags(-Wno-sign-compare)
+            elseif(OV_COMPILER_IS_INTEL_LLVM AND WIN32)
+                ov_add_compiler_flags(/WX-)
+            endif()
+
+            add_subdirectory(thirdparty/snappy EXCLUDE_FROM_ALL)
+            # need to create alias openvino::snappy
+            add_library(openvino::snappy ALIAS snappy)
+
+            # WA for emscripten build which currently requires -fexceptions
+            if(EMSCRIPTEN)
+                target_compile_options(snappy PRIVATE "-fexceptions")
+            endif()
+        endfunction()
+
+        ov_build_snappy()
+        ov_install_static_lib(snappy ${OV_CPACK_COMP_CORE})
+    endif()
+endif()
+
+#
+# ONNX
+#
+
+if(ENABLE_OV_ONNX_FRONTEND)
+    find_package(ONNX 1.16.2 QUIET COMPONENTS onnx onnx_proto NO_MODULE)
+
+    if(ONNX_FOUND)
+        # conan and vcpkg create imported targets 'onnx' and 'onnx_proto'
+        # newer versions of ONNX in vcpkg has ONNX:: prefix, let's create aliases
+        if(TARGET ONNX::onnx)
+            add_library(onnx ALIAS ONNX::onnx)
+        endif()
+        if(TARGET ONNX::onnx_proto)
+            add_library(onnx_proto ALIAS ONNX::onnx_proto)
+        endif()
+    else()
+        add_subdirectory(thirdparty/onnx)
+    endif()
+endif()
+
+#
+# nlohmann json
+#
+
+# Note: NPU requires 3.9.0 version, because it contains 'nlohmann::ordered_json'
+find_package(nlohmann_json 3.9.0 QUIET)
+if(nlohmann_json_FOUND)
+    # conan and vcpkg create imported target nlohmann_json::nlohmann_json
+else()
+    add_subdirectory(thirdparty/json EXCLUDE_FROM_ALL)
+
+    # this is required only because of NPU plugin reused this: export & install
+    ov_developer_package_export_targets(TARGET nlohmann_json
+                                        INSTALL_INCLUDE_DIRECTORIES "${OpenVINO_SOURCE_DIR}/thirdparty/json/nlohmann_json/include")
+
+    # for nlohmann library versions older than v3.0.0
+    if(NOT TARGET nlohmann_json::nlohmann_json)
+        add_library(nlohmann_json::nlohmann_json INTERFACE IMPORTED)
+        set_target_properties(nlohmann_json::nlohmann_json PROPERTIES
+            INTERFACE_LINK_LIBRARIES nlohmann_json
+            INTERFACE_COMPILE_DEFINITIONS JSON_HEADER)
+    endif()
+endif()

diff --git a/npu-level-zero.patch b/npu-level-zero.patch
index de6dfe3..e7926a9 100644
--- a/npu-level-zero.patch
+++ b/npu-level-zero.patch
@@ -1,5 +1,5 @@
---- a/src/plugins/intel_npu/thirdparty/CMakeLists.txt	2025-03-04 19:35:03.642885693 +0200
-+++ b/src/plugins/intel_npu/thirdparty/CMakeLists.txt	2025-03-04 19:35:40.170807463 +0200
+--- a/src/plugins/intel_npu/thirdparty/CMakeLists.txt	2025-04-22 08:56:17.128557002 +0300
++++ b/src/plugins/intel_npu/thirdparty/CMakeLists.txt	2025-04-22 08:56:27.085760995 +0300
 @@ -11,16 +11,3 @@
      set_property(TARGET level-zero-ext APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/level-zero-ext/>)
      add_library(LevelZero::NPUExt ALIAS level-zero-ext)
@@ -17,9 +17,9 @@
 -        target_compile_options(yaml-cpp PRIVATE -Wno-suggest-override)
 -    endif()
 -endif()
---- a/src/plugins/intel_npu/tools/compile_tool/CMakeLists.txt	2025-01-30 22:09:54.664509560 +0000
-+++ b/src/plugins/intel_npu/tools/compile_tool/CMakeLists.txt	2025-01-30 22:10:59.261604242 +0000
-@@ -41,13 +41,6 @@
+--- a/src/plugins/intel_npu/tools/compile_tool/CMakeLists.txt	2025-04-22 08:56:52.338766209 +0300
++++ b/src/plugins/intel_npu/tools/compile_tool/CMakeLists.txt	2025-04-22 08:57:28.380471138 +0300
+@@ -45,13 +45,6 @@
  #
  
  install(TARGETS ${TARGET_NAME}
@@ -34,9 +34,9 @@
 -            COMPONENT ${NPU_INTERNAL_COMPONENT}
 -            ${OV_CPACK_COMP_NPU_INTERNAL_EXCLUDE_ALL})
 -endif()
---- a/src/plugins/intel_npu/tools/protopipe/CMakeLists.txt	2025-03-10 13:20:37.652583797 +0200
-+++ a/src/plugins/intel_npu/tools/protopipe/CMakeLists.txt	2025-03-10 13:21:06.242582658 +0200
-@@ -60,13 +60,7 @@
+--- a/src/plugins/intel_npu/tools/protopipe/CMakeLists.txt	2025-04-22 08:57:42.031656000 +0300
++++ b/src/plugins/intel_npu/tools/protopipe/CMakeLists.txt	2025-04-22 08:58:18.596665997 +0300
+@@ -64,13 +64,6 @@
  #
  
  install(TARGETS ${TARGET_NAME}
@@ -44,16 +44,16 @@
 +        RUNTIME DESTINATION "bin/${TARGET_NAME}"
          COMPONENT ${NPU_INTERNAL_COMPONENT}
          ${OV_CPACK_COMP_NPU_INTERNAL_EXCLUDE_ALL})
- 
+-
 -if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
 -    install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/README.md"
 -            DESTINATION "tools/${TARGET_NAME}"
 -            COMPONENT ${NPU_INTERNAL_COMPONENT}
 -            ${OV_CPACK_COMP_NPU_INTERNAL_EXCLUDE_ALL})
 -endif()
---- a/src/plugins/intel_npu/tools/single-image-test/CMakeLists.txt	2025-03-10 13:21:33.270430504 +0200
-+++ a/src/plugins/intel_npu/tools/single-image-test/CMakeLists.txt	2025-03-10 13:21:48.355429777 +0200
-@@ -63,13 +63,7 @@
+--- a/src/plugins/intel_npu/tools/single-image-test/CMakeLists.txt	2025-04-22 08:58:29.092032832 +0300
++++ b/src/plugins/intel_npu/tools/single-image-test/CMakeLists.txt	2025-04-22 08:58:55.051015815 +0300
+@@ -67,13 +67,6 @@
  #
  
  install(TARGETS ${TARGET_NAME}
@@ -61,15 +61,15 @@
 +        RUNTIME DESTINATION "bin/${TARGET_NAME}"
          COMPONENT ${NPU_INTERNAL_COMPONENT}
          ${OV_CPACK_COMP_NPU_INTERNAL_EXCLUDE_ALL})
- 
+-
 -if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
 -    install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/README.md"
 -            DESTINATION "tools/${TARGET_NAME}"
 -            COMPONENT ${NPU_INTERNAL_COMPONENT}
 -            ${OV_CPACK_COMP_NPU_INTERNAL_EXCLUDE_ALL})
 -endif()
---- a/src/plugins/intel_npu/src/backend/include/zero_memory.hpp	2025-01-30 16:54:27.550694466 +0000
-+++ b/src/plugins/intel_npu/src/backend/include/zero_memory.hpp	2025-01-30 16:55:08.462018205 +0000
+--- a/src/plugins/intel_npu/src/backend/include/zero_memory.hpp	2025-04-22 09:05:56.846233909 +0300
++++ b/src/plugins/intel_npu/src/backend/include/zero_memory.hpp	2025-04-22 09:06:16.087659601 +0300
 @@ -5,7 +5,7 @@
  #pragma once
  
@@ -79,8 +79,8 @@
  
  #include <map>
  #include <string>
---- a/src/plugins/intel_npu/src/backend/src/zero_pipeline.cpp	2025-03-03 16:34:15.852236120 +0200
-+++ b/src/plugins/intel_npu/src/backend/src/zero_pipeline.cpp	2025-03-03 16:34:46.103040309 +0200
+--- a/src/plugins/intel_npu/src/backend/src/zero_pipeline.cpp	2025-04-22 09:07:43.393381649 +0300
++++ b/src/plugins/intel_npu/src/backend/src/zero_pipeline.cpp	2025-04-22 09:07:56.183659457 +0300
 @@ -5,7 +5,7 @@
  #include "zero_pipeline.hpp"
  
@@ -90,8 +90,8 @@
  
  #include "intel_npu/common/itt.hpp"
  #include "intel_npu/config/runtime.hpp"
---- a/src/plugins/intel_npu/src/backend/src/zero_profiling.cpp	2025-01-30 17:01:12.269352224 +0000
-+++ b/src/plugins/intel_npu/src/backend/src/zero_profiling.cpp	2025-01-30 17:02:55.013658475 +0000
+--- a/src/plugins/intel_npu/src/backend/src/zero_profiling.cpp	2025-04-22 09:08:57.774124447 +0300
++++ b/src/plugins/intel_npu/src/backend/src/zero_profiling.cpp	2025-04-22 09:09:12.295471482 +0300
 @@ -4,7 +4,7 @@
  
  #include "zero_profiling.hpp"
@@ -101,8 +101,8 @@
  
  #include "intel_npu/config/compiler.hpp"
  #include "intel_npu/profiling.hpp"
---- a/src/plugins/intel_npu/src/backend/include/zero_infer_request.hpp	2025-01-30 17:07:27.738739813 +0000
-+++ b/src/plugins/intel_npu/src/backend/include/zero_infer_request.hpp	2025-01-30 17:07:56.759752802 +0000
+--- a/src/plugins/intel_npu/src/backend/include/zero_infer_request.hpp	2025-04-22 09:10:24.837226950 +0300
++++ b/src/plugins/intel_npu/src/backend/include/zero_infer_request.hpp	2025-04-22 09:10:41.016084607 +0300
 @@ -5,7 +5,7 @@
  #pragma once
  
@@ -112,8 +112,8 @@
  
  #include "intel_npu/common/npu.hpp"
  #include "intel_npu/common/sync_infer_request.hpp"
---- a/src/plugins/intel_npu/src/backend/include/zero_device.hpp	2025-01-30 17:09:06.727631829 +0000
-+++ b/src/plugins/intel_npu/src/backend/include/zero_device.hpp	2025-01-30 17:09:28.566273820 +0000
+--- a/src/plugins/intel_npu/src/backend/include/zero_device.hpp	2025-04-22 09:11:34.924583352 +0300
++++ b/src/plugins/intel_npu/src/backend/include/zero_device.hpp	2025-04-22 09:12:49.755738068 +0300
 @@ -5,7 +5,7 @@
  #pragma once
  
@@ -123,8 +123,8 @@
  
  #include "intel_npu/common/icompiled_model.hpp"
  #include "intel_npu/common/npu.hpp"
---- a/src/plugins/intel_npu/src/utils/include/intel_npu/utils/zero/zero_init.hpp	2025-01-30 17:11:23.387863315 +0000
-+++ b/src/plugins/intel_npu/src/utils/include/intel_npu/utils/zero/zero_init.hpp	2025-01-30 17:12:15.351004206 +0000
+--- a/src/plugins/intel_npu/src/utils/include/intel_npu/utils/zero/zero_init.hpp	2025-04-22 08:54:18.123636777 +0300
++++ b/src/plugins/intel_npu/src/utils/include/intel_npu/utils/zero/zero_init.hpp	2025-04-22 08:54:44.392999512 +0300
 @@ -5,9 +5,9 @@
  #pragma once
  
@@ -138,8 +138,8 @@
  
  #include <memory>
  
---- a/src/plugins/intel_npu/src/compiler_adapter/include/ze_graph_ext_wrappers.hpp	2025-01-30 17:15:30.489090023 +0000
-+++ b/src/plugins/intel_npu/src/compiler_adapter/include/ze_graph_ext_wrappers.hpp	2025-01-30 17:15:49.345658116 +0000
+--- a/src/plugins/intel_npu/src/compiler_adapter/include/ze_graph_ext_wrappers.hpp	2025-04-22 09:15:19.821223694 +0300
++++ b/src/plugins/intel_npu/src/compiler_adapter/include/ze_graph_ext_wrappers.hpp	2025-04-22 09:15:30.186617303 +0300
 @@ -5,7 +5,7 @@
  #pragma once
  
@@ -149,8 +149,8 @@
  
  #include <type_traits>
  #include <utility>
---- a/src/plugins/intel_npu/src/utils/include/intel_npu/utils/zero/zero_types.hpp	2025-01-30 17:17:34.037203346 +0000
-+++ b/src/plugins/intel_npu/src/utils/include/intel_npu/utils/zero/zero_types.hpp	2025-01-30 17:18:09.895394136 +0000
+--- a/src/plugins/intel_npu/src/utils/include/intel_npu/utils/zero/zero_types.hpp	2025-04-22 09:16:54.687791603 +0300
++++ b/src/plugins/intel_npu/src/utils/include/intel_npu/utils/zero/zero_types.hpp	2025-04-22 09:17:15.958572870 +0300
 @@ -5,9 +5,9 @@
  #pragma once
  
@@ -164,8 +164,8 @@
  
  #include <string_view>
  
---- a/src/plugins/intel_npu/src/utils/include/intel_npu/utils/zero/zero_utils.hpp	2025-01-30 17:19:01.314989832 +0000
-+++ b/src/plugins/intel_npu/src/utils/include/intel_npu/utils/zero/zero_utils.hpp	2025-01-30 17:19:17.921341207 +0000
+--- a/src/plugins/intel_npu/src/utils/include/intel_npu/utils/zero/zero_utils.hpp	2025-04-22 09:18:29.594493912 +0300
++++ b/src/plugins/intel_npu/src/utils/include/intel_npu/utils/zero/zero_utils.hpp	2025-04-22 09:18:42.216166698 +0300
 @@ -6,7 +6,7 @@
  
  #include <limits.h>
@@ -175,8 +175,8 @@
  
  #include "intel_npu/utils/logger/logger.hpp"
  #include "intel_npu/utils/zero/zero_api.hpp"
---- a/src/plugins/intel_npu/src/compiler_adapter/include/plugin_graph.hpp	2025-01-30 17:20:31.103798946 +0000
-+++ b/src/plugins/intel_npu/src/compiler_adapter/include/plugin_graph.hpp	2025-01-30 17:21:08.007054462 +0000
+--- a/src/plugins/intel_npu/src/compiler_adapter/include/plugin_graph.hpp	2025-04-22 09:23:42.150544550 +0300
++++ b/src/plugins/intel_npu/src/compiler_adapter/include/plugin_graph.hpp	2025-04-22 09:24:26.961320914 +0300
 @@ -6,7 +6,7 @@
  
  #pragma once
@@ -186,8 +186,8 @@
  
  #include "intel_npu/common/igraph.hpp"
  #include "intel_npu/icompiler.hpp"
---- a/src/plugins/intel_npu/src/compiler_adapter/include/driver_graph.hpp	2025-01-30 17:24:21.716872348 +0000
-+++ b/src/plugins/intel_npu/src/compiler_adapter/include/driver_graph.hpp	2025-01-30 17:24:43.017813607 +0000
+--- a/src/plugins/intel_npu/src/compiler_adapter/include/driver_graph.hpp	2025-04-22 09:26:36.769713083 +0300
++++ b/src/plugins/intel_npu/src/compiler_adapter/include/driver_graph.hpp	2025-04-22 09:27:38.382076030 +0300
 @@ -6,7 +6,7 @@
  
  #pragma once
@@ -197,12 +197,12 @@
  
  #include "intel_npu/common/igraph.hpp"
  #include "intel_npu/utils/zero/zero_init.hpp"
---- a/src/plugins/intel_npu/src/utils/src/zero/zero_init.cpp	2025-03-04 11:24:17.123534980 +0200
-+++ a/src/plugins/intel_npu/src/utils/src/zero/zero_init.cpp	2025-03-04 11:24:32.852289727 +0200
-@@ -5,7 +5,7 @@
+--- a/src/plugins/intel_npu/src/utils/src/zero/zero_init.cpp	2025-04-22 09:28:33.202081565 +0300
++++ b/src/plugins/intel_npu/src/utils/src/zero/zero_init.cpp	2025-04-22 09:31:04.864198534 +0300
+@@ -4,7 +4,7 @@
+ 
  #include "intel_npu/utils/zero/zero_init.hpp"
  
- #include <loader/ze_loader.h>
 -#include <ze_command_queue_npu_ext.h>
 +#include "ze_command_queue_npu_ext.h"
  

diff --git a/onednn-minimum-cmake-version.patch b/onednn-minimum-cmake-version.patch
deleted file mode 100644
index 7d6dd4a..0000000
--- a/onednn-minimum-cmake-version.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur a/src/plugins/intel_cpu/thirdparty/onednn/CMakeLists.txt b/src/plugins/intel_cpu/thirdparty/onednn/CMakeLists.txt
---- a/src/plugins/intel_cpu/thirdparty/onednn/CMakeLists.txt	2024-10-24 07:23:20.000000000 -0400
-+++ b/src/plugins/intel_cpu/thirdparty/onednn/CMakeLists.txt	2024-10-24 07:23:20.000000000 -0400
-@@ -14,7 +14,7 @@
- # limitations under the License.
- #===============================================================================
- 
--cmake_minimum_required(VERSION 2.8.12)
-+cmake_minimum_required(VERSION 2.8.12...3.5)
- 
- if(POLICY CMP0022)
-     cmake_policy(SET CMP0022 NEW)

diff --git a/onnx-frontend-enable.patch b/onnx-frontend-enable.patch
deleted file mode 100644
index 3d8ea0d..0000000
--- a/onnx-frontend-enable.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-diff -ur a/cmake/developer_package/frontends/frontends.cmake b/cmake/developer_package/frontends/frontends.cmake
---- a/cmake/developer_package/frontends/frontends.cmake	2024-11-09 01:14:37.000000000 -0500
-+++ b/cmake/developer_package/frontends/frontends.cmake	2024-11-09 01:14:37.000000000 -0500
-@@ -246,7 +246,7 @@
-             set(protobuf_target_name libprotobuf-lite)
-             set(protobuf_install_name "protobuf_lite_installed")
-         else()
--            set(protobuf_target_name libprotobuf)
-+            set(protobuf_target_name protobuf)
-             set(protobuf_install_name "protobuf_installed")
-         endif()
-         if(ENABLE_SYSTEM_PROTOBUF)
-diff -ur a/src/frontends/common/CMakeLists.txt b/src/frontends/common/CMakeLists.txt
---- a/src/frontends/common/CMakeLists.txt	2024-11-09 01:14:37.000000000 -0500
-+++ b/src/frontends/common/CMakeLists.txt	2024-11-09 01:14:37.000000000 -0500
-@@ -83,6 +83,6 @@
-         ${OV_CPACK_COMP_CORE_DEV_EXCLUDE_ALL})
- 
- # Shutdown protobuf library
--if(Protobuf_IN_FRONTEND AND BUILD_SHARED_LIBS)
-+if(BUILD_SHARED_LIBS)
-     add_subdirectory(shutdown_protobuf)
- endif()
-diff -ur a/src/frontends/common/shutdown_protobuf/CMakeLists.txt b/src/frontends/common/shutdown_protobuf/CMakeLists.txt
---- a/src/frontends/common/shutdown_protobuf/CMakeLists.txt	2024-11-09 01:14:37.000000000 -0500
-+++ b/src/frontends/common/shutdown_protobuf/CMakeLists.txt	2024-11-09 01:14:37.000000000 -0500
-@@ -9,7 +9,7 @@
- add_library(openvino::protobuf_shutdown ALIAS ${TARGET_NAME})
- set_target_properties(${TARGET_NAME} PROPERTIES EXPORT_NAME protobuf_shutdown)
- 
--target_include_directories(${TARGET_NAME} SYSTEM PRIVATE
--    $<BUILD_INTERFACE:$<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>>)
--set_target_properties(${TARGET_NAME} PROPERTIES INTERPROCEDURAL_OPTIMIZATION_RELEASE ${ENABLE_LTO})
--target_compile_features(${TARGET_NAME} PRIVATE $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_COMPILE_FEATURES>)
-+#target_include_directories(${TARGET_NAME} SYSTEM PRIVATE
-+#    $<BUILD_INTERFACE:$<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>>)
-+#set_target_properties(${TARGET_NAME} PROPERTIES INTERPROCEDURAL_OPTIMIZATION_RELEASE ${ENABLE_LTO})
-+#target_compile_features(${TARGET_NAME} PRIVATE $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_COMPILE_FEATURES>)
-diff -ur a/src/frontends/onnx/CMakeLists.txt b/src/frontends/onnx/CMakeLists.txt
---- a/src/frontends/onnx/CMakeLists.txt	2024-11-09 01:14:37.000000000 -0500
-+++ b/src/frontends/onnx/CMakeLists.txt	2024-11-09 01:14:37.000000000 -0500
-@@ -2,6 +2,11 @@
- # SPDX-License-Identifier: Apache-2.0
- #
- 
-+# TODO: Replace these with including the defs from ONNX's CMake files
-+add_definitions(-DONNX_NAMESPACE=onnx -DONNX_ML=1)
-+# TODO: The ONNX frontend uses functions only available in -std=c++17
-+add_compile_options(-std=c++17)
-+
- add_subdirectory(onnx_common)
- add_subdirectory(frontend)
- 

diff --git a/openvino.spec b/openvino.spec
index f9cd357..a029835 100644
--- a/openvino.spec
+++ b/openvino.spec
@@ -1,4 +1,4 @@
-%define so_ver 2500
+%define so_ver 2510
 %global desc %{expand: \
 OpenVINO is an open-source toolkit for optimizing and deploying deep learning
 models from cloud to edge. It accelerates deep learning inference across
@@ -6,7 +6,7 @@ various use cases, such as generative AI, video, audio, and language with
 models from popular frameworks like PyTorch, TensorFlow, ONNX, and more.}
 
 Name:		openvino
-Version:	2025.0.0
+Version:	2025.1.0
 Release:	%autorelease
 Summary:	Toolkit for optimizing and deploying AI inference
 
@@ -40,30 +40,33 @@ Summary:	Toolkit for optimizing and deploying AI inference
 License:	Apache-2.0 AND MIT AND BSL-1.0 AND HPND AND BSD-3-Clause AND (GPL-2.0-only OR BSD-3-Clause)
 URL:		https://github.com/openvinotoolkit/openvino
 Source0:	%url/archive/%{version}/%{name}-%{version}.tar.gz
-Source1:	https://github.com/openvinotoolkit/oneDNN/archive/1789b1e0ae441de15d793123003a900a35d1dc71/onednn-1789b1e.tar.gz
+Source1:	https://github.com/openvinotoolkit/oneDNN/archive/5baba714e16e11309774a62783f363cad30e97c7/onednn-5baba71.tar.gz
 Source2:	https://github.com/openvinotoolkit/mlas/archive/d1bc25ec4660cddd87804fcf03b2411b5dfb2e94/mlas-d1bc25e.tar.gz
-Source3:	https://github.com/intel/level-zero-npu-extensions/archive/110f48ee8eda22d8b40daeeecdbbed0fc3b08f8b/level-zero-npu-extensions-110f48e.tar.gz
+Source3:	https://github.com/intel/level-zero-npu-extensions/archive/c0156a3390ae39671ff8f2a6f5471f04bb65bb12/level-zero-npu-extensions-c0156a3.tar.gz
 Source4:	dependencies.cmake
 Source5:	pyproject.toml
 
 Patch0:		openvino-fedora.patch
 Patch1:		npu-level-zero.patch
-Patch2:		onnx-frontend-enable.patch
-# Fix the oneDNN build on CMake 4.0.0 and later
-Patch3:		onednn-minimum-cmake-version.patch
 
 ExclusiveArch:	x86_64
 
 BuildRequires:	cmake
+BuildRequires:	gcc
 BuildRequires:	gcc-c++
 BuildRequires:	gflags-devel
+BuildRequires:	glibc-devel
+BuildRequires:	json-devel
 BuildRequires:	oneapi-level-zero-devel
+BuildRequires:	openblas-devel
 BuildRequires:	patchelf
 BuildRequires:	pugixml-devel
 BuildRequires:	pybind11-devel
 BuildRequires:	python3-devel
+BuildRequires:	python3-onnx
 BuildRequires:	python3-pip
 BuildRequires:	python3-setuptools
+BuildRequires:	python3-pytest
 BuildRequires:	python3-wheel
 BuildRequires:	numpy
 BuildRequires:	zlib-ng-compat-devel
@@ -187,9 +190,12 @@ sed -i '/#include <memory>.*/a#include <cstdint>' src/plugins/intel_npu/tools/pr
 %build
 %cmake \
 	-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+	-DCMAKE_POLICY_VERSION_MINIMUM="3.5.0" \
 	-DCMAKE_CXX_FLAGS="%{optflags} -Wformat -Wformat-security" \
-	-DENABLE_CLANG_FORMAT=OFF \
 	-DCMAKE_COMPILE_WARNING_AS_ERROR=OFF \
+	-DENABLE_CLANG_FORMAT=OFF \
+	-DENABLE_PRECOMPILED_HEADERS=OFF \
+	-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON \
 	-DENABLE_QSPECTRE=OFF \
 	-DENABLE_INTEGRITYCHECK=OFF \
 	-DENABLE_SANITIZER=OFF \
@@ -236,7 +242,10 @@ sed -i '/#include <memory>.*/a#include <cstdint>' src/plugins/intel_npu/tools/pr
 	-DENABLE_SYSTEM_LIBS_DEFAULT=ON \
 	-DENABLE_SYSTEM_OPENCL=ON \
 	-DENABLE_SYSTEM_PUGIXML=ON \
-	-DENABLE_SYSTEM_PROTOBUF=OFF \
+	-DENABLE_SYSTEM_PROTOBUF=ON \
+	-DProtobuf_LIBRARIES=%{_libdir} \
+	-DProtobuf_INCLUDE_DIRS=%{_includedir} \
+	-DProtobuf_USE_STATIC_LIBS=OFF \
 	-DTHREADING=TBB \
 	-DENABLE_SYSTEM_TBB=ON \
 	-DTBB_LIB_INSTALL_DIR=%{_libdir} \
@@ -245,6 +254,7 @@ sed -i '/#include <memory>.*/a#include <cstdint>' src/plugins/intel_npu/tools/pr
 	-DENABLE_SAMPLES=OFF \
 	-DENABLE_TESTS=OFF \
 	-DBUILD_SHARED_LIBS=ON \
+	-DBLAS_LIBRARIES=%{_libdir} \
 %cmake_build
 
 %install
@@ -259,6 +269,8 @@ mkdir -p -m 755 %{buildroot}%{_datadir}/%{name}
 %check
 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir} PYTHONPATH=%{buildroot}%{python3_sitearch} %{python3} samples/python/hello_query_device/hello_query_device.py
 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir} PYTHONPATH=%{buildroot}%{python3_sitearch} %{python3} samples/python/model_creation_sample/model_creation_sample.py samples/python/model_creation_sample/lenet.bin CPU
+# onnx-tests
+LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir} PYTHONPATH=%{buildroot}%{python3_sitearch}:src/frontends/onnx %pytest -v src/frontends/onnx/tests/tests_python/test_frontend_onnx*
 
 %files
 %license LICENSE

diff --git a/pyproject.toml b/pyproject.toml
index 4f0e329..7e18195 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [project]
 name = "openvino"
-version = "2025.0.0"
+version = "2025.1.0"
 dependencies = [
   "numpy>1.16.6",
   "packaging",

diff --git a/sources b/sources
index bd59e8c..4d1b416 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (openvino-2025.0.0.tar.gz) = a40636fbed5b306dc6eb26311ccd6298763a2ede28d8ccce75e6d99f13747d42d1bd9fede8fa225e23fd70f81fbb522ab5076edc08898ca33fc9ffa69b7c2e1a
-SHA512 (onednn-1789b1e.tar.gz) = 32ef59542d8e2286b9b201dc94254f4b3b0c561446f05720e9ce7ce14a08fc40b331d765764d85f953cc3ca774b3e1c4f9a75b505aea285c3e18cae1a3c117cc
+SHA512 (openvino-2025.1.0.tar.gz) = ae3432e9caf5df1ec292a029c3708a294447070fa02ef1be084264cdc1f21711d0ced8fdb198ea2597bb75f9742efcb4a978517e7bb4baa1bcd67d2c05395501
+SHA512 (onednn-5baba71.tar.gz) = 72f1a11623f8cabb2605eb734b891f36b16876ac7c940947807c4d574c7e6031dd064de5ebc7d2042c02989c1f38b55499d8c16d70a52d35dfbe74047d0ea3ce
 SHA512 (mlas-d1bc25e.tar.gz) = 8d6dd319924135b7b22940d623305bf200b812ae64cde79000709de4fad429fbd43794301ef16e6f10ed7132777b7a73e9f30ecae7c030aea80d57d7c0ce4500
-SHA512 (level-zero-npu-extensions-110f48e.tar.gz) = aaaeecad6c00489b652cd94d63ed0c1e59eb0eaed8b463198b40f1af3944004b072808ccc3074b71d825e9f0f37bf76fedf296961bb18959ef66a699b71fec41 
+SHA512 (level-zero-npu-extensions-c0156a3.tar.gz) = 33ebdaec13dd05d6cf51e79f0e91a3c68621c428061423e243eb998c9ebe123ee90f6b4edc749d7fa2206c729058afff945177e8c90a05d36220f076e067c22c

                 reply	other threads:[~2026-06-11 16:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178119425312.1.14634112470665158898.rpms-openvino-d30d816b7e9a@fedoraproject.org \
    --to=aekoroglu@linux.intel.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox