|
| 1 | +opam-version: "2.0" |
| 2 | +synopsis: "Fast, portable, and opinionated build system" |
| 3 | +description: """ |
| 4 | + |
| 5 | +dune is a build system that was designed to simplify the release of |
| 6 | +Jane Street packages. It reads metadata from "dune" files following a |
| 7 | +very simple s-expression syntax. |
| 8 | + |
| 9 | +dune is fast, has very low-overhead, and supports parallel builds on |
| 10 | +all platforms. It has no system dependencies; all you need to build |
| 11 | +dune or packages using dune is OCaml. You don't need make or bash |
| 12 | +as long as the packages themselves don't use bash explicitly. |
| 13 | + |
| 14 | +dune supports multi-package development by simply dropping multiple |
| 15 | +repositories into the same directory. |
| 16 | + |
| 17 | +It also supports multi-context builds, such as building against |
| 18 | +several opam roots/switches simultaneously. This helps maintaining |
| 19 | +packages across several versions of OCaml and gives cross-compilation |
| 20 | +for free. |
| 21 | +""" |
| 22 | +maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"] |
| 23 | +authors: ["Jane Street Group, LLC <opensource@janestreet.com>"] |
| 24 | +license: "MIT" |
| 25 | +homepage: "https://github.com/ocaml/dune" |
| 26 | +doc: "https://dune.readthedocs.io/" |
| 27 | +bug-reports: "https://github.com/ocaml/dune/issues" |
| 28 | +conflicts: [ |
| 29 | + "merlin" {< "3.4.0"} |
| 30 | + "ocaml-lsp-server" {< "1.3.0"} |
| 31 | + "dune-configurator" {< "2.3.0"} |
| 32 | + "odoc" {< "1.3.0"} |
| 33 | + "dune-release" {< "1.3.0"} |
| 34 | + "js_of_ocaml-compiler" {< "3.6.0"} |
| 35 | + "jbuilder" {= "transition"} |
| 36 | +] |
| 37 | +dev-repo: "git+https://github.com/ocaml/dune.git" |
| 38 | +build: [ |
| 39 | + # opam 2 sets OPAM_SWITCH_PREFIX, so we don't need a hardcoded path |
| 40 | + ["ocaml" "configure.ml" "--libdir" lib] {opam-version < "2"} |
| 41 | + ["ocaml" "bootstrap.ml" "-j" jobs] |
| 42 | + ["./dune.exe" "build" "-p" name "--profile" "dune-bootstrap" "-j" jobs] |
| 43 | +] |
| 44 | +depends: [ |
| 45 | + # Please keep the lower bound in sync with .github/workflows/workflow.yml, |
| 46 | + # dune-project and min_ocaml_version in bootstrap.ml |
| 47 | + ("ocaml" {>= "4.08"} | ("ocaml" {< "4.08~~"} & "ocamlfind-secondary")) |
| 48 | + "base-unix" |
| 49 | + "base-threads" |
| 50 | +] |
| 51 | +x-commit-hash: "afc891abda455a87fc7e968f706ab65c822d7122" |
| 52 | +url { |
| 53 | + src: "https://github.com/ocaml/dune/releases/download/2.8.3/dune-2.8.3.tbz" |
| 54 | + checksum: [ |
| 55 | + "sha256=67a8c5a048bb13bccb39149bedc4704376ffdbe7a27f19d6fc58e3cf6d124de8" |
| 56 | + "sha512=fed134a978a86f9ed0cd007853291d8e072f67ba16197b033693fd32b19f44c6fa0ee370afda260b541944b1bf1dc3f8427618e2ab86e787ad784a30bed91aa3" |
| 57 | + ] |
| 58 | +} |
0 commit comments