public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/openvino] f45: FTBFS fix (rhbz#2505460)
@ 2026-08-29  6:19 Ali Erdinc Koroglu
  0 siblings, 0 replies; only message in thread
From: Ali Erdinc Koroglu @ 2026-08-29  6:19 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/openvino
Branch : f45
Commit : cf9f02f8bcd8474ccfcd662185efd877b27aee64
Author : Ali Erdinc Koroglu <ali.koroglu@oss.qualcomm.com>
Date   : 2026-08-27T18:15:22+03:00
Stats  : +18/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/openvino/c/cf9f02f8bcd8474ccfcd662185efd877b27aee64?branch=f45

Log:
FTBFS fix (rhbz#2505460)

---
diff --git a/opencl-clhpp-deprecated-macro.patch b/opencl-clhpp-deprecated-macro.patch
new file mode 100644
index 0000000..89c05a0
--- /dev/null
+++ b/opencl-clhpp-deprecated-macro.patch
@@ -0,0 +1,14 @@
+--- a/src/plugins/intel_gpu/src/runtime/ocl/ocl_wrapper.hpp	2026-08-27 16:57:03.609950756 +0300
++++ b/src/plugins/intel_gpu/src/runtime/ocl/ocl_wrapper.hpp	2026-08-27 16:57:03.613021667 +0300
+@@ -72,7 +72,10 @@
+ 
+ #include "ocl_ext.hpp"
+ 
+-#if CL_HPP_TARGET_OPENCL_VERSION >= 200 && CL_HPP_MINIMUM_OPENCL_VERSION >= 200
++// Newer OpenCL-CLHPP releases dropped CL_HPP_PARAM_NAME_INFO_1_1_DEPRECATED_IN_2_0_ and instead
++// declare CL_DEVICE_HOST_UNIFIED_MEMORY unconditionally via CL_HPP_PARAM_NAME_INFO_1_1_, so only
++// re-declare it here when the older macro is still present to avoid a hard compile error.
++#if CL_HPP_TARGET_OPENCL_VERSION >= 200 && CL_HPP_MINIMUM_OPENCL_VERSION >= 200 && defined(CL_HPP_PARAM_NAME_INFO_1_1_DEPRECATED_IN_2_0_)
+ namespace cl {
+ namespace detail {
+ CL_HPP_PARAM_NAME_INFO_1_1_DEPRECATED_IN_2_0_(CL_HPP_DECLARE_PARAM_TRAITS_)

diff --git a/openvino.spec b/openvino.spec
index a50cfb4..5e97f6e 100644
--- a/openvino.spec
+++ b/openvino.spec
@@ -39,6 +39,10 @@ Patch3: pybind11-call_guard-compat-3x.patch
 %else
 Patch3: pybind11-call_guard-compat.patch
 %endif
+# Fedora's opencl-headers package now snapshots a newer OpenCL-CLHPP release
+# that dropped the CL_HPP_PARAM_NAME_INFO_1_1_DEPRECATED_IN_2_0_ macro 
+# OpenVINO's GPU plugin relied on.
+Patch4: opencl-clhpp-deprecated-macro.patch
 
 ExclusiveArch:  x86_64
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-29  6:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-29  6:19 [rpms/openvino] f45: FTBFS fix (rhbz#2505460) 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