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