this repo has no description
1opam-version: "2.0"
2license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
3synopsis: "Latest 4.10 development"
4maintainer: [
5 "David Allsopp <david@tarides.com>"
6 "Florian Angeletti <florian.angeletti@inria.fr>"
7]
8authors: ["Xavier Leroy" "Damien Doligez" "Alain Frisch" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon"]
9homepage: "https://ocaml.org"
10bug-reports: "https://github.com/ocaml/opam-repository/issues"
11dev-repo: "git+https://github.com/ocaml/ocaml.git#4.10"
12depends: [
13 "ocaml" {= "4.10.3" & post}
14 "base-unix" {post}
15 "base-bigarray" {post}
16 "base-threads" {post}
17 "ocaml-beta" {opam-version < "2.1.0"}
18]
19conflict-class: "ocaml-core-compiler"
20flags: [ compiler avoid-version ]
21setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
22build: [
23 ["sed" "-ib" "-e" "s/ -Werror//" "configure"]
24 ["./configure" "--prefix=%{prefix}%"]
25 {os != "openbsd" & os != "freebsd" & os != "macos"}
26 [
27 "./configure"
28 "--prefix=%{prefix}%"
29 "CC=cc"
30 "ASPP=cc -c"
31 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
32 [make "-j%{jobs}%" "world"]
33 [make "-j%{jobs}%" "world.opt"]
34]
35install: [make "install"]
36url {
37 src: "https://github.com/ocaml/ocaml/archive/4.10.tar.gz"
38}
39post-messages: [
40 "A failure in the middle of the build may be caused by build parallelism
41 (enabled by default).
42 See https://github.com/ocaml/opam-repository/pull/14257 for more info."
43 {failure & jobs > 1}
44 "You can try installing again including --jobs=1
45 to force a sequential build instead."
46 {failure & jobs > 1 & opam-version >= "2.0.5"}
47]