this repo has no description
1opam-version: "2.0"
2synopsis: "Latest 4.08.2 development, with frame-pointers and flambda activated"
3maintainer: [
4 "David Allsopp <david@tarides.com>"
5 "Florian Angeletti <florian.angeletti@inria.fr>"
6]
7authors: ["Xavier Leroy" "Damien Doligez" "Alain Frisch" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon"]
8homepage: "https://ocaml.org"
9bug-reports: "https://github.com/ocaml/opam-repository/issues"
10dev-repo: "git+https://github.com/ocaml/ocaml.git#4.08"
11depends: [
12 "ocaml" {= "4.08.2" & post}
13 "base-unix" {post}
14 "base-bigarray" {post}
15 "base-threads" {post}
16 "ocaml-beta" {opam-version < "2.1.0"}
17]
18conflict-class: "ocaml-core-compiler"
19flags: [ compiler avoid-version ]
20setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
21build: [
22 ["sed" "-ib" "-e" "s/ -Werror//" "configure"]
23 [
24 "./configure"
25 "--prefix=%{prefix}%"
26 "--enable-frame-pointers"
27 "--enable-flambda"
28 ] {os != "openbsd" & os != "freebsd" & os != "macos"}
29 [
30 "./configure"
31 "--prefix=%{prefix}%"
32 "--enable-frame-pointers"
33 "--enable-flambda"
34 "CC=cc"
35 "ASPP=cc -c"
36 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
37 [make "-j%{jobs}%" {os != "cygwin"} "world"]
38 [make "-j%{jobs}%" {os != "cygwin"} "world.opt"]
39]
40install: [make "install"]
41url {
42 src: "https://github.com/ocaml/ocaml/archive/4.08.tar.gz"
43}
44post-messages: [
45 "A failure in the middle of the build may be caused by build parallelism
46 (enabled by default).
47 See https://github.com/ocaml/opam-repository/pull/14257 for more info."
48 {failure & jobs > 1 & os != "cygwin"}
49 "You can try installing again including --jobs=1
50 to force a sequential build instead."
51 {failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
52]
53patches: ["fix-gcc10.patch"]
54available: os = "linux" & arch = "x86_64"
55extra-source "fix-gcc10.patch" {
56 src:
57 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-variants/fix-gcc10.patch.4.08.2"
58 checksum: [
59 "sha256=e5a116608a20558fcd6c70c05978dc0c0b792f8dc10cfff119ddd6cce4b7dda1"
60 "md5=17ecd696a8f5647a4c543280599f6974"
61 ]
62}