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