public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/onnx] main: Build with static Protobuf
@ 2026-06-28 6:06 Diego Herrera
0 siblings, 0 replies; only message in thread
From: Diego Herrera @ 2026-06-28 6:06 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/onnx
Branch : main
Commit : 3c01b22b77c1e32ba46bdc530a1de31eb035fa4d
Author : Diego Herrera <dherrera@redhat.com>
Date : 2026-06-28T02:04:12-04:00
Stats : +3/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/onnx/c/3c01b22b77c1e32ba46bdc530a1de31eb035fa4d?branch=main
Log:
Build with static Protobuf
---
diff --git a/onnx.spec b/onnx.spec
index ef0e8a5..08b73ea 100644
--- a/onnx.spec
+++ b/onnx.spec
@@ -31,6 +31,7 @@ BuildRequires: python3-pytest
BuildRequires: python3-nanobind
BuildRequires: python3-ml-dtypes
BuildRequires: protobuf-devel
+BuildRequires: protobuf-static
%global _description %{expand:
%{name} provides an open source format for AI models, both deep learning and
@@ -46,7 +47,7 @@ Summary: Libraries for %{name}
%package devel
Summary: Development files for %{name}
-Requires: %{name}-libs = %{version}-%{release}
+Requires: %{name}-libs = %{version}-%{release}
%description devel %_description
@@ -66,7 +67,7 @@ Requires: %{name}-libs = %{version}-%{release}
export VPATH_BUILDDIR=%{_vpath_builddir}
%cmake \
-DONNX_USE_LITE_PROTO=OFF \
- -DONNX_USE_PROTOBUF_SHARED_LIBS=ON \
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=OFF \
-DONNX_BUILD_PYTHON=ON \
-DPython_EXECUTABLE=python3.14 \
-DPY_EXT_SUFFIX=%{python3_ext_suffix} \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-28 6:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-28 6:06 [rpms/onnx] main: Build with static Protobuf Diego Herrera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox