From fa8aa17d213a965c970f10a4d7647932517d9b45 Mon Sep 17 00:00:00 2001 From: Kim Walisch Date: Thu, 11 Jul 2024 17:38:05 +0200 Subject: [PATCH] Update to latest libprimesieve --- lib/primesieve/include/primesieve/cpu_supports_avx512_vbmi2.hpp | 2 +- lib/primesieve/include/primesieve/cpu_supports_popcnt.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/primesieve/include/primesieve/cpu_supports_avx512_vbmi2.hpp b/lib/primesieve/include/primesieve/cpu_supports_avx512_vbmi2.hpp index 0e59e47c..578d8d6f 100644 --- a/lib/primesieve/include/primesieve/cpu_supports_avx512_vbmi2.hpp +++ b/lib/primesieve/include/primesieve/cpu_supports_avx512_vbmi2.hpp @@ -20,7 +20,7 @@ bool has_cpuid_avx512_vbmi2(); namespace { /// Initialized at startup -bool cpu_supports_avx512_vbmi2 = primesieve::has_cpuid_avx512_vbmi2(); +const bool cpu_supports_avx512_vbmi2 = primesieve::has_cpuid_avx512_vbmi2(); } // namespace diff --git a/lib/primesieve/include/primesieve/cpu_supports_popcnt.hpp b/lib/primesieve/include/primesieve/cpu_supports_popcnt.hpp index ded65c3e..d5a9e6a7 100644 --- a/lib/primesieve/include/primesieve/cpu_supports_popcnt.hpp +++ b/lib/primesieve/include/primesieve/cpu_supports_popcnt.hpp @@ -20,7 +20,7 @@ bool has_cpuid_popcnt(); namespace { /// Initialized at startup -bool cpu_supports_popcnt = primesieve::has_cpuid_popcnt(); +const bool cpu_supports_popcnt = primesieve::has_cpuid_popcnt(); } // namespace