forked from mirrors/nixpkgs
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
|
|
}
|