Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

openblas: turn off AVX512 optimizations

The AVX512 optimization has a bug in openblas-0.3.5
and can also lead to slower code on Xeon Silver CPUs.

See https://github.com/xianyi/OpenBLAS/issues/1955
and https://github.com/xianyi/OpenBLAS/issues/2029

(cherry picked from commit 7035aa7de4fa8668b6d7feab7b1ed58015689d09)

+1
+1
pkgs/development/libraries/science/math/openblas/default.nix
··· 58 58 BINARY = 64; 59 59 TARGET = setTarget "ATHLON"; 60 60 DYNAMIC_ARCH = true; 61 + NO_AVX512 = true; 61 62 USE_OPENMP = true; 62 63 }; 63 64 };