198bc51
%global debug_package %{nil}
198bc51
198bc51
Name:           robin-map
1ee3332
Version:        1.2.2
1ee3332
Release:        1%{?dist}
198bc51
Summary:        C++ implementation of a fast hash map and hash set using robin hood hashing
198bc51
198bc51
License:        MIT
198bc51
URL:            https://github.com/Tessil/robin-map
198bc51
Source0:        https://github.com/Tessil/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
198bc51
198bc51
BuildArch:      noarch
198bc51
198bc51
BuildRequires:  cmake gcc-c++
198bc51
BuildRequires:  boost-devel
2c785c6
BuildRequires:  boost-static
198bc51
198bc51
%description
198bc51
The robin-map library is a C++ implementation of a fast hash map and hash set
198bc51
using open-addressing and linear robin hood hashing with backward shift
198bc51
deletion to resolve collisions.
198bc51
198bc51
*** This is a header only library. ***
198bc51
The package you want is %{name}-devel.
198bc51
198bc51
198bc51
%package devel
198bc51
Summary:        %{summary}
198bc51
198bc51
%description devel
198bc51
The robin-map library is a C++ implementation of a fast hash map and hash set
198bc51
using open-addressing and linear robin hood hashing with backward shift
198bc51
deletion to resolve collisions.
198bc51
198bc51
Four classes are provided: tsl::robin_map, tsl::robin_set, tsl::robin_pg_map
198bc51
and tsl::robin_pg_set. The first two are faster and use a power of two growth
198bc51
policy, the last two use a prime growth policy instead and are able to cope
198bc51
better with a poor hash function. Use the prime version if there is a chance of
198bc51
repeating patterns in the lower bits of your hash (e.g. you are storing
198bc51
pointers with an identity hash function). See GrowthPolicy for details.
198bc51
198bc51
A benchmark of tsl::robin_map against other hash maps may be found here. This
198bc51
page also gives some advices on which hash table structure you should try for
198bc51
your use case (useful if you are a bit lost with the multiple hash tables
198bc51
implementations in the tsl namespace).
198bc51
198bc51
198bc51
%prep
f472e88
%autosetup -p1
960d88b
198bc51
198bc51
%build
c7e425b
%cmake
198bc51
198bc51
198bc51
%install
c7e425b
%cmake_install
198bc51
198bc51
198bc51
%check
960d88b
pushd tests
c7e425b
%cmake
c7e425b
%cmake_build
c7e425b
%{_vpath_builddir}/tsl_robin_map_tests
198bc51
198bc51
198bc51
%files devel
198bc51
%license LICENSE
198bc51
%doc README.md
960d88b
%{_datadir}/cmake/tsl-%{name}/*.cmake
198bc51
%{_includedir}/tsl/
198bc51
198bc51
198bc51
%changelog
1ee3332
* Thu Mar 21 2024 Richard Shaw <hobbes1069@gmail.com> - 1.2.2-1
1ee3332
- Update to 1.2.2.
1ee3332
9ee0f43
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-5
9ee0f43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
9ee0f43
18f272a
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
18f272a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
18f272a
f2b1589
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
f2b1589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
f2b1589
b330894
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
b330894
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
b330894
6c4f1b9
* Thu Jan 12 2023 Richard Shaw <hobbes1069@gmail.com> - 1.2.1-1
6c4f1b9
- Update to 1.2.1.
6c4f1b9
06881b5
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
06881b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
06881b5
2c785c6
* Sat Apr  6 2022 Richard Shaw <hobbes1069@gmail.com> - 1.0.1-1
2c785c6
- Update to 1.0.1.
2c785c6
748b2a6
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-6
748b2a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
748b2a6
063eb37
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-5
063eb37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
063eb37
e927995
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-4
e927995
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
e927995
dc96f63
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-3
dc96f63
- Second attempt - Rebuilt for
dc96f63
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
dc96f63
e6a1c38
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-2
e6a1c38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e6a1c38
d84a193
* Sun Jun 21 2020 Richard Shaw <hobbes1069@gmail.com> - 0.6.3-1
d84a193
- Update to 0.6.3.
d84a193
37c003d
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-2
37c003d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
37c003d
54b2148
* Tue Nov 12 2019 Richard Shaw <hobbes1069@gmail.com> - 0.6.2-1
54b2148
- Update to 0.6.2.
54b2148
0d2a558
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
0d2a558
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0d2a558
93ffa10
* Wed Feb 27 2019 Richard Shaw <hobbes1069@gmail.com> - 0.6.1-1
93ffa10
- Update to 0.6.1.
93ffa10
f472e88
* Tue Feb 12 2019 Richard Shaw <hobbes1069@gmail.com> - 0.6.0-2
f472e88
- Add patch for GCC 9 warnings.
f472e88
960d88b
* Mon Feb 11 2019 Richard Shaw <hobbes1069@gmail.com> - 0.6.0-1
960d88b
- Update to 0.6.0.
960d88b
dea7ec8
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-3
dea7ec8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
dea7ec8
f323a2a
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
f323a2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f323a2a
198bc51
* Mon Jun 11 2018 Richard Shaw <hobbes1069@gmail.com> - 0.2.0-1
198bc51
- Initial packaging.