mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 10:24:15 +00:00
ff2f2644f8
This is a better name since we have multiple 64-bit things that could be referred to. LP64 : integer=32, long=64, pointer=64 ILP64 : integer=64, long=64, pointer=64
30 lines
602 B
Nix
30 lines
602 B
Nix
{ stdenv
|
|
, buildDunePackage
|
|
, dune-configurator
|
|
, fetchFromGitHub
|
|
, alcotest
|
|
, eigen
|
|
, stdio
|
|
, stdlib-shims
|
|
, openblas, blas, lapack
|
|
, owl-base
|
|
, npy
|
|
}:
|
|
|
|
assert (!blas.isILP64) && (!lapack.isILP64);
|
|
assert blas.implementation == "openblas" && lapack.implementation == "openblas";
|
|
|
|
buildDunePackage rec {
|
|
pname = "owl";
|
|
|
|
inherit (owl-base) version src meta useDune2;
|
|
|
|
checkInputs = [ alcotest ];
|
|
buildInputs = [ dune-configurator ];
|
|
propagatedBuildInputs = [
|
|
eigen stdio stdlib-shims openblas owl-base npy
|
|
];
|
|
|
|
doCheck = !stdenv.isDarwin; # https://github.com/owlbarn/owl/issues/462
|
|
}
|