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" {<= "14"} "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 != "arm64" & 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}%" conf-libclang:clangml460_configure_options] ["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/-/archive/v4.6.0/clangml-v4.6.0.tar.gz" checksum: "sha512=70fc8a1e83e5c96d742c8517c6e30a2e08c233e622a493417c31688dbab25d4e1edd8e54abdcb60438b8e5c942206d34e7b64fa2f45aaafcd44411959a06857f" } 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" }