public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/openvino] f45: Build with onnx-1.21.0 and protobuf6
@ 2026-08-29 6:19 Diego Herrera
0 siblings, 0 replies; only message in thread
From: Diego Herrera @ 2026-08-29 6:19 UTC (permalink / raw)
To: git-commits
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
^ 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: Build with onnx-1.21.0 and protobuf6 Diego Herrera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox