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_gpu plugin
Date: Thu, 11 Jun 2026 16:10:52 GMT	[thread overview]
Message-ID: <178119425219.1.2757039787308920959.rpms-openvino-726a833aee3c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/openvino
Branch : origin/pr/8/head
Commit : 726a833aee3c1733c6a20f7c7b0a9fdbb90861d1
Author : Ali Erdinc Koroglu <aekoroglu@linux.intel.com>
Date   : 2025-03-17T21:14:55+02:00
Stats  : +25/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/openvino/c/726a833aee3c1733c6a20f7c7b0a9fdbb90861d1?branch=origin/pr/8/head

Log:
enable intel_gpu plugin

---
diff --git a/openvino-fedora.patch b/openvino-fedora.patch
index 901c849..642cb34 100644
--- a/openvino-fedora.patch
+++ b/openvino-fedora.patch
@@ -90,3 +90,18 @@
  includedir=${include_prefix}
  
  Name: OpenVINO
+--- a/src/plugins/intel_gpu/CMakeLists.txt	2025-03-17 18:30:04.844696856 +0200
++++ b/src/plugins/intel_gpu/CMakeLists.txt	2025-03-17 18:30:35.623976711 +0200
+@@ -63,9 +63,9 @@
+ add_subdirectory(thirdparty)
+ include(thirdparty/cmake/rapidjson.cmake)
+ 
+-if(CMAKE_COMPILER_IS_GNUCXX)
+-    ov_add_compiler_flags(-Werror)
+-endif()
++#if(CMAKE_COMPILER_IS_GNUCXX)
++#    ov_add_compiler_flags(-Werror)
++#endif()
+ 
+ add_subdirectory(src/runtime)
+ add_subdirectory(src/kernel_selector)

diff --git a/openvino.spec b/openvino.spec
index 9ec4a2b..c77dd6f 100644
--- a/openvino.spec
+++ b/openvino.spec
@@ -73,6 +73,8 @@ BuildRequires:	tbb-devel
 BuildRequires:	onnx-devel
 BuildRequires:	protobuf-devel
 BuildRequires:	opencv-devel
+BuildRequires:	OpenCL-ICD-Loader-devel
+BuildRequires:	opencl-headers
 # forked version of OpenVINO oneDNN does not have a proper version
 Provides:	bundled(onednn)
 # MLAS upstream does not have any release
@@ -159,6 +161,9 @@ rm -rf src/plugins/intel_npu/thirdparty/yaml-cpp
 tar xf %{SOURCE3}
 cp -r level-*/* src/plugins/intel_npu/thirdparty/level-zero-ext
 
+# intel-gpu-plugin cache.json
+sed -i -e 's|CACHE_JSON_INSTALL_DIR ${OV_CPACK_PLUGINSDIR}|CACHE_JSON_INSTALL_DIR %{_datadir}/%{name}|g' src/plugins/intel_gpu/src/kernel_selector/CMakeLists.txt
+
 # python:prep
 sed -i '/openvino-telemetry/d' src/bindings/python/requirements.txt
 cp %{SOURCE5} src/bindings/python
@@ -209,7 +214,7 @@ sed -i '/#include <memory>.*/a#include <cstdint>' src/plugins/intel_npu/tools/pr
 	-DENABLE_MLAS_FOR_CPU=ON \
 	-DENABLE_MLAS_FOR_CPU_DEFAULT=ON \
 	-DENABLE_INTEL_GNA=OFF \
-	-DENABLE_INTEL_GPU=OFF \
+	-DENABLE_INTEL_GPU=ON \
 	-DENABLE_SYSTEM_LEVEL_ZERO=ON \
 	-DENABLE_INTEL_NPU=ON \
 	-DENABLE_NPU_PLUGIN_ENGINE=ON \
@@ -228,7 +233,7 @@ sed -i '/#include <memory>.*/a#include <cstdint>' src/plugins/intel_npu/tools/pr
 	-DENABLE_WHEEL=OFF \
 	-DENABLE_JS=OFF \
 	-DENABLE_SYSTEM_LIBS_DEFAULT=ON \
-	-DENABLE_SYSTEM_OPENCL=OFF \
+	-DENABLE_SYSTEM_OPENCL=ON \
 	-DENABLE_SYSTEM_PUGIXML=ON \
 	-DENABLE_SYSTEM_PROTOBUF=OFF \
 	-DTHREADING=TBB \
@@ -248,6 +253,7 @@ export WHEEL_VERSION=%{version}
 %{python3} src/bindings/python/wheel/setup.py dist_info -o %{buildroot}/%{python3_sitearch}
 rm -v %{buildroot}/%{python3_sitearch}/requirements.txt
 rm -v %{buildroot}/%{python3_sitearch}/%{name}/preprocess/torchvision/requirements.txt
+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
@@ -276,10 +282,12 @@ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir} PYTHONPATH=%{buildroot}%
 %{_libdir}/%{name}-%{version}/lib%{name}_auto_batch_plugin.so
 %{_libdir}/%{name}-%{version}/lib%{name}_hetero_plugin.so
 %{_libdir}/%{name}-%{version}/lib%{name}_intel_cpu_plugin.so
+%{_libdir}/%{name}-%{version}/lib%{name}_intel_gpu_plugin.so
 %{_libdir}/%{name}-%{version}/lib%{name}_intel_npu_plugin.so
 %{_bindir}/compile_tool
 %{_bindir}/protopipe
 %{_bindir}/single-image-test
+%{_datadir}/%{name}
 
 %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=178119425219.1.2757039787308920959.rpms-openvino-726a833aee3c@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