diff --git a/lib/primesieve/scripts/build_clang_multiarch_win_x64.bat b/lib/primesieve/scripts/build_clang_multiarch_win_x64.bat index 85c59976..09242565 100644 --- a/lib/primesieve/scripts/build_clang_multiarch_win_x64.bat +++ b/lib/primesieve/scripts/build_clang_multiarch_win_x64.bat @@ -1 +1 @@ -clang++ -I../include -O3 -mpopcnt -DNDEBUG -DENABLE_MULTIARCH_AVX512_VBMI2 ../src/*.cpp ../src/x86/*.cpp ../src/app/*.cpp -o primesieve.exe "C:\Program Files\LLVM\lib\clang\18\lib\windows\clang_rt.builtins-x86_64.lib" +clang++ -I../include -O3 -mpopcnt -DNDEBUG -DENABLE_MULTIARCH_AVX512_BW -DENABLE_MULTIARCH_AVX512_VBMI2 ../src/*.cpp ../src/x86/*.cpp ../src/app/*.cpp -o primesieve.exe "C:\Program Files\LLVM\lib\clang\18\lib\windows\clang_rt.builtins-x86_64.lib" diff --git a/lib/primesieve/scripts/build_mingw64_x64.sh b/lib/primesieve/scripts/build_mingw64_x64.sh index 187f24ff..7002c91c 100755 --- a/lib/primesieve/scripts/build_mingw64_x64.sh +++ b/lib/primesieve/scripts/build_mingw64_x64.sh @@ -45,7 +45,7 @@ git pull mkdir build-release cd build-release -g++ -static -O3 -mpopcnt -flto -DNDEBUG -D_WIN32_WINNT=0x0A00 -Wall -Wextra -pedantic -DENABLE_MULTIARCH_AVX512_VBMI2 -I ../include ../src/*.cpp ../src/x86/*.cpp ../src/app/*.cpp -o primesieve.exe +g++ -static -O3 -mpopcnt -flto -DNDEBUG -D_WIN32_WINNT=0x0A00 -Wall -Wextra -pedantic -DENABLE_MULTIARCH_AVX512_BW -DENABLE_MULTIARCH_AVX512_VBMI2 -I ../include ../src/*.cpp ../src/x86/*.cpp ../src/app/*.cpp -o primesieve.exe strip primesieve.exe # Create a release zip archive