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