public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kokkos] epel10: Initial import (#1751409).
@ 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 : 7ddf3a5c9244e39b2c91ef2fc522e52f54136399
Author : Christoph Junghans <junghans@lanl.gov>
Date : 2019-09-18T13:42:32-06:00
Stats : +87/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/kokkos/c/7ddf3a5c9244e39b2c91ef2fc522e52f54136399?branch=epel10
Log:
Initial import (#1751409).
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5ee57d5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/kokkos-d93e239baee253fca66b8b7f2196edaa40a2ef17.tar.gz
diff --git a/kokkos.spec b/kokkos.spec
new file mode 100644
index 0000000..0f9418d
--- /dev/null
+++ b/kokkos.spec
@@ -0,0 +1,85 @@
+%global git 1
+%global commit d93e239baee253fca66b8b7f2196edaa40a2ef17
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name: kokkos
+Version: 3.0.0
+Release: 0.1.190912git%{shortcommit}%{?dist}
+Summary: Kokkos C++ Performance Portability Programming
+#no support for 32-bit archs https://github.com/kokkos/kokkos/issues/2312
+ExcludeArch: i686 armv7hl
+
+License: BSD
+URL: https://github.com/kokkos/kokkos
+%if %{git}
+Source0: https://github.com/%{name}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
+%else
+Source0: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
+%endif
+
+
+BuildRequires: gcc-c++
+BuildRequires: cmake3 >= 3.0
+BuildRequires: hwloc-devel
+
+%global kokkos_desc \
+Kokkos Core implements a programming model in C++ for writing performance \
+portable applications targeting all major HPC platforms. For that purpose \
+it provides abstractions for both parallel execution of code and data \
+management. Kokkos is designed to target complex node architectures with \
+N-level memory hierarchies and multiple types of execution resources. It \
+currently can use OpenMP, Pthreads and CUDA as backend programming models.
+
+%description
+%{kokkos_desc}
+
+%package devel
+Summary: Development package for %{name} packages
+Requires: %{name}%{?_isa} = %{version}-%{release}
+%description devel
+%{kokkos_desc}
+
+This package contains the development files of %{name}.
+
+%prep
+%if %{git}
+%setup -q -n %{name}-%{commit}
+%else
+%setup -q
+%endif
+
+%build
+mkdir build
+pushd build
+%{cmake3} \
+ -DKokkos_ENABLE_TESTS=On \
+ -DCMAKE_INSTALL_INCLUDEDIR=include/kokkos \
+ -DKokkos_ENABLE_OPENMP=ON \
+ -DKokkos_ENABLE_SERIAL=ON \
+ -DKokkos_ENABLE_PTHREAD=ON \
+ -DKokkos_ENABLE_HWLOC=ON \
+ ..
+%make_build
+popd
+
+%install
+%make_install -C build
+
+%check
+make -C build test CTEST_OUTPUT_ON_FAILURE=1
+
+%files
+%doc README.md
+%license LICENSE
+%{_libdir}/libkokkos.so.%{version}
+
+%files devel
+%{_libdir}/libkokkos.so
+%{_libdir}/pkgconfig/
+%{_libdir}/cmake/Kokkos
+%{_includedir}/kokkos
+%{_bindir}/nvcc_wrapper
+
+%changelog
+* Wed Sep 11 2019 Christoph Junghans <junghans@votca.org> - 3.0.0-0.1.190912gitd93e239
+- initial commit
diff --git a/sources b/sources
new file mode 100644
index 0000000..f91ea62
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (kokkos-d93e239baee253fca66b8b7f2196edaa40a2ef17.tar.gz) = 60c88a9ca9c39d0f25175c16148b13a32e3b5b8ead1b89c8842f0d59c25a8f57192df44582113bb79a3f102d9fe6335db75ae41c882c616befa54c70a9363e9c
^ 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: Initial import (#1751409) Christoph Junghans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox