60 Commits

Author SHA256 Message Date
f582d17247 Accepting request 1323544 from devel:libraries:c_c++
Update to new primecount-8.0 release

OBS-URL: https://build.opensuse.org/request/show/1323544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/primecount?expand=0&rev=24
2025-12-18 17:38:08 +00:00
Kim Walisch
3fe9724011 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=151 2025-12-18 16:05:15 +00:00
Kim Walisch
aacab53a45 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=150 2025-12-18 16:04:55 +00:00
Kim Walisch
aaebbcb621 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=149 2025-12-16 19:05:25 +00:00
Kim Walisch
a23373cdf9 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=148 2025-12-16 19:02:17 +00:00
Kim Walisch
50921945d6 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=147 2025-12-16 19:02:14 +00:00
Kim Walisch
434063d89c OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=146 2025-12-16 19:00:58 +00:00
Kim Walisch
4520235735 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=145 2025-12-15 15:09:08 +00:00
Kim Walisch
96130c360e OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=144 2025-12-15 15:08:43 +00:00
Kim Walisch
f066060093 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=143 2025-12-15 10:28:16 +00:00
Kim Walisch
cccf15a826 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=142 2025-12-15 10:27:57 +00:00
Kim Walisch
ef2322770f OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=141 2025-12-14 21:11:32 +00:00
Kim Walisch
7c72faa1b0 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=140 2025-12-14 21:11:07 +00:00
Kim Walisch
254dcf6b41 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=139 2025-12-14 09:55:15 +00:00
Kim Walisch
0ec97df602 Changes in primecount-8.0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=138
2025-12-14 09:53:08 +00:00
Kim Walisch
656e8d5b94 Increase minimum CMake version
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=137
2025-12-14 09:51:25 +00:00
Kim Walisch
4b2081e597 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=136 2025-12-09 18:29:18 +00:00
Kim Walisch
b4fb73f5c6 Update ChangeLog
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=135
2025-12-09 10:40:49 +00:00
Kim Walisch
76b659878c OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=134 2025-12-09 10:39:47 +00:00
Kim Walisch
6bb68fabf1 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=133 2025-12-09 10:39:23 +00:00
Kim Walisch
ed8ffb4938 Increase version to 8.0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=132
2025-12-09 10:39:16 +00:00
f5c07751d7 Accepting request 1315765 from devel:libraries:c_c++
New primecount-7.20 release

OBS-URL: https://build.opensuse.org/request/show/1315765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/primecount?expand=0&rev=23
2025-11-06 17:13:16 +00:00
Kim Walisch
67373af25f Changes in primecount-7.20
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=131
2025-11-04 16:48:00 +00:00
Kim Walisch
21ab121755 Increase version to 7.20
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=130
2025-11-04 16:45:55 +00:00
Kim Walisch
473e254016 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=129 2025-11-04 16:45:34 +00:00
Kim Walisch
5e5caadb1d OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=128 2025-11-04 16:45:15 +00:00
a2c083568e Accepting request 1283440 from devel:libraries:c_c++
Update to new primecount-7.19 release

OBS-URL: https://build.opensuse.org/request/show/1283440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/primecount?expand=0&rev=22
2025-06-06 20:42:18 +00:00
Kim Walisch
83156472ef OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=127 2025-06-04 11:59:03 +00:00
Kim Walisch
107ba6e9dd Fix typo
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=126
2025-06-04 11:58:25 +00:00
Kim Walisch
3926bea489 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=125 2025-06-04 11:57:10 +00:00
Kim Walisch
1505317f28 Increase version to 7.19
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=124
2025-06-04 09:07:25 +00:00
Kim Walisch
df5d2068bf Update ChangeLog
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=123
2025-06-04 09:06:41 +00:00
Kim Walisch
34257fd028 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=122 2025-06-04 08:50:39 +00:00
Kim Walisch
29fa52124a OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=121 2025-06-04 08:50:13 +00:00
f6ac79ab02 Accepting request 1278167 from devel:libraries:c_c++
Update to new primecount-7.18 release

OBS-URL: https://build.opensuse.org/request/show/1278167
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/primecount?expand=0&rev=21
2025-05-20 07:36:49 +00:00
Kim Walisch
93799812ef OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=120 2025-05-17 08:51:20 +00:00
Kim Walisch
d77729b804 Increase version to 7.18
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=119
2025-05-17 08:50:27 +00:00
Kim Walisch
6e0a193527 Changes in primecount-7.18
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=118
2025-05-17 08:48:30 +00:00
Kim Walisch
408bb5a4fb OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=117 2025-05-17 08:44:17 +00:00
6ddc98a19e Accepting request 1273637 from devel:libraries:c_c++
Update to new primecount-7.17 release

OBS-URL: https://build.opensuse.org/request/show/1273637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/primecount?expand=0&rev=20
2025-04-30 17:05:38 +00:00
Kim Walisch
a33bac95ce OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=116 2025-04-29 17:29:41 +00:00
Kim Walisch
40f99c1ca2 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=115 2025-04-29 17:29:27 +00:00
Kim Walisch
efb51f37d2 Fix date and time
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=114
2025-04-29 17:29:07 +00:00
Kim Walisch
f894ae9bc3 Update ChangeLog
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=113
2025-04-29 17:28:26 +00:00
Kim Walisch
28092704e3 Increase version to 7.17
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=112
2025-04-28 14:20:06 +00:00
Kim Walisch
ddb3875eaf Update to primecount-7.17
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=111
2025-04-28 14:19:28 +00:00
Kim Walisch
406ce2ee5c OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=110 2025-04-28 14:17:42 +00:00
Kim Walisch
72cd52de0e OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=109 2025-04-28 14:17:23 +00:00
5ff2f8ea5c Accepting request 1266871 from devel:libraries:c_c++
Update to new primecount-7.16

OBS-URL: https://build.opensuse.org/request/show/1266871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/primecount?expand=0&rev=19
2025-04-03 14:51:05 +00:00
Kim Walisch
f768aa010a Changes in primecount-7.16
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=108
2025-04-02 15:37:22 +00:00
Kim Walisch
a5c9fc1816 Increase version to 7.16
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=107
2025-04-02 15:34:16 +00:00
Kim Walisch
6994262b17 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=105 2025-04-02 15:33:31 +00:00
Kim Walisch
795b0a0453 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=104 2025-04-02 15:33:15 +00:00
e25f7c37a3 Accepting request 1249983 from devel:libraries:c_c++
Update to new primecount-7.15

OBS-URL: https://build.opensuse.org/request/show/1249983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/primecount?expand=0&rev=18
2025-03-04 17:32:57 +00:00
Kim Walisch
9b4f3665b1 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=103 2025-03-03 18:33:06 +00:00
Kim Walisch
656002316e OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=102 2025-03-03 18:32:46 +00:00
Kim Walisch
d15ca3bb92 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=101 2025-03-03 09:48:45 +00:00
Kim Walisch
a1474b4db9 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=100 2025-03-03 09:48:23 +00:00
Kim Walisch
b4e6d03007 Update ChangeLog
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=99
2025-03-03 09:48:13 +00:00
Kim Walisch
53f77a6e74 Increase version to 7.15
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=98
2025-03-03 09:46:45 +00:00
4 changed files with 112 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d867ac18cc52c0f7014682169988a76f39e4cd56f8ce78fb56e064499b1d66bb
size 437328

3
primecount-8.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0265081f45fc938a892a1fd975edb4ff2c097359fc2bfeb739be3d7a759cd36c
size 1207003

View File

@@ -1,3 +1,102 @@
-------------------------------------------------------------------
Sun Dec 14 09:53:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>
- Update to primecount-8.0.
- api.cpp: Fix broken 128-bit nth prime function.
- util.cpp: Fix undefined behavior in to_string().
- calculator.hpp: Add code to detect integer overflows.
- LoadBalancerP2.cpp: Faster critical section.
- LoadBalancerS2.cpp: Faster critical section.
- LoadBalancerAC.cpp: Faster critical section.
- nth_prime.cpp: Improve status output.
- AC.cpp: Improved instruction level parallelism.
- AC_libdivide.cpp: Improved instruction level parallelism.
- D.cpp: Refactor runtime dispatch to optimized SIMD algorithm.
- S2_hard.cpp: Refactor runtime dispatch to optimized SIMD algorithm.
- pi_lmo_parallel.cpp: Add support for runtime dispatch to optimized SIMD algorithm.
- Move S2_easy_libdivide.cpp code into S2_easy.cpp.
- Move AC_libdivide.cpp code into AC.cpp.
- src/app/test.cpp: Speed up tests.
- CMakeLists.txt: Set CMAKE_VISIBILITY_INLINES_HIDDEN = ON by default.
-------------------------------------------------------------------
Tue Nov 04 16:50:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>
- Update to primecount-7.20 (API & ABI are backwards compatible).
- pi_gourdon.cpp: Quickly verify pi(x) results.
- pi_deleglise_rivat.cpp: Quickly verify pi(x) results.
- pi_lmo_parallel.cpp: Quickly verify pi(x) results.
- CmdOptions.cpp: Add --double-check option.
- build_mingw64_arm64.sh: Enable ARM SVE for Mingw-w64 on ARM64.
- doc/Easy-Special-Leaves.pdf: Converted Markdown to LaTeX.
- doc/Hard-Special-Leaves.pdf: Converted Markdown to LaTeX.
- doc/Partial-Sieve-Function.pdf: Converted Markdown to LaTeX.
- ci.yml: Add WebAssembly/Emscripten test.
- BUILD.md: Add WebAssembly/Emscripten build instructions.
- README.md: Updated Algorithms section.
-------------------------------------------------------------------
Wed Jun 04 11:58:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>
- Update to primecount-7.19 (API & ABI are backwards compatible).
- nth_prime.cpp: Add 128-bit nth_prime function.
- nth_prime_sieve.hpp: New sieving algo for nth_prime(n).
- primecount.h: Improved 128-bit C API using portable pc_int128_t struct.
- primecount.hpp: Improved 128-bit C++ API using portable pc_int128_t struct.
- libprimecount.md: Add new 128-bit C/C++ API functions.
-------------------------------------------------------------------
Sat May 17 08:50:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>
- Update to primecount-7.18 (API & ABI are backwards compatible).
- Add CMake find_package(primecount) support.
- libprimecount.md: Add CMake find_package(primecount) section.
- PhiTiny.cpp: Reduce code bloat.
- Move private header files from /include to /src.
- src/CMakeLists.txt: Update for private header files in /src.
- test/CMakeLists.txt: Update for private header files in /src.
- Vector.hpp: Get rid of std::is_trivial which is deprecated in C++26.
- Update to latest primesieve-12.9 library.
- Update to latest libdivide-5.2.0 library.
-------------------------------------------------------------------
Tue Apr 29 17:28:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>
- Update to primecount-7.17 (API & ABI are backwards compatible).
- Sieve_pre_sieve.hpp: Improved pre-sieving using primes ≤ 71.
- Pre-sieving speeds up S2_hard and D algorithms by up to 5%.
- README.md: Fix Markdown math formulas.
- Hard-Special-Leaves.md: Fix Markdown math formulas.
- Update to primesieve-12.8 library.
-------------------------------------------------------------------
Wed Apr 02 15:36:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>
- Update to primecount-7.16 (API & ABI are backwards compatible).
- fast_div.hpp: Fix "Warning: mnemonic suffix used with `div'".
- libdivide.h: Fix "Warning: mnemonic suffix used with `div'".
- LoadBalancerS2.cpp: Tune load balancing.
- LoadBalancerAC.cpp: Tune load balancing.
- primecount-config.hpp: Update default CPU cache sizes.
- Sieve.cpp: Improve count balancing.
- Sieve.cpp: Add multiarch count methods.
- Sieve.hpp: New multiarch count methods.
- D.cpp: Runtime dispatching changes.
- D_multiarch_avx512.cpp: New file.
- D_multiarch_arm_sve.cpp: New file.
- S2_hard.cpp: Runtime dispatching changes.
- S2_hard_multiarch_avx512.cpp: New file.
- S2_hard_multiarch_arm_sve.cpp: New file.
-------------------------------------------------------------------
Mon Mar 03 09:50:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>
- Update to primecount-7.15 (API & ABI are backwards compatible).
- Sieve.hpp: Improve ARM SVE bit counting algorithm.
- multiarch_arm_sve.cmake: Improve ARM SVE detection.
- src/arch/arm/sve.cpp: Detect ARM SVE instruction set.
- Update to libprimesieve-12.7.
-------------------------------------------------------------------
Thu Aug 01 15:50:00 UTC 2024 - Kim Walisch <kim.walisch@gmail.com>

View File

@@ -17,14 +17,14 @@
Name: primecount
Version: 7.14
Version: 8.0
Release: 0
Summary: Count the number of primes
License: BSD-2-Clause
Group: Development/Libraries/C and C++
URL: https://github.com/kimwalisch/primecount
Source0: https://github.com/kimwalisch/primecount/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake >= 3.7
BuildRequires: cmake >= 3.9
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: asciidoc
@@ -35,15 +35,15 @@ primecount is a command-line program that counts the primes below an
integer x 10^31 using highly optimized implementations of the
combinatorial prime counting algorithms.
%package -n libprimecount7
%package -n libprimecount8
Summary: C/C++ library for counting prime numbers
%description -n libprimecount7
%description -n libprimecount8
This package contains the shared runtime library for primecount.
%package -n libprimecount-devel
Summary: Development files for the primecount library
Requires: libprimecount7 = %{version}
Requires: libprimecount8 = %{version}
%description -n libprimecount-devel
This package contains the C/C++ header files and the configuration
@@ -65,8 +65,8 @@ files for developing applications that use the primecount library.
%cmake_install
%fdupes %{buildroot}/%{_prefix}
%post -n libprimecount7 -p /sbin/ldconfig
%postun -n libprimecount7 -p /sbin/ldconfig
%post -n libprimecount8 -p /sbin/ldconfig
%postun -n libprimecount8 -p /sbin/ldconfig
%check
%ctest
@@ -76,7 +76,7 @@ files for developing applications that use the primecount library.
%{_bindir}/primecount
%{_mandir}/man1/primecount.1%{?ext_man}
%files -n libprimecount7
%files -n libprimecount8
%license COPYING
%{_libdir}/libprimecount.so.*
@@ -85,6 +85,8 @@ files for developing applications that use the primecount library.
%{_libdir}/libprimecount.so
%{_includedir}/primecount.h
%{_includedir}/primecount.hpp
%dir %{_libdir}/cmake/primecount
%{_libdir}/cmake/primecount/*.cmake
%{_libdir}/pkgconfig/primecount.pc
%changelog