public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/scorep] rawhide: Fix using roctrace
@ 2026-07-21 8:15 Dave Love
0 siblings, 0 replies; only message in thread
From: Dave Love @ 2026-07-21 8:15 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-21 8:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-21 8:15 [rpms/scorep] rawhide: Fix using roctrace Dave Love
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox