public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libabigail] rawhide: Build with inline xxhash on RHEL
Date: Tue, 10 Nov 2026 10:02:08 GMT	[thread overview]
Message-ID: <179430492824.1.9426159164557852421.rpms-libabigail-c89caba7ec82@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/libabigail
            Branch : rawhide
            Commit : c89caba7ec828c406fcbd6259b5367e4b97acbef
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-11-09T20:23:25-05:00
            Stats  : +9/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/libabigail/c/c89caba7ec828c406fcbd6259b5367e4b97acbef?branch=rawhide

            Log:
            Build with inline xxhash on RHEL

xxhash is buildroot-only since RHEL 10.

https://gitlab.com/redhat/centos-stream/rpms/libabigail/-/merge_requests/22

---
diff --git a/libabigail.spec b/libabigail.spec
index d7b75c2..87ba665 100644
--- a/libabigail.spec
+++ b/libabigail.spec
@@ -1,12 +1,13 @@
 # dependencies are not available in RHEL
 %bcond abidb %{undefined rhel}
+%bcond inline_xxh %{defined rhel}
 
 %global tarball_revision 1
 %global tarball_name %{name}-%{version}
 
 Name: libabigail
 Version: 3.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: Set of ABI analysis tools
 
 License: Apache-2.0 WITH LLVM-exception
@@ -24,6 +25,9 @@ BuildRequires: elfutils-devel >= 0.197
 BuildRequires: tbb-devel
 BuildRequires: libxml2-devel
 BuildRequires: xxhash-devel
+%if %{with inline_xxh}
+BuildRequires: xxhash-static
+%endif
 BuildRequires: xz-devel >= 5.2.0
 BuildRequires: doxygen
 BuildRequires: python3-sphinx
@@ -116,7 +120,7 @@ them manually.
 %autosetup -v -S git
 
 %build
-%configure %{?with_abidb:--enable-abidb} --enable-ctf --enable-btf --disable-silent-rules --disable-zip-archive --disable-static
+%configure %{?with_abidb:--enable-abidb} %{?with_inline_xxh:--enable-inlined-xxhash} --enable-ctf --enable-btf --disable-silent-rules --disable-zip-archive --disable-static
 make %{?_smp_mflags}
 pushd doc
 make html-doc
@@ -181,6 +185,9 @@ time make %{?_smp_mflags} check-self-compare || (cat tests/test-suite.log && exi
 %endif
 
 %changelog
+* Tue Nov 10 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 3.0-3
+- Build with inline xxhash on RHEL
+
 * Mon Nov 2 2026 Dodji Seketeli <dodji@seketeli.org> - 3.0-2
 - Apply several fixes that are in Git, on top of Libabigail 3.0:
   - https://sourceware.org/cgit/libabigail/commit/?id=e3dd2aeb4aa4744abcfb47e8c8d052b0413b5712

                 reply	other threads:[~2026-11-10 10:02 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=179430492824.1.9426159164557852421.rpms-libabigail-c89caba7ec82@fedoraproject.org \
    --to=yselkowi@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