public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Diego Herrera <dherrera@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/openvino] f45: Build with onnx-1.21.0 and protobuf6
Date: Sat, 29 Aug 2026 06:19:44 GMT	[thread overview]
Message-ID: <178798438492.1.4529101077379882370.rpms-openvino-50675f8ed7e4@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/openvino
Branch : f45
Commit : 50675f8ed7e43a4b9ab39a037af3597d8997a5d3
Author : Diego Herrera <dherrera@redhat.com>
Date   : 2026-08-01T23:02:24+00:00
Stats  : +10/-10 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/openvino/c/50675f8ed7e43a4b9ab39a037af3597d8997a5d3?branch=f45

Log:
Build with onnx-1.21.0 and protobuf6

---
diff --git a/openvino.spec b/openvino.spec
index 10a0efc..a50cfb4 100644
--- a/openvino.spec
+++ b/openvino.spec
@@ -54,7 +54,7 @@ BuildRequires:  onnx-devel
 BuildRequires:  opencl-headers
 BuildRequires:  pkgconfig(OpenCL)
 %if 0%{?fedora} > 44
-BuildRequires:  protobuf3-devel
+BuildRequires:  protobuf-devel >= 4
 %else
 BuildRequires:  protobuf-devel
 %endif

diff --git a/protobuf_version.patch b/protobuf_version.patch
index 61ba309..f033de4 100644
--- a/protobuf_version.patch
+++ b/protobuf_version.patch
@@ -1,13 +1,13 @@
 diff --git a/thirdparty/dependencies.cmake b/thirdparty/dependencies.cmake
-index 14ee8f56ef..504580a635 100644
+index ac5ebe105c..36542e8fe5 100644
 --- a/thirdparty/dependencies.cmake
 +++ b/thirdparty/dependencies.cmake
-@@ -371,7 +371,7 @@ if(ENABLE_OV_PADDLE_FRONTEND OR ENABLE_OV_ONNX_FRONTEND OR ENABLE_OV_TF_FRONTEND
-                 set(protobuf_config CONFIG)
-             endif()
-             # otherwise, fallback to existing default
--            find_package(Protobuf 3.20.3 REQUIRED ${protobuf_config})
-+            find_package(Protobuf 3.19.6 REQUIRED ${protobuf_config})
+@@ -376,7 +376,7 @@ if(ENABLE_OV_PADDLE_FRONTEND OR ENABLE_OV_ONNX_FRONTEND OR ENABLE_OV_TF_FRONTEND
+         # try to find newer version first (major is changed)
+         # see https://protobuf.dev/support/version-support/ and
+         # https://github.com/protocolbuffers/protobuf/commit/d61f75ff6db36b4f9c0765f131f8edc2f86310fa
+-        find_package(Protobuf 5.26.0 QUIET CONFIG)
++        find_package(Protobuf CONFIG)
+         if(NOT Protobuf_FOUND)
+             find_package(Protobuf 4.22.0 QUIET CONFIG)
          endif()
- 
-         # with newer protobuf versions (4.22 and newer), we use CONFIG first

                 reply	other threads:[~2026-08-29  6:19 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=178798438492.1.4529101077379882370.rpms-openvino-50675f8ed7e4@fedoraproject.org \
    --to=dherrera@redhat.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