Compare commits

...

8 Commits

Author SHA1 Message Date
Carl George 5fcf014dcf Rebuild for hwloc 2 (RHEL 8.4) 2021-05-22 16:39:48 -05:00
Carl George 88e3320b9d Revert to last successful epel8 build
Updating to 3.3.01 or 3.4.00 is not permitted by EPEL policy because it
changes the library soname.  This reverts the spec file to 3.0.00, which
was the last version that built successfully and was shipped in the
repo.

https://fedoraproject.org/wiki/EPEL/GuidelinesAndPolicies#Policy
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-4d758484f2
2021-05-22 16:31:11 -05:00
Neal Gompa 5cc7ce904f Merge branch 'rawhide' into epel8
Fixes the build for EPEL8 with RHEL 8.4+
2021-05-22 09:53:33 -04:00
Christoph Junghans f0a0f4042a Merge branch 'master' into epel8 2021-01-23 11:14:03 -07:00
Troy Dawson 228f65375c remove package.cfg per new epel-playground policy 2020-09-24 18:22:20 +00:00
Christoph Junghans bdecc8cf20 Merge branch 'master' into epel8 2020-02-27 17:23:27 -07:00
Christoph Junghans 5c6fe2973a Merge branch 'master' into epel8 2019-09-18 16:21:42 -06:00
Gwyn Ciesla b26f8c76a8 "Adding package.cfg file" 2019-09-18 13:17:17 -05:00
3 changed files with 10 additions and 61 deletions

7
.gitignore vendored
View File

@ -5,10 +5,3 @@
/kokkos-cb90e9484286b8728d821bb5b1c23e74373bc47b.tar.gz /kokkos-cb90e9484286b8728d821bb5b1c23e74373bc47b.tar.gz
/kokkos-e79d6b7311fb91c81477a7fc458ca5408e0c19d2.tar.gz /kokkos-e79d6b7311fb91c81477a7fc458ca5408e0c19d2.tar.gz
/kokkos-3.0.00.tar.gz /kokkos-3.0.00.tar.gz
/kokkos-3.1.00.tar.gz
/kokkos-3.1.01.tar.gz
/kokkos-3.2.00.tar.gz
/kokkos-3.2.01.tar.gz
/kokkos-3.3.00.tar.gz
/kokkos-3.3.01.tar.gz
/kokkos-3.4.00.tar.gz

View File

@ -2,9 +2,9 @@
%undefine __cmake_in_source_build %undefine __cmake_in_source_build
Name: kokkos Name: kokkos
Version: 3.4.00 Version: 3.0.00
%global sover 3.4 %global sover 3.0.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Kokkos C++ Performance Portability Programming Summary: Kokkos C++ Performance Portability Programming
# no support for 32-bit archs https://github.com/kokkos/kokkos/issues/2312 # no support for 32-bit archs https://github.com/kokkos/kokkos/issues/2312
ExcludeArch: i686 armv7hl ExcludeArch: i686 armv7hl
@ -14,7 +14,7 @@ URL: https://github.com/kokkos/kokkos
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: cmake >= 3.16 BuildRequires: cmake >= 3.0
BuildRequires: hwloc-devel BuildRequires: hwloc-devel
%global kokkos_desc \ %global kokkos_desc \
@ -38,84 +38,40 @@ Requires: hwloc-devel
This package contains the development files of %{name}. This package contains the development files of %{name}.
%prep %prep
%autosetup -p1 %setup -q
%build %build
%cmake \ %cmake \
-DKokkos_ENABLE_TESTS=On \ -DKokkos_ENABLE_TESTS=On \
%ifarch ppc64le
-DKokkos_ARCH_POWER8=ON \
%endif
-DCMAKE_INSTALL_INCLUDEDIR=include/kokkos \ -DCMAKE_INSTALL_INCLUDEDIR=include/kokkos \
-DKokkos_ENABLE_AGGRESSIVE_VECTORIZATION=ON \ -DKokkos_ENABLE_AGGRESSIVE_VECTORIZATION=ON \
-DKokkos_ENABLE_DEPRECATED_CODE=ON \ -DKokkos_ENABLE_DEPRECATED_CODE=ON \
-DKokkos_ENABLE_OPENMP=ON \ -DKokkos_ENABLE_OPENMP=ON \
-DKokkos_ENABLE_SERIAL=ON \ -DKokkos_ENABLE_SERIAL=ON \
-DKokkos_ENABLE_HWLOC=ON \ -DKokkos_ENABLE_HWLOC=ON \
%{nil}
%cmake_build %cmake_build
%install %install
%cmake_install %cmake_install
%check %check
# https://github.com/kokkos/kokkos/issues/2959 - unstable test
%ifarch s390x
%global testargs --exclude-regex KokkosCore_UnitTest_StackTraceTest
%endif
%ctest %{?testargs} %ctest %{?testargs}
%files %files
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{_libdir}/libkokkos*.so.%{sover}* %{_libdir}/libkokkos*.so.%{sover}
%files devel %files devel
%{_libdir}/libkokkos*.so %{_libdir}/libkokkos*.so
%{_libdir}/pkgconfig/
%{_libdir}/cmake/Kokkos %{_libdir}/cmake/Kokkos
%{_includedir}/kokkos %{_includedir}/kokkos
%{_bindir}/nvcc_wrapper %{_bindir}/nvcc_wrapper
%{_bindir}/hpcbind
%{_bindir}/kokkos_launch_compiler
%changelog %changelog
* Tue Apr 27 2021 Christoph Junghans <junghans@votca.org> - 3.4.00-1 * Sat May 22 2021 Carl George <carl@george.computer> - 3.0.00-2
- Version bump to v3.4.00 (bug #1953967) - Rebuild for hwloc 2 (RHEL 8.4)
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.01-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* 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)
* 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)
* 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)
* Tue Aug 25 2020 Christoph Junghans <junghans@votca.org> - 3.2.00-2
- Fix cmake targets
* 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
* Wed May 06 2020 Christoph Junghans <junghans@votca.org> - 3.1.01-1
- Version bump to v3.1.01 (bug #1824998)
- drop 2961.patch - merge upstream
* Thu Apr 16 2020 Christoph Junghans <junghans@votca.org> - 3.1.00-1
- Version bump to v3.1.00 (bug #1824998)
* Thu Feb 27 2020 Christoph Junghans <junghans@votca.org> - 3.0.00-1 * Thu Feb 27 2020 Christoph Junghans <junghans@votca.org> - 3.0.00-1
- Version bump to 3.0.00 - Version bump to 3.0.00

View File

@ -1 +1 @@
SHA512 (kokkos-3.4.00.tar.gz) = 7198e910147b41e936e5f3ae2738aaca91956daf59d51b949b2a36c6754d4dc531d8330134998c70e0bd4911daa3438dcbeeee7d8c054d7004f80ea42d77072d SHA512 (kokkos-3.0.00.tar.gz) = f98feaedfb3b5759fdab35f68ca5b6bd3eacdb658ff0a7b91a33839fa266a8533c76213ebba6445ff7f2430bcdec8d05d7e4c023b63532515ba30223a27f3ebb