Merge pull request #188490 from risicle/ris-openblas-passthru-tests

This commit is contained in:
Sandro 2022-08-28 23:29:54 +02:00 committed by GitHub
commit 1a9d22934c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,13 @@
, enableAVX512 ? false
, enableStatic ? stdenv.hostPlatform.isStatic
, enableShared ? !stdenv.hostPlatform.isStatic
# for passthru.tests
, ceres-solver
, giac
, octave
, opencv
, python3
}:
with lib;
@ -225,6 +232,11 @@ EOF
ln -s $out/lib/libopenblas.a $out/lib/liblapacke.a
'';
passthru.tests = {
inherit (python3.pkgs) numpy scipy;
inherit ceres-solver giac octave opencv;
};
meta = with lib; {
description = "Basic Linear Algebra Subprograms";
license = licenses.bsd3;