2024-01-25 14:12:00 +00:00
|
|
|
{ buildDunePackage
|
2020-04-24 23:36:52 +00:00
|
|
|
, dune-configurator
|
|
|
|
, alcotest
|
2023-07-15 17:15:38 +00:00
|
|
|
, ctypes
|
2020-04-24 23:36:52 +00:00
|
|
|
, stdio
|
2020-05-15 21:57:56 +00:00
|
|
|
, openblasCompat
|
2020-04-24 23:36:52 +00:00
|
|
|
, owl-base
|
|
|
|
, npy
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "owl";
|
|
|
|
|
2023-02-16 17:41:37 +00:00
|
|
|
inherit (owl-base) version src meta;
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ alcotest ];
|
2020-11-19 00:13:47 +00:00
|
|
|
buildInputs = [ dune-configurator stdio ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [
|
2023-07-15 17:15:38 +00:00
|
|
|
ctypes
|
2023-02-09 11:40:11 +00:00
|
|
|
openblasCompat
|
|
|
|
owl-base
|
|
|
|
npy
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
doCheck = false;
|
|
|
|
# Tests fail with Clang: https://github.com/owlbarn/owl/issues/462
|
|
|
|
# and with GCC 13: https://github.com/owlbarn/owl/issues/653
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|