Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package primecount for openSUSE:Factory checked in at 2026-11-28 23:25:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/primecount (Old) and /work/SRC/openSUSE:Factory/.primecount.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "primecount" Sat Nov 28 23:25:16 2026 rev:33 rq:1401267 version:9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/primecount/primecount.changes 2026-09-30 16:25:05.859465983 +0200 +++ /work/SRC/openSUSE:Factory/.primecount.new.1340718/primecount.changes 2026-11-28 23:26:58.631882928 +0100 @@ -1,0 +2,75 @@ +Thu Nov 26 17:03:00 UTC 2026 - Kim Walisch <[email protected]> + +- Update to primecount-9.1. +- ThreadPool.cpp: New thread pool designed for primecount, replaces OpenMP. +- ThreadPool.cpp: Prevent unloading libprimecount (e.g. dlclose(), FreeLibrary()) once the thread pool is used. +- pin_library.cmake: Check for dladdr() and dlopen() with RTLD_NODELETE. +- CMake: Remove WITH_OPENMP option, primecount is always multi-threaded. +- D.cpp: Tune threads, up to 1.5x faster, much faster for non-default alpha. +- AC_*.hpp: Extract AC workers with per-thread state and enable ARM SVE helper inlining. +- phi.cpp: Tune threads for Legendre and Meissel, up to 2.5x faster pi_legendre(x). +- Phi0.cpp: Limit threads to sqrt(y) / 160, up to 2x faster Phi0(x, y). +- S2_hard.cpp: Tune threads, up to 3.5x faster pi_deleglise_rivat(x) for large alpha. +- S2_easy.cpp: Limit threads to x^(1/3) / 500, up to 1.3x faster S2_easy(x, y). +- P3.cpp: Increase number of threads, up to 1.5x faster P3(x, a). +- FactorTable.hpp: Use sqrt(y) / 100 threads, up to 1.25x faster pi(x) for x ~ 1e15. +- FactorTable.hpp: Reuse the primes and PiTable of the caller, up to 2.5x faster initialization. +- FactorTable.hpp: Initialize the factor table in L2 cache sized segments, up to 2.5x faster. +- PiTable.cpp: Use sqrt(x) / 300 threads in get_primes(), up to 1.05x faster pi(x). +- PiTable.cpp: Use sqrt(x) / 400 threads to initialize the PiTable, up to 1.03x faster pi(x). +- AC_fastdivider.hpp: Use sqrt(primes) / 60 threads to initialize FastDivider, up to 1.05x faster pi(x). +- doc/StatusS2-tuning.md: Remove OpenMP from the logging patch. +- nth_prime_sieve.cpp: Use nested parallel jobs instead of OpenMP tasks. +- nth_prime_sieve.cpp: Round up threads per segment, up to 1.2x faster sieving. +- Update to primesieve-12.18 library which fixes GCC < 14 crashes on ARM64 CPUs without ARM SVE. +- actions.lock: Lock GitHub Actions to exact commits to prevent supply chain attacks. +- test/StatusS2.cpp: Fix broken test on i586 OpenSUSE. +- LogarithmicIntegral.cpp: Use max() instead of infinity() for -ffast-math compatibility. +- RiemannR.cpp: Use max() instead of infinity() for -ffast-math compatibility. +- int128_t.hpp: Remove pstd::numeric_limits<T>::infinity(). +- util.cpp: Fix ambiguous log() and sqrt() calls with int128_t in strict C++14 builds. +- Windows build scripts: Use primecount-9.0 archives for README.txt. + +------------------------------------------------------------------- +Sat Nov 07 15:41:00 UTC 2026 - Kim Walisch <[email protected]> + +- Update to primecount-9.0. +- Rename libprimecount8 to libprimecount9 (new SONAME libprimecount.so.9). +- main.cpp: Avoid KMP_BLOCKTIME warnings with LLVM OpenMP before version 18. +- StatusS2.cpp: Tune the work model of D, S2_hard and LMO separately. +- LoadBalancerS2.cpp: Limit segment size growth to avoid huge workloads. +- LoadBalancerS2.cpp: Increase per-thread segment size, improves scaling. +- LoadBalancerS2.cpp: Remove lazy initialization of workload finish times. +- D.cpp: Limit threads to sqrt(x / y) / 150, up to 1.3x faster for x < 1e16. +- pi_lmo_parallel.cpp: Limit threads to sqrt(x / y) / 300, up to 2x faster. +- S2_hard.cpp: Limit threads to sqrt(x / y) / 250, up to 1.7x faster. +- AC_*.hpp: Limit threads to x^(1/6) / 4, up to 1.5x faster for x < 1e17. +- LoadBalancerP2.cpp: Tune threads and chunk sizes, up to 2x faster B and P2. +- Choose default status precision using estimated runtime and thread count. +- LoadBalancerP2, LoadBalancerAC: Throttle status printing in C++14 builds. +- StatusS2.cpp: Smoother status for D, S2_hard and LMO using a model of the special leaves' work distribution. +- FastDivider.hpp: New faster multiply-shift division by precomputed reciprocals, replaces libdivide in AC and S2_easy. +- CMake: Rename WITH_LIBDIVIDE option to WITH_FASTDIVIDER. +- CMake: Disable FastDivider if not supported by the compiler (32-bit). +- Remove libdivide.h, rename AC_libdivide.hpp to AC_fastdivider.hpp. +- Gourdon: Compute part of D and the former C1 easy leaves using a weighted Dirichlet hyperbola algorithm, cancelling prime-leaf sieve queries. +- AC_*.hpp: New C1_hyperbola formula computes the hyperbola terms at positions < p^2 using the segmented pi(x) lookup table. +- D: Bound the outer prime loops by x^(1/4) and skip factor-table scans when the remaining cofactors must be prime. +- Gourdon: Share one PiTable between Sigma, Phi0, AC and D, and extract Phi0's primes from it instead of sieving them again. +- AC.cpp: Reduce memory usage by limiting the primes vector to the range required by the A, C1 and C2 formulas. +- Gourdon: Remove the z parameter and --alpha-y/--alpha-z options; use --alpha to tune y. +- Gourdon: Allow y = sqrt(x) and simplify algorithm bounds. +- Apply --alpha only to the requested computation, without affecting nested pi(x) calls. +- test.cpp: Support --alpha with --test and parse all options before testing. +- FactorTable.hpp: Reduce Deleglise-Rivat S2_hard memory using 16-bit prime factor ordinals; share the implementation with Gourdon D. +- D, S2_hard, LMO: Reduce integer divisions in the cofactor bounds. +- D_avx2.hpp: Add AVX2 filtering and runtime dispatch for Gourdon D. +- D_arm_sve.hpp: Fix ambiguous svwhilelt_b64() call on macOS. +- PhiTiny.cpp: Use static lookup tables instead of initializing them at startup. +- CMake: Avoid internal variable name collisions with parent projects. +- CMake: Fix C++14 compiler mode for the executable and tests, including Emscripten builds. +- Build Windows x64 binaries and run Windows GCC CI using UCRT64. +- Add SIMD runtime dispatching support for the MSVC compiler. +- popcnt.hpp: Use ARM NEON population count with the MSVC ARM64 compiler. + +------------------------------------------------------------------- Old: ---- primecount-8.8.tar.gz New: ---- primecount-9.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ primecount.spec ++++++ --- /var/tmp/diff_new_pack.Wjib8J/_old 2026-11-28 23:26:59.465917763 +0100 +++ /var/tmp/diff_new_pack.Wjib8J/_new 2026-11-28 23:26:59.467917847 +0100 @@ -17,7 +17,7 @@ Name: primecount -Version: 8.8 +Version: 9.1 Release: 0 Summary: Count the number of primes License: BSD-2-Clause @@ -35,15 +35,15 @@ integer x ≤ 10^31 using highly optimized implementations of the combinatorial prime counting algorithms. -%package -n libprimecount8 +%package -n libprimecount9 Summary: C/C++ library for counting prime numbers -%description -n libprimecount8 +%description -n libprimecount9 This package contains the shared runtime library for primecount. %package -n libprimecount-devel Summary: Development files for the primecount library -Requires: libprimecount8 = %{version} +Requires: libprimecount9 = %{version} %description -n libprimecount-devel This package contains the C/C++ header files and the configuration @@ -65,8 +65,8 @@ %cmake_install %fdupes %{buildroot}/%{_prefix} -%post -n libprimecount8 -p /sbin/ldconfig -%postun -n libprimecount8 -p /sbin/ldconfig +%post -n libprimecount9 -p /sbin/ldconfig +%postun -n libprimecount9 -p /sbin/ldconfig %check %ctest @@ -76,7 +76,7 @@ %{_bindir}/primecount %{_mandir}/man1/primecount.1%{?ext_man} -%files -n libprimecount8 +%files -n libprimecount9 %license COPYING %{_libdir}/libprimecount.so.* ++++++ primecount-8.8.tar.gz -> primecount-9.1.tar.gz ++++++ ++++ 43302 lines of diff (skipped)
