openblas: fix build on aarch64-linux (PR #193729)
This commit is contained in:
parent
fc5f95bde9
commit
428401133f
|
@ -147,6 +147,11 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-F6cXPqQai4kA5zrsa8E0Q7dD9zZHlwZ+B16EOGNXoXs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# cc1: error: invalid feature modifier 'sve2' in '-march=armv8.5-a+sve+sve2+bf16'
|
||||
substituteInPlace Makefile.arm64 --replace "+sve2+bf16" ""
|
||||
'';
|
||||
|
||||
inherit blas64;
|
||||
|
||||
# Some hardening features are disabled due to sporadic failures in
|
||||
|
|
Loading…
Reference in a new issue