this repo has no description
1opam-version: "2.0"
2maintainer: ["Thierry Martinez <thierry.martinez@inria.fr>"]
3authors: ["Thierry Martinez <thierry.martinez@inria.fr>"]
4bug-reports: "https://gitlab.inria.fr/memcad/clangml"
5homepage: "https://gitlab.inria.fr/memcad/clangml"
6doc: "https://gitlab.inria.fr/memcad/clangml"
7license: "BSD"
8dev-repo: "git+https://gitlab.inria.fr/memcad/clangml"
9synopsis: "OCaml bindings for Clang API"
10description: """
11clangml provides bindings to call the Clang API from OCaml.
12"""
13depends: [
14 "conf-libclang" { < "10" }
15 "conf-ncurses"
16 "conf-zlib"
17 "dune" {>= "1.10.0"}
18 "ppxlib" {>= "0.9.0" & < "0.14.0"}
19 "stdcompat" {>= "10"}
20 "override" {>= "0.1.0"}
21 "ppx_deriving" {>= "4.3"}
22 "ocaml" {>= "4.04.0"}
23 "ocamlfind" {build & >= "1.8.0"}
24 "ocamlcodoc" {with-test}
25 "pattern" {with-test & >= "0.1.0" & < "0.2.0"}
26]
27# $equivalent_version is used by clangml.4.0.1, which does not recognize
28# Clang/LLVM 9.0.1, but there is no change in API between Clang 9.0.0 and
29# Clang 9.0.1.
30build: [
31 ["./configure" "--prefix=%{prefix}%"
32 "--with-llvm-config=%{conf-libclang:config}%"
33 "--with-llvm-version=%{conf-libclang:equivalent_version}%"
34 {conf-libclang:equivalent_version != ""}]
35 ["dune" "build" "-p" name "-j" jobs]]
36run-test: [["dune" "runtest" "-p" name "-j" jobs]]
37url {
38 src: "https://gitlab.inria.fr/memcad/clangml/-/archive/v4.0.1/clangml-v4.0.1.tar.gz"
39 checksum: "sha512=6585b26e26431942ea69b77b69f86d8582af0ef829a39244fc5d1b6ecd499e3ed6c4869d43d676b2222e3ad247c5caf370dd0f54ac850d5c1fb84e3fcd7d6cdc"
40}