public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Raits <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/kokkos] epel10: Improve compatibility with new CMake macro
Date: Sat, 11 Jul 2026 07:20:24 GMT	[thread overview]
Message-ID: <178375442418.1.18233872187416071462.rpms-kokkos-fbe972da4cbe@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-07-11  7:20 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=178375442418.1.18233872187416071462.rpms-kokkos-fbe972da4cbe@fedoraproject.org \
    --to=ignatenkobrain@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