|
| 1 | +opam-version: "2.0" |
| 2 | +synopsis: "High-performance N-dimensional array library for OCaml" |
| 3 | +description: |
| 4 | + "Nx is the core component of the Raven ecosystem providing efficient numerical computation with multi-device support. It offers NumPy-like functionality with the benefits of OCaml's type system." |
| 5 | +maintainer: ["Thibaut Mattio < [email protected]>"] |
| 6 | +authors: ["Thibaut Mattio < [email protected]>"] |
| 7 | +license: "ISC" |
| 8 | +tags: ["numerical-computation" "tensor-library" "machine-learning"] |
| 9 | +homepage: "https://github.com/raven-ml/raven" |
| 10 | +doc: "https://raven-ml.dev/docs/" |
| 11 | +bug-reports: "https://github.com/raven-ml/raven/issues" |
| 12 | +depends: [ |
| 13 | + "ocaml" {>= "5.3.0"} |
| 14 | + "dune" {>= "3.19"} |
| 15 | + "dune-configurator" {build} |
| 16 | + "conf-pkg-config" {build} |
| 17 | + "conf-zlib" {build} |
| 18 | + "stdlib-shims" |
| 19 | + "alcotest" {with-test} |
| 20 | + "mdx" {with-test} |
| 21 | + "odoc" {with-doc} |
| 22 | +] |
| 23 | +build: [ |
| 24 | + ["dune" "subst"] {dev} |
| 25 | + [ |
| 26 | + "dune" |
| 27 | + "build" |
| 28 | + "-p" |
| 29 | + name |
| 30 | + "-j" |
| 31 | + jobs |
| 32 | + "--promote-install-files=false" |
| 33 | + "@install" |
| 34 | + "@runtest" {with-test} |
| 35 | + "@doc" {with-doc} |
| 36 | + ] |
| 37 | + ["dune" "install" "-p" name "--create-install-files" name] |
| 38 | +] |
| 39 | +dev-repo: "git+https://github.com/raven-ml/raven.git" |
| 40 | +x-maintenance-intent: ["(latest)"] |
| 41 | +depexts: [ |
| 42 | + ["libc-dev" "openblas-dev" "lapack-dev"] {os-distribution = "alpine"} |
| 43 | + ["epel-release" "openblas-devel"] {os-distribution = "centos"} |
| 44 | + ["libopenblas-dev" "liblapacke-dev"] {os-family = "debian"} |
| 45 | + ["libopenblas-dev" "liblapacke-dev"] {os-family = "ubuntu"} |
| 46 | + ["openblas-devel"] {os-family = "fedora"} |
| 47 | + ["libopenblas_openmp-devel"] {os-family = "suse" | os-family = "opensuse"} |
| 48 | + ["openblas" "lapacke" "cblas"] {os-distribution = "arch"} |
| 49 | + ["openblas"] {os = "macos" & os-distribution = "homebrew"} |
| 50 | + ["openblas" "lapacke"] {os = "freebsd"} |
| 51 | +] |
| 52 | +x-ci-accept-failures: [ |
| 53 | + "oraclelinux-7" |
| 54 | + "oraclelinux-8" |
| 55 | + "oraclelinux-9" |
| 56 | +] |
| 57 | +url { |
| 58 | + src: |
| 59 | + "https://github.com/raven-ml/raven/releases/download/1.0.0_alpha2/raven-1.0.0.alpha2.tbz" |
| 60 | + checksum: [ |
| 61 | + "sha256=e0ae701205380d5226a18caebf06a216a56d4ecd4ece7cef08110c8c9cee11b8" |
| 62 | + "sha512=7c03caae0a8d2e11be9e46725ece78dbdba150bfe3963c316ea8fe18bc3af82930cc9623835630278cb73836774e7943e6ee701a1f094b2afc819ba759c49649" |
| 63 | + ] |
| 64 | +} |
| 65 | +x-commit-hash: "f75c898b55fd719cde792da88e7e90f195b8346c" |
0 commit comments