opam-version: "2.0"
maintainer: "Timothy Bourke <tim@tbrk.org>"
authors: ["Xavier Leroy"]
homepage: "https://github.com/xavierleroy/ocamlmpi"
bug-reports: "https://github.com/xavierleroy/ocamlmpi/issues"
dev-repo: "git://github.com/xavierleroy/ocamlmpi"
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception"
build: [
  [make "all" "opt"
    "MPIINCDIR=%{conf-mpi:includedir}%"
    "MPILIBDIR=%{conf-mpi:libdir}%"
    "MPICC=%{conf-mpi:binpath}%mpicc"
    "MPIRUN=%{conf-mpi:binpath}%mpirun"
  ]
]
patches: ["post105.patch"]
install: [[make "install"]]
remove: [[make "uninstall"]]
x-ci-accept-failures: ["debian-unstable"]
depends: [
  "ocaml" {>= "4.06.0"}
  "base-bigarray"
  "conf-mpi"
  "ocamlfind" {build}
]
synopsis: "OCaml binding to the Message Passing Interface (MPI)"
url {
  src: "https://github.com/xavierleroy/ocamlmpi/archive/rel105.tar.gz"
  checksum: "md5=c99fa6a44b59102986581a5136cfc58c"
}
