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/onnx] main: Build with static Protobuf
Date: Sun, 28 Jun 2026 06:06:07 GMT	[thread overview]
Message-ID: <178262676768.1.2597166546262368013.rpms-onnx-3c01b22b77c1@fedoraproject.org> (raw)

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} \

                 reply	other threads:[~2026-06-28  6:06 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=178262676768.1.2597166546262368013.rpms-onnx-3c01b22b77c1@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