mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-27 14:34:33 +00:00
qrupdate: fix darwin
with the sdk refactor cmake will use Accelerate for the blas/lapack libs. Unfortunately, this breaks qrupdate and causes all test to fail, most of them by segfaulting. Set the Blas vendor to Generic to prevent cmake from using Accelerate and use the nixpkgs provided blas/lapack libraries
This commit is contained in:
parent
193adc7e11
commit
c7a88d13a9
@ -28,6 +28,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# https://savannah.gnu.org/bugs/?50339
|
||||
"-fdefault-integer-8"
|
||||
])}"
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# prevent cmake from using Accelerate, which causes all tests to segfault
|
||||
"-DBLA_VENDOR=Generic"
|
||||
];
|
||||
|
||||
# https://github.com/mpimd-csc/qrupdate-ng/issues/4
|
||||
|
Loading…
Reference in New Issue
Block a user