numpy: set lapack, blas sections
When using netlib lapack/blas, the section name doesn’t match what numpy expects. So we need to add extra sections for both so that the right directory is found. The original “blas.implementation” section may not actually be still required, but it is still a good idea so that numpy know whether to apply any blas-implementation specific quirks. Fixes #86613
This commit is contained in:
parent
bc48203b98
commit
8bdb2a058e
1 changed files with 8 additions and 0 deletions
|
@ -23,6 +23,14 @@ let
|
|||
library_dirs = "${blas}/lib:${lapack}/lib";
|
||||
libraries = "lapack,lapacke,blas,cblas";
|
||||
};
|
||||
lapack = {
|
||||
include_dirs = "${lib.getDev lapack}/include";
|
||||
library_dirs = "${lapack}/lib";
|
||||
};
|
||||
blas = {
|
||||
include_dirs = "${lib.getDev blas}/include";
|
||||
library_dirs = "${blas}/lib";
|
||||
};
|
||||
});
|
||||
};
|
||||
in buildPythonPackage rec {
|
||||
|
|
Loading…
Reference in a new issue