diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-03-31 10:47:18 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-04-17 16:24:09 -0500 |
commit | 1c8aba83340be3713f68410d1d273a8b15e7e007 (patch) | |
tree | fdc752744f384be57b6ff3c65495018432bff0ab /pkgs/development/ocaml-modules/owl | |
parent | 43873351ffed36b52170571839e26b57c9f15920 (diff) | |
download | nixpkgs-1c8aba83340be3713f68410d1d273a8b15e7e007.tar nixpkgs-1c8aba83340be3713f68410d1d273a8b15e7e007.tar.gz nixpkgs-1c8aba83340be3713f68410d1d273a8b15e7e007.tar.bz2 nixpkgs-1c8aba83340be3713f68410d1d273a8b15e7e007.tar.lz nixpkgs-1c8aba83340be3713f68410d1d273a8b15e7e007.tar.xz nixpkgs-1c8aba83340be3713f68410d1d273a8b15e7e007.tar.zst nixpkgs-1c8aba83340be3713f68410d1d273a8b15e7e007.zip |
treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different BLAS/LAPACK implementations. treewide: cleanup from blas/lapack changes A few issues in the original treewide: - can’t assume blas64 is a bool - unused commented code
Diffstat (limited to 'pkgs/development/ocaml-modules/owl')
-rw-r--r-- | pkgs/development/ocaml-modules/owl/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/owl/default.nix b/pkgs/development/ocaml-modules/owl/default.nix index 7fa912d808d..c84743a8da5 100644 --- a/pkgs/development/ocaml-modules/owl/default.nix +++ b/pkgs/development/ocaml-modules/owl/default.nix @@ -6,11 +6,14 @@ , eigen , stdio , stdlib-shims -, openblasCompat +, openblas, blas, lapack , owl-base , npy }: +assert (!blas.is64bit) && (!lapack.is64bit); +assert blas.implementation == "openblas" && lapack.implementation == "openblas"; + buildDunePackage rec { pname = "owl"; @@ -19,7 +22,7 @@ buildDunePackage rec { checkInputs = [ alcotest ]; buildInputs = [ dune-configurator ]; propagatedBuildInputs = [ - eigen stdio stdlib-shims openblasCompat owl-base npy + eigen stdio stdlib-shims openblas owl-base npy ]; doCheck = !stdenv.isDarwin; # https://github.com/owlbarn/owl/issues/462 |