opam-version: "2.0" synopsis: "OCaml bindings for Clang API" description: """ clangml provides bindings to call the Clang API from OCaml. """ maintainer: ["Thierry Martinez "] authors: ["Thierry Martinez "] license: "BSD-2-Clause" homepage: "https://memcad.gitlabpages.inria.fr/clangml/" doc: "https://memcad.gitlabpages.inria.fr/clangml/doc/clangml/index.html" bug-reports: "https://gitlab.inria.fr/memcad/clangml/issues" depends: [ "conf-libclang" {<= "13"} "conf-ncurses" "conf-zlib" "dune" {>= "1.11.0"} "stdcompat" {>= "13"} "ocaml" {>= "4.08.0" & < "5.0"} "ocamlfind" {build & >= "1.8.0"} "ocamlcodoc" {with-test & >= "1.0.1"} "pattern" {with-test & >= "0.2.0"} "metapp" {>= "0.4.0"} "metaquot" {>= "0.4.0"} "refl" {>= "0.4.0"} "odoc" {with-doc & >= "1.5.1"} "ppxlib" {>= "0.23" & < "0.26"} "ocaml-migrate-parsetree" {>= "2.2.0"} "conf-bash" {build} ] x-ci-accept-failures: [ "centos-7" # GCC does not support --std=c++14 "archlinux" # LLVM not detected "oraclelinux-7" # LLVM not detected ] available: arch != "arm32" & arch != "ppc64" # Compiler segfaults on those architectures dev-repo: "git+https://gitlab.inria.fr/memcad/clangml" build: [ ["./configure" "--prefix=%{prefix}%" "--with-llvm-config=%{conf-libclang:config}%"] ["bash" "-ex" "./build_with_bigger_stack_size.sh" "dune" "build" "-p" name "-j" jobs "@install" "@runtest" {with-test} "@doc" {with-doc}]] url { src: "https://gitlab.inria.fr/memcad/clangml/uploads/888b796e6a42405e831315d967bf094d/clangml.4.5.0.tar.gz" checksum: "sha512=f0e0da9290a4f7e9a193754236ea028cabf2a0039f3c2e49a85e53a2cd6a2a78eade60f0c0bd73d272cd0e4bc7fba4333a645faaf14f94e4404498e4144306fc" } extra-source "build_with_bigger_stack_size.sh" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/clangml/build_with_bigger_stack_size.sh" checksum: "sha512=16e37f951916194b1afc077b61283f4f691bffeea9407a7192eebad65b92b6e2e0747c8d3640b4fbaf2fe9e9138cb82bb3f898e21a803b186dd4ac5492b103bd" }