public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kokkos] epel10: add epel9 build fixes
@ 2026-07-11 7:20 Christoph Junghans
0 siblings, 0 replies; only message in thread
From: Christoph Junghans @ 2026-07-11 7:20 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/kokkos
Branch : epel10
Commit : 8abcbe9fe853364d129a0c544f1fa6d32e8933dd
Author : Christoph Junghans <junghans@votca.org>
Date : 2024-01-23T16:21:39-07:00
Stats : +5/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/kokkos/c/8abcbe9fe853364d129a0c544f1fa6d32e8933dd?branch=epel10
Log:
add epel9 build fixes
---
diff --git a/kokkos.spec b/kokkos.spec
index 484e15b..a61e844 100644
--- a/kokkos.spec
+++ b/kokkos.spec
@@ -16,6 +16,10 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: cmake >= 3.16
BuildRequires: hwloc-devel
+%if 0%{?rhel} == 9
+%global gts_version 13
+BuildRequires: gcc-toolset-%{gts_version}
+%endif
%global kokkos_desc \
Kokkos Core implements a programming model in C++ for writing performance \
@@ -41,6 +45,7 @@ This package contains the development files of %{name}.
%autosetup -p1
%build
+%{?el9:. /opt/rh/gcc-toolset-%{gts_version}/enable}
%cmake \
-DKokkos_ENABLE_TESTS=On \
%ifarch ppc64le
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-11 7:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-11 7:20 [rpms/kokkos] epel10: add epel9 build fixes Christoph Junghans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox