|
| 1 | +# This file is generated by dune, edit dune-project instead |
| 2 | +opam-version: "2.0" |
| 3 | +synopsis: |
| 4 | + "Cross-compiler friendly ABI and library discovery for OCaml's native C compilers" |
| 5 | +description: """ |
| 6 | +dkml-c-probe simplifies the creation of cross-compiling compatible foreign C stub code. It includes two components: |
| 7 | + |
| 8 | +C_abi: Introspects OCaml's native C compiler, including cross-compilers, to determine the ABI those C compilers will generate |
| 9 | +C_conf: Supplies flags to C compilers and OCaml tools that specify the locations of C headers and C libraries""" |
| 10 | +maintainer: ["opensource+diskuv-ocaml@support.diskuv.com"] |
| 11 | +authors: ["Diskuv, Inc. <opensource+diskuv-ocaml@support.diskuv.com>"] |
| 12 | +license: "Apache-2.0" |
| 13 | +homepage: "https://github.com/diskuv/dkml-c-probe#readme" |
| 14 | +bug-reports: "https://github.com/diskuv/dkml-c-probe/issues" |
| 15 | +depends: [ |
| 16 | + "dune" {>= "2.9"} |
| 17 | + "ocaml" {>= "4.12.1"} |
| 18 | + "ounit2" {>= "2.2.0" & with-test} |
| 19 | + "mdx" {>= "2.0.0" & with-test} |
| 20 | + "dune-configurator" {>= "2.9" & build} |
| 21 | + "odoc" {with-doc} |
| 22 | +] |
| 23 | +dev-repo: "git+https://github.com/diskuv/dkml-c-probe.git" |
| 24 | +conflicts: [ "result" {< "1.5"} ] |
| 25 | +# Until Dune 3+ the auto-generated 'dune' will have an invalid ["dune" "install" ...] step |
| 26 | +# that messes up with cross-compilation. Customized it to remove it. |
| 27 | +build: [ |
| 28 | + ["dune" "subst"] {dev} |
| 29 | + ["dune" "build" "-p" name "-j" jobs] |
| 30 | + ["dune" "build" "-p" name "-j" jobs "@runtest"] {with-test} |
| 31 | + ["dune" "build" "-p" name "-j" jobs "@doc"] {with-doc} |
| 32 | +] |
| 33 | +# dkml-c-probe has strong backwards-compatibility. |
| 34 | +# Any 3.x minor version is maintained for the latest patch version. |
| 35 | +# Please upgrade if there is a patch version for a minor release; |
| 36 | +# the patch generally means there was an important bug fix. |
| 37 | +# Also the latest version is maintained, in case it gets to 4.x.x. |
| 38 | +x-maintenance-intent: ["latest" "3.(any).(latest)"] |
| 39 | +url { |
| 40 | + src: "https://github.com/diskuv/dkml-c-probe/archive/3.2.0.tar.gz" |
| 41 | + checksum: [ |
| 42 | + "md5=238cfd11173daec2b3eca8df345f42b1" |
| 43 | + "sha512=0aaf15f0f893ec947ef26545af482d5536ddc2d5a34356d3004dda5c83372d0c488d79ba577dcfed27ff9e4a336f247337b5c9b57d7b2d97563ab8569a886713" |
| 44 | + ] |
| 45 | +} |
0 commit comments