public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ali Erdinc Koroglu <ali.koroglu@oss.qualcomm.com>
To: git-commits@fedoraproject.org
Subject: [rpms/openvino] rawhide: FTBFS fix (rhbz#2505460)
Date: Thu, 27 Aug 2026 15:15:42 GMT	[thread overview]
Message-ID: <178784374206.1.12128591736305495288.rpms-openvino-cf9f02f8bcd8@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/openvino
Branch : rawhide
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=rawhide

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
 

                 reply	other threads:[~2026-08-27 15:15 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=178784374206.1.12128591736305495288.rpms-openvino-cf9f02f8bcd8@fedoraproject.org \
    --to=ali.koroglu@oss.qualcomm.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