public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/openvino] origin/pr/8/head: enable intel_gpu plugin
@ 2026-06-11 16:10 Ali Erdinc Koroglu
0 siblings, 0 replies; only message in thread
From: Ali Erdinc Koroglu @ 2026-06-11 16:10 UTC (permalink / raw)
To: git-commits
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}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-11 16:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-11 16:10 [rpms/openvino] origin/pr/8/head: enable intel_gpu plugin Ali Erdinc Koroglu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox