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: Enable intel_npu protopipe and single-image-test tools (req. OpenCV G-API)
Date: Thu, 11 Jun 2026 16:10:51 GMT	[thread overview]
Message-ID: <178119425170.1.13149243717730621555.rpms-openvino-de6c16ab05dd@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/openvino
Branch : origin/pr/8/head
Commit : de6c16ab05dd70109fd4e15bcb0937a90bded1d7
Author : Ali Erdinc Koroglu <aekoroglu@linux.intel.com>
Date   : 2025-03-10T14:29:59+02:00
Stats  : +58/-47 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/openvino/c/de6c16ab05dd70109fd4e15bcb0937a90bded1d7?branch=origin/pr/8/head

Log:
Enable intel_npu protopipe and single-image-test tools (req. OpenCV G-API)

---
diff --git a/28039.patch b/28039.patch
deleted file mode 100644
index e702295..0000000
--- a/28039.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 5e23f2a09c530834d4ea41f9901921c61da3381d Mon Sep 17 00:00:00 2001
-From: h6197627 <44726212+h6197627@users.noreply.github.com>
-Date: Wed, 11 Dec 2024 17:42:44 +0200
-Subject: [PATCH] [PyOV] update numpy <2.3.0
-
----
- src/bindings/python/constraints.txt  | 2 +-
- src/bindings/python/requirements.txt | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/bindings/python/constraints.txt b/src/bindings/python/constraints.txt
-index cc1d4514b7bbfe..4d65603a5323ab 100644
---- a/src/bindings/python/constraints.txt
-+++ b/src/bindings/python/constraints.txt
-@@ -1,5 +1,5 @@
- # used in multiple components
--numpy>=1.16.6,<2.2.0  # Python bindings, frontends
-+numpy>=1.16.6,<2.3.0  # Python bindings, frontends
- 
- # pytest
- pytest>=5.0,<8.4
-diff --git a/src/bindings/python/requirements.txt b/src/bindings/python/requirements.txt
-index a2d63161fe764c..febb91d5ecee55 100644
---- a/src/bindings/python/requirements.txt
-+++ b/src/bindings/python/requirements.txt
-@@ -1,3 +1,3 @@
--numpy>=1.16.6,<2.2.0
-+numpy>=1.16.6,<2.3.0
- openvino-telemetry>=2023.2.1
- packaging

diff --git a/npu-level-zero.patch b/npu-level-zero.patch
index ba1d331..de6dfe3 100644
--- a/npu-level-zero.patch
+++ b/npu-level-zero.patch
@@ -17,6 +17,57 @@
 -        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 @@
+ #
+ 
+ install(TARGETS ${TARGET_NAME}
+-        RUNTIME DESTINATION "tools/${TARGET_NAME}"
++        RUNTIME DESTINATION "bin"
+         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/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 @@
+ #
+ 
+ install(TARGETS ${TARGET_NAME}
+-        RUNTIME DESTINATION "tools/${TARGET_NAME}"
++        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 @@
+ #
+ 
+ install(TARGETS ${TARGET_NAME}
+-        RUNTIME DESTINATION "tools/${TARGET_NAME}"
++        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
 @@ -5,7 +5,7 @@
@@ -157,20 +208,3 @@
  
  #include <regex>
  
---- 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 @@
- #
- 
- install(TARGETS ${TARGET_NAME}
--        RUNTIME DESTINATION "tools/${TARGET_NAME}"
-+        RUNTIME DESTINATION "bin"
-         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()

diff --git a/openvino.spec b/openvino.spec
index 2b63144..9ec4a2b 100644
--- a/openvino.spec
+++ b/openvino.spec
@@ -72,10 +72,13 @@ BuildRequires:	yaml-cpp-devel
 BuildRequires:	tbb-devel
 BuildRequires:	onnx-devel
 BuildRequires:	protobuf-devel
+BuildRequires:	opencv-devel
 # forked version of OpenVINO oneDNN does not have a proper version
 Provides:	bundled(onednn)
 # MLAS upstream does not have any release
 Provides:	bundled(mlas)
+# level-zero-npu-extensions upstream does not have any release
+Provides:	bundled(level-zero-npu-extensions)
 Requires:	lib%{name}-ir-frontend = %{version}
 Requires:	lib%{name}-pytorch-frontend = %{version}
 Requires:	lib%{name}-onnx-frontend = %{version}
@@ -173,6 +176,8 @@ sed -i '/#include <utility>.*/a#include <cstdint>' src/plugins/intel_cpu/src/uti
 sed -i '/#include <vector>.*/a#include <cstdint>' src/plugins/intel_npu/src/plugin/npuw/partitioning/online/graph.hpp
 sed -i '/#include <vector>.*/a#include <cstdint>' src/plugins/intel_npu/src/plugin/npuw/serialization.hpp
 sed -i '/#include <memory>.*/a#include <cstdint>' src/plugins/intel_cpu/src/utils/enum_class_hash.hpp
+sed -i '/#include <vector>.*/a#include <cstdint>' src/plugins/intel_npu/tools/protopipe/src/graph.hpp
+sed -i '/#include <memory>.*/a#include <cstdint>' src/plugins/intel_npu/tools/protopipe/src/scenario/criterion.hpp
 
 %build
 %cmake \
@@ -273,6 +278,8 @@ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir} PYTHONPATH=%{buildroot}%
 %{_libdir}/%{name}-%{version}/lib%{name}_intel_cpu_plugin.so
 %{_libdir}/%{name}-%{version}/lib%{name}_intel_npu_plugin.so
 %{_bindir}/compile_tool
+%{_bindir}/protopipe
+%{_bindir}/single-image-test
 
 %files -n lib%{name}-ir-frontend
 %{_libdir}/lib%{name}_ir_frontend.so.%{version}

                 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=178119425170.1.13149243717730621555.rpms-openvino-de6c16ab05dd@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