SHA256
8
0
forked from pool/primecount

31 Commits

Author SHA256 Message Date
430c6a832b Accepting request 1329424 from devel:libraries:c_c++
Update to latest primecount-8.1

OBS-URL: https://build.opensuse.org/request/show/1329424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/primecount?expand=0&rev=25
2026-01-27 15:15:15 +00:00
Kim Walisch
0641741fbf OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=155 2026-01-26 09:33:44 +00:00
Kim Walisch
29b9ee7d10 Update to primecount-8.1
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=154
2026-01-26 09:33:09 +00:00
Kim Walisch
aacdaad758 Increase version to 8.1
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=153
2026-01-26 09:31:25 +00:00
Kim Walisch
9eb4abd650 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/primecount?expand=0&rev=152 2026-01-26 09:31:08 +00:00
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
4 changed files with 58 additions and 11 deletions

View File

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

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

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

View File

@@ -1,3 +1,50 @@
-------------------------------------------------------------------
Mon Jan 26 09:33:00 UTC 2026 - Kim Walisch <kim.walisch@gmail.com>
- Update to primecount-8.1.
- CMakeLists.txt: Fix CMAKE_PROJECT_VERSION not defined.
- AC.cpp: Up to 15% faster due to improved instruction level parallelism.
- S2_easy.cpp: Fix "#pragma omp master" deprecated in OpenMP 5.1.
- Sieve_count*.hpp: Improve GCC conditional move code gen.
- Automated building Windows binaries using GitHub Actions CI.
-------------------------------------------------------------------
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> Wed Jun 04 11:58:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>

View File

@@ -17,14 +17,14 @@
Name: primecount Name: primecount
Version: 7.19 Version: 8.1
Release: 0 Release: 0
Summary: Count the number of primes Summary: Count the number of primes
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: https://github.com/kimwalisch/primecount URL: https://github.com/kimwalisch/primecount
Source0: https://github.com/kimwalisch/primecount/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz 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: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: asciidoc 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 integer x 10^31 using highly optimized implementations of the
combinatorial prime counting algorithms. combinatorial prime counting algorithms.
%package -n libprimecount7 %package -n libprimecount8
Summary: C/C++ library for counting prime numbers Summary: C/C++ library for counting prime numbers
%description -n libprimecount7 %description -n libprimecount8
This package contains the shared runtime library for primecount. This package contains the shared runtime library for primecount.
%package -n libprimecount-devel %package -n libprimecount-devel
Summary: Development files for the primecount library Summary: Development files for the primecount library
Requires: libprimecount7 = %{version} Requires: libprimecount8 = %{version}
%description -n libprimecount-devel %description -n libprimecount-devel
This package contains the C/C++ header files and the configuration 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 %cmake_install
%fdupes %{buildroot}/%{_prefix} %fdupes %{buildroot}/%{_prefix}
%post -n libprimecount7 -p /sbin/ldconfig %post -n libprimecount8 -p /sbin/ldconfig
%postun -n libprimecount7 -p /sbin/ldconfig %postun -n libprimecount8 -p /sbin/ldconfig
%check %check
%ctest %ctest
@@ -76,7 +76,7 @@ files for developing applications that use the primecount library.
%{_bindir}/primecount %{_bindir}/primecount
%{_mandir}/man1/primecount.1%{?ext_man} %{_mandir}/man1/primecount.1%{?ext_man}
%files -n libprimecount7 %files -n libprimecount8
%license COPYING %license COPYING
%{_libdir}/libprimecount.so.* %{_libdir}/libprimecount.so.*