python.pkgs.scipy: set SCIPY_USE_G77_ABI_WRAPPER=1
To avoid segmentation fault on MKL, we need to use the CBLAS ABI.
Normally, scipy will autodetect this, but here we don’t link using the
‘libmkl_rt.so’ name. So we need to manually set this.
See 50012918db/doc/source/building/linux.rst (fortran-abi-mismatch)
This commit is contained in:
parent
5a500ff0ba
commit
3d18975478
@ -53,6 +53,8 @@ in buildPythonPackage rec {
|
||||
|
||||
setupPyBuildFlags = [ "--fcompiler='gnu95'" ];
|
||||
|
||||
SCIPY_USE_G77_ABI_WRAPPER = 1;
|
||||
|
||||
meta = {
|
||||
description = "SciPy (pronounced 'Sigh Pie') is open-source software for mathematics, science, and engineering. ";
|
||||
homepage = "https://www.scipy.org/";
|
||||
|
Loading…
Reference in New Issue
Block a user