You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
2.1 KiB
54 lines
2.1 KiB
opam-version: "2.0" |
|
synopsis: "Fast, portable, and opinionated build system" |
|
description: """ |
|
|
|
dune is a build system that was designed to simplify the release of |
|
Jane Street packages. It reads metadata from "dune" files following a |
|
very simple s-expression syntax. |
|
|
|
dune is fast, has very low-overhead, and supports parallel builds on |
|
all platforms. It has no system dependencies; all you need to build |
|
dune or packages using dune is OCaml. You don't need make or bash |
|
as long as the packages themselves don't use bash explicitly. |
|
|
|
dune supports multi-package development by simply dropping multiple |
|
repositories into the same directory. |
|
|
|
It also supports multi-context builds, such as building against |
|
several opam roots/switches simultaneously. This helps maintaining |
|
packages across several versions of OCaml and gives cross-compilation |
|
for free. |
|
""" |
|
maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"] |
|
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"] |
|
license: "MIT" |
|
homepage: "https://github.com/ocaml/dune" |
|
doc: "https://dune.readthedocs.io/" |
|
bug-reports: "https://github.com/ocaml/dune/issues" |
|
conflicts: [ |
|
"dune-configurator" {< "2.3.0"} |
|
"odoc" {< "1.3.0"} |
|
"dune-release" {< "1.3.0"} |
|
"jbuilder" {= "transition"} |
|
] |
|
dev-repo: "git+https://github.com/ocaml/dune.git" |
|
build: [ |
|
# opam 2 sets OPAM_SWITCH_PREFIX, so we don't need a hardcoded path |
|
["ocaml" "configure.ml" "--libdir" lib] {opam-version < "2"} |
|
["ocaml" "bootstrap.ml" "-j" jobs] |
|
["./dune.exe" "build" "-p" name "--profile" "dune-bootstrap" "-j" jobs] |
|
] |
|
depends: [ |
|
# Please keep the lower bound in sync with .travis.yml, dune-project |
|
# and min_ocaml_version in bootstrap.ml |
|
("ocaml" {>= "4.07"} | ("ocaml" {< "4.07~~"} & "ocamlfind-secondary")) |
|
"base-unix" |
|
"base-threads" |
|
] |
|
url { |
|
src: "https://github.com/ocaml/dune/releases/download/2.3.1/dune-2.3.1.tbz" |
|
checksum: [ |
|
"sha256=b2b3dd9cdfd34ef8c4583ea8c52c3503c2395bf94c264af19d6450547e12f5cb" |
|
"sha512=023fe4ddf743b8de24de0d7d2e6d5d0f85e459c5044aa4ba3de02cf63113d54d79004cc8ea8f7a958b324e9cbeef0845ec6a0f65454bc6a2e635e8944d28a0f9" |
|
] |
|
}
|
|
|