public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Matthew Krupcale <mkrupcale@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/google-benchmark] rawhide: Add Requires: libpfm-devel on google-benchmark-devel
Date: Thu, 06 Aug 2026 05:52:02 GMT	[thread overview]
Message-ID: <178599552210.1.7860906428122004826.rpms-google-benchmark-84bfdd9e3590@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/google-benchmark
            Branch : rawhide
            Commit : 84bfdd9e3590e0c931c0c5fe0d2b284d6e0fb7ac
            Author : Matthew Krupcale <mkrupcale@gmail.com>
            Date   : 2026-08-05T21:14:21-04:00
            Stats  : +3/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/google-benchmark/c/84bfdd9e3590e0c931c0c5fe0d2b284d6e0fb7ac?branch=rawhide

            Log:
            Add Requires: libpfm-devel on google-benchmark-devel

CMake find_package(benchmark) may fail to find benchmark with only
google-benchmark-devel installed:

-- Could NOT find PFM (missing: PFM_LIBRARY PFM_INCLUDE_DIR)
CMake Warning at bench/CMakeLists.txt:1 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/benchmark/benchmarkConfig.cmake

  but it set benchmark_FOUND to FALSE so package "benchmark" is considered to
  be NOT FOUND.  Reason given by package:

  benchmark could not be found because dependency PFM could not be found.

So add Requires: libpfm-devel on google-benchmark-devel as well.

* google-benchmark.spec: add Requires: libpfm-devel on google-benchmark-devel

---
diff --git a/google-benchmark.spec b/google-benchmark.spec
index 19e36c2..266233c 100644
--- a/google-benchmark.spec
+++ b/google-benchmark.spec
@@ -93,6 +93,9 @@ A library to support the benchmarking of functions, similar to unit-tests.
 Summary:        Development files for %{name}
 
 Requires:       %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
+%if %{with libpfm}
+Requires:       libpfm-devel
+%endif
 # Removed for Fedora 43; we can drop the Obsoletes after Fedora 45.
 Obsoletes:      %{name}-doc < 1.9.4-9
 

                 reply	other threads:[~2026-08-06  5:52 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=178599552210.1.7860906428122004826.rpms-google-benchmark-84bfdd9e3590@fedoraproject.org \
    --to=mkrupcale@gmail.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