this repo has no description
1opam-version: "2.0"
2synopsis: "Second beta for 4.07.0 with frame-pointers and flambda activated"
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 [
22 "./configure"
23 "-prefix"
24 prefix
25 "-with-debug-runtime"
26 "-with-frame-pointers"
27 "-flambda"
28 ] {os != "openbsd" & os != "freebsd" & os != "macos"}
29 [
30 "./configure"
31 "-prefix"
32 prefix
33 "-with-debug-runtime"
34 "-with-frame-pointers"
35 "-flambda"
36 "-cc"
37 "cc"
38 "-aspp"
39 "cc -c"
40 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
41 [make "-j%{jobs}%" {os != "cygwin"} "world"]
42 [make "-j%{jobs}%" {os != "cygwin"} "world.opt"]
43]
44install: [make "install"]
45url {
46 src: "https://github.com/ocaml/ocaml/archive/4.07.0+beta2.tar.gz"
47 checksum: [
48 "sha256=77c65438997573cf9e2af72d2525b45570aaa3fb87a6539b26c400316f89c110"
49 "md5=7730fea507d108b5e30ced23613980c8"
50 ]
51}
52post-messages: [
53 "A failure in the middle of the build may be caused by build parallelism
54 (enabled by default).
55 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
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-base-compiler/fix-gcc10.patch.4.07.0"
66 checksum: [
67 "sha256=f0a7ee630046ffb83fb2a78ca5a81e288e817fbda6b12692dadb79ab93a8737d"
68 "md5=b054fa6b6651763edc8e16b6bc4c58f6"
69 ]
70}
71x-maintained: false