this repo has no description
1opam-version: "2.0"
2synopsis: "OCaml 4.02, with support for modular implicits and staging."
3maintainer: "David Allsopp <david@tarides.com>"
4depends: [
5 "ocaml" {= "4.02.1" & post}
6 "base-unix" {post}
7 "base-bigarray" {post}
8 "base-threads" {post}
9 "base-ocamlbuild" {post}
10 "base-metaocaml-ocamlfind" {post}
11 "base-implicits" {post}
12]
13conflict-class: "ocaml-core-compiler"
14flags: compiler
15setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
16build: [
17 [
18 "sed"
19 "-ib"
20 "-e"
21 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
22 "config/auto-aux/hasgot"
23 ] {os = "macos"}
24 ["./configure" "-prefix" "%{prefix}%"]
25 {os != "openbsd" & os != "freebsd" & os != "macos"}
26 ["./configure" "-prefix" "%{prefix}%" "-cc" "cc" "-aspp" "cc -c"]
27 {os = "openbsd" | os = "freebsd" | os = "macos"}
28 ["%{make}%" "world" "opt" "opt.opt"]
29]
30install: [
31 ["%{make}%" "install"]
32 ["%{make}%" "-C" "metalib" "all" "install"]
33]
34url {
35 src: "https://github.com/yallop/ocaml/archive/modular-implicits-ber.tar.gz"
36 checksum: [
37 "sha256=62de7fc1c76795eb29c5105d5ee1ad864d16d17ff31f4da6ee92684d2a2351d2"
38 "md5=092638ee80c1a982b341b66edcc15c18"
39 ]
40}
41patches: ["fix-gcc10.patch" "gpr1330.patch" "alt-signal-stack.patch"]
42available: !(os = "macos" & arch = "arm64")
43extra-source "alt-signal-stack.patch" {
44 src: "https://github.com/ocaml/ocaml/commit/9de2b77472aee18a94b41cff70caee27fb901225.patch?full_index=1"
45 checksum: "sha256=91841447cc2d11ebe67a078ace677a18f06432ebf15c4c6d5a09e04b67dd041a"
46}
47extra-source "gpr1330.patch" {
48 src: "https://github.com/ocaml/ocaml/commit/bcc7a767279ff70518b3f4219cc0b9bffec7dd43.patch?full_index=1"
49 checksum: "sha256=594d4dd6c192fe77e9fc025674b51e3de74d70326b2e750a249a09eeded68716"
50}
51extra-source "fix-gcc10.patch" {
52 src:
53 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.02.1"
54 checksum: [
55 "sha256=70a506f8f44a472fc27cf4d7097d5fa47d15ea584dd956a39b73c0e8cf1e35b4"
56 "md5=4afa0ebb0a06b65e95e4906e1dced628"
57 ]
58}