public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dave Love <loveshack@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/scorep] rawhide: Fix using roctrace
Date: Tue, 21 Jul 2026 08:15:22 GMT [thread overview]
Message-ID: <178462172299.1.10170942288990702200.rpms-scorep-f405491b4655@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/scorep
Branch : rawhide
Commit : f405491b46555ed9d75953be2c7751676e93431f
Author : Dave Love <loveshack@fedoraproject.org>
Date : 2026-07-21T08:15:09+00:00
Stats : +9/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/scorep/c/f405491b46555ed9d75953be2c7751676e93431f?branch=rawhide
Log:
Fix using roctrace
---
diff --git a/scorep.spec b/scorep.spec
index ea6e599..48b10bf 100644
--- a/scorep.spec
+++ b/scorep.spec
@@ -1,3 +1,10 @@
+%global useroc 0
+%ifarch x86_64
+%if 0%{?fedora} || 0%{?rhel} >= 10
+%global useroc 1
+%endif
+%endif
+
Name: scorep
Version: 10.0
Release: 1%{?dist}
@@ -26,7 +33,7 @@ BuildRequires: clang-devel
BuildRequires: automake libtool
BuildRequires: libunwind-devel
BuildRequires: gotcha-devel%{?_isa} >= 1.0.5
-%if 0%{?fedora} || 0%{?rhel} >= 10
+%if %useroc
BuildRequires: roctracer-devel
%endif
BuildRequires: libzstd-devel
@@ -186,7 +193,7 @@ popd
%global _configure ../configure
# Fixme: --disable-silent-rules or V=1 doesn't work in all parts of the build
-%global configure_opts --enable-shared --disable-static --disable-silent-rules --with-libunwind=yes --with-libroctracer64=yes
+%global configure_opts --enable-shared --disable-static --disable-silent-rules --with-libunwind=yes %{useroc:--with-libroctracer64=yes}
# Workaround for #2493579
export LIBBFD_EXTRA_LIBS=-lzstd
reply other threads:[~2026-07-21 8:15 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=178462172299.1.10170942288990702200.rpms-scorep-f405491b4655@fedoraproject.org \
--to=loveshack@fedoraproject.org \
--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