this repo has no description
1opam-version: "2.0"
2license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
3synopsis: "Latest 4.12 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.12"
12depends: [
13 "ocaml" {= "4.12.2" & 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 [
24 "./configure"
25 "--prefix=%{prefix}%"
26 "-C"
27 "--with-afl" {ocaml-option-afl:installed}
28 "--disable-native-compiler" {ocaml-option-bytecode-only:installed}
29 "--disable-force-safe-string" {ocaml-option-default-unsafe-string:installed}
30 "DEFAULT_STRING=unsafe" {ocaml-option-default-unsafe-string:installed}
31 "--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed}
32 "--enable-flambda" {ocaml-option-flambda:installed}
33 "--enable-frame-pointers" {ocaml-option-fp:installed}
34 "--disable-naked-pointers" {ocaml-option-nnp:installed}
35 "--enable-naked-pointers-checker" {ocaml-option-nnpchecker:installed}
36 "CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
37 "CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"}
38 "CFLAGS=-Os" {ocaml-option-musl:installed}
39 "CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"}
40 "CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"}
41 "ASPP=cc -c" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
42 "ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"}
43 "ASPP=gcc -m32 -c" {ocaml-option-32bit:installed & os="linux"}
44 "ASPP=gcc -arch i386 -m32 -c" {ocaml-option-32bit:installed & os="macos"}
45 "AS=as --32" {ocaml-option-32bit:installed & os="linux"}
46 "AS=as -arch i386" {ocaml-option-32bit:installed & os="macos"}
47 "--host=i386-linux" {ocaml-option-32bit:installed & os="linux"}
48 "--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"}
49 "PARTIALLD=ld -r -melf_i386" {ocaml-option-32bit:installed & os="linux"}
50 "LIBS=-static" {ocaml-option-static:installed}
51 "--disable-warn-error"
52 ]
53 [make "-j%{jobs}%"]
54]
55install: [make "install"]
56url {
57 src: "https://github.com/ocaml/ocaml/archive/4.12.tar.gz"
58}
59post-messages: [
60 "A failure in the middle of the build may be caused by build parallelism
61 (enabled by default).
62 See https://github.com/ocaml/opam-repository/pull/14257 for more info."
63 {failure & jobs > 1}
64 "You can try installing again including --jobs=1
65 to force a sequential build instead."
66 {failure & jobs > 1 & opam-version >= "2.0.5"}
67]
68depopts: [
69 "ocaml-option-32bit"
70 "ocaml-option-afl"
71 "ocaml-option-bytecode-only"
72 "ocaml-option-default-unsafe-string"
73 "ocaml-option-no-flat-float-array"
74 "ocaml-option-flambda"
75 "ocaml-option-fp"
76 "ocaml-option-musl"
77 "ocaml-option-static"
78 "ocaml-option-nnp"
79 "ocaml-option-nnpchecker"
80]