|
| 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 <thibaut.mattio@gmail.com>"] |
| 6 | +authors: ["Thibaut Mattio <thibaut.mattio@gmail.com>"] |
| 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=b2ede0a8faf0088b527768dc6fdc59b9cd8c077cc8f4d448e6d18fcca76f2922" |
| 62 | + "sha512=db39b92aaf6d50cd371cbe604cf6b340ec3badc093c09bbc3b50284c3b948031b0a76b0ca4a4ac9fcebacaf206583b25d01a70b4cd26495cbebe9f148f5b189c" |
| 63 | + ] |
| 64 | +} |
| 65 | +x-commit-hash: "545f58ae3f76400815f26d747ba384ed0ee15d34" |
0 commit comments