kokkos/kokkos.spec

153 lines
5.0 KiB
RPMSpec
Raw Permalink Normal View History

# Needed for EPEL8
%undefine __cmake_in_source_build
2019-09-18 19:42:32 +00:00
Name: kokkos
2021-05-28 23:59:50 +00:00
Version: 3.4.01
2021-04-28 17:52:06 +00:00
%global sover 3.4
Release: 3%{?dist}
Summary: Kokkos C++ Performance Portability Programming
# no support for 32-bit archs https://github.com/kokkos/kokkos/issues/2312
2019-09-18 19:42:32 +00:00
ExcludeArch: i686 armv7hl
License: BSD
2019-09-18 19:42:32 +00:00
URL: https://github.com/kokkos/kokkos
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
2019-09-18 19:42:32 +00:00
BuildRequires: gcc-c++
BuildRequires: cmake >= 3.16
2019-09-18 19:42:32 +00:00
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}
2020-01-15 01:40:33 +00:00
Requires: hwloc-devel
2019-09-18 19:42:32 +00:00
%description devel
%{kokkos_desc}
This package contains the development files of %{name}.
%prep
%autosetup -p1
2019-09-18 19:42:32 +00:00
%build
%cmake \
2019-09-18 19:42:32 +00:00
-DKokkos_ENABLE_TESTS=On \
2021-04-28 17:52:06 +00:00
%ifarch ppc64le
-DKokkos_ARCH_POWER8=ON \
%endif
2019-09-18 19:42:32 +00:00
-DCMAKE_INSTALL_INCLUDEDIR=include/kokkos \
-DKokkos_ENABLE_AGGRESSIVE_VECTORIZATION=ON \
-DKokkos_ENABLE_DEPRECATED_CODE=ON \
2019-09-18 19:42:32 +00:00
-DKokkos_ENABLE_OPENMP=ON \
-DKokkos_ENABLE_SERIAL=ON \
-DKokkos_ENABLE_HWLOC=ON \
%{nil}
%cmake_build
2019-09-18 19:42:32 +00:00
%install
%cmake_install
2019-09-18 19:42:32 +00:00
%check
# https://github.com/kokkos/kokkos/issues/2959 - unstable test
%ifarch s390x
%global testargs --exclude-regex KokkosCore_UnitTest_StackTraceTest
%endif
%ctest %{?testargs}
2019-09-18 19:42:32 +00:00
%files
%doc README.md
%license LICENSE
2021-04-28 17:52:06 +00:00
%{_libdir}/libkokkos*.so.%{sover}*
2019-09-18 19:42:32 +00:00
%files devel
2019-12-20 19:36:20 +00:00
%{_libdir}/libkokkos*.so
2019-09-18 19:42:32 +00:00
%{_libdir}/cmake/Kokkos
%{_includedir}/kokkos
%{_bindir}/nvcc_wrapper
2020-12-20 00:28:24 +00:00
%{_bindir}/hpcbind
%{_bindir}/kokkos_launch_compiler
2019-09-18 19:42:32 +00:00
%changelog
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.01-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jun 22 2021 Christoph Junghans <junghans@votca.org> - 3.4.01-2
- Rebuild for glibc (no libdl.so anymore)
2021-05-28 23:59:50 +00:00
* Fri May 28 2021 Christoph Junghans <junghans@votca.org> - 3.4.01-1
- Version bump to v3.4.01 (bug #1965296)
2021-04-28 17:52:06 +00:00
* Tue Apr 27 2021 Christoph Junghans <junghans@votca.org> - 3.4.00-1
- Version bump to v3.4.00 (bug #1953967)
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.01-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2021-01-23 18:07:25 +00:00
* Sat Jan 23 08:19:42 MST 2021 Christoph Junghans <junghans@lanl.gov> - 3.3.01-1
- Version bump to v3.3.01 (bug #1919508)
2020-12-20 00:28:24 +00:00
* Sat Dec 19 13:38:32 MST 2020 Christoph Junghans <junghans@votca.org> - 3.3.00-1
- Version bump to v3.3.00 (bug #1909362)
2020-11-26 02:49:27 +00:00
* Wed Nov 25 15:26:40 MST 2020 Christoph Junghans <junghans@votca.org> - 3.2.01-1
- Version bump to v3.2.01 (bug #1901667)
2020-08-25 23:47:50 +00:00
* Tue Aug 25 2020 Christoph Junghans <junghans@votca.org> - 3.2.00-2
- Fix cmake targets
2020-08-25 21:07:59 +00:00
* Tue Aug 25 2020 Christoph Junghans <junghans@votca.org> - 3.2.00-1
- Version bump to v3.2.00 (bug #1872456)
* Mon Aug 03 2020 Christoph Junghans <junghans@votca.org> - 3.1.01-4
- Fix out-of-source build on F33 (bug #1863948)
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.01-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.01-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-05-06 00:44:51 +00:00
* Wed May 06 2020 Christoph Junghans <junghans@votca.org> - 3.1.01-1
2020-05-06 00:49:47 +00:00
- Version bump to v3.1.01 (bug #1824998)
2020-05-06 00:44:51 +00:00
- drop 2961.patch - merge upstream
2020-04-17 15:52:24 +00:00
* Thu Apr 16 2020 Christoph Junghans <junghans@votca.org> - 3.1.00-1
- Version bump to v3.1.00 (bug #1824998)
2020-02-28 00:20:24 +00:00
* Thu Feb 27 2020 Christoph Junghans <junghans@votca.org> - 3.0.00-1
- Version bump to 3.0.00
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-0.3.20200107gite79d6b7.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2020-01-15 01:40:33 +00:00
* Wed Jan 15 2020 Christoph Junghans <junghans@votca.org> - 3.0.0-0.2.20200107gite79d6b7.1
- Added missing hwloc dep
* Sun Jan 12 2020 Christoph Junghans <junghans@votca.org> - 3.0.0-0.2.20200107gite79d6b7
- bump to latest release candidate snapshot
* Mon Dec 23 2019 Christoph Junghans <junghans@votca.org> - 3.0.0-0.2.20191219gitcb90e9
- bump to latest release candidate snapshot
* Fri Dec 20 2019 Christoph Junghans <junghans@votca.org> - 3.0.0-0.2.20191216git6619d83
- bump to latest snapshot and enable Kokkos_ENABLE_DEPRECATED_CODE
2019-12-20 19:23:38 +00:00
- disable StackTrace Unittests
* Sun Sep 29 2019 Christoph Junghans <junghans@votca.org> - 3.0.0-0.2.20190929git445c176
- bump to latest snapshot and enable AGGRESSIVE_VECTORIZATION
2019-09-18 19:49:00 +00:00
* Wed Sep 18 2019 Christoph Junghans <junghans@votca.org> - 3.0.0-0.1.190912gitd93e239
- initial commit (bug #1751409)