public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kokkos] epel10: Improve compatibility with new CMake macro
@ 2026-07-11 7:20 Igor Raits
0 siblings, 0 replies; only message in thread
From: Igor Raits @ 2026-07-11 7:20 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/kokkos
Branch : epel10
Commit : fbe972da4cbe9e59c1d75a80e3fe682d113b9e49
Author : Igor Raits <ignatenkobrain@fedoraproject.org>
Date : 2020-07-20T13:33:40+02:00
Stats : +6/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/kokkos/c/fbe972da4cbe9e59c1d75a80e3fe682d113b9e49?branch=epel10
Log:
Improve compatibility with new CMake macro
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
---
diff --git a/kokkos.spec b/kokkos.spec
index 65ddb13..4abcbec 100644
--- a/kokkos.spec
+++ b/kokkos.spec
@@ -1,3 +1,5 @@
+%undefine __cmake_in_source_build
+
Name: kokkos
Version: 3.1.01
%global sover 3.1.1
@@ -38,9 +40,6 @@ This package contains the development files of %{name}.
%setup -q
%build
-mkdir build
-pushd build
-
%{cmake3} \
-DKokkos_ENABLE_TESTS=On \
-DCMAKE_INSTALL_INCLUDEDIR=include/kokkos \
@@ -49,15 +48,14 @@ pushd build
-DKokkos_ENABLE_OPENMP=ON \
-DKokkos_ENABLE_SERIAL=ON \
-DKokkos_ENABLE_HWLOC=ON \
- ..
-%make_build
-popd
+ %{nil}
+%cmake3_build
%install
-%make_install -C build
+%cmake3_install
%check
-make -C build test CTEST_OUTPUT_ON_FAILURE=1 %{?testargs}
+%ctest3
%files
%doc README.md
^ 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: Improve compatibility with new CMake macro Igor Raits
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox