this repo has no description
1opam-version: "2.0"
2synopsis: "OCaml 4.02, with support for modular implicits"
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-implicits" {post}
11]
12conflict-class: "ocaml-core-compiler"
13flags: compiler
14setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
15build: [
16 [
17 "sed"
18 "-ib"
19 "-e"
20 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
21 "config/auto-aux/hasgot"
22 ] {os = "macos"}
23 ["./configure" "-prefix" "%{prefix}%"]
24 {os != "openbsd" & os != "freebsd" & os != "macos"}
25 ["./configure" "-prefix" "%{prefix}%" "-cc" "cc" "-aspp" "cc -c"]
26 {os = "openbsd" | os = "freebsd" | os = "macos"}
27 ["%{make}%" "world"]
28 ["%{make}%" "world.opt"]
29]
30install: ["%{make}%" "install"]
31url {
32 src:
33 "https://github.com/ocamllabs/ocaml-modular-implicits/archive/modular-implicits.tar.gz"
34 checksum: [
35 "sha256=5cb13278d911ceeb8b28ed77b7c399469630bef0d95af6459f92520f351ddf21"
36 "md5=8238edd794d5043f9a28170a8d5dcf32"
37 ]
38}
39patches: ["fix-gcc10.patch" "gpr1330.patch" "alt-signal-stack.patch"]
40available: !(os = "macos" & arch = "arm64")
41license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
42authors: [
43 "Xavier Leroy"
44 "Damien Doligez"
45 "Alain Frisch"
46 "Jacques Garrigue"
47 "Didier Rémy"
48 "Jérôme Vouillon"
49 "Leo White"
50]
51bug-reports: "https://github.com/ocaml/opam-repository/issues"
52homepage: "https://ocaml.org"
53dev-repo: "git+https://github.com/ocaml/ocaml.git#4.02"
54extra-source "alt-signal-stack.patch" {
55 src: "https://github.com/ocaml/ocaml/commit/9de2b77472aee18a94b41cff70caee27fb901225.patch?full_index=1"
56 checksum: "sha256=91841447cc2d11ebe67a078ace677a18f06432ebf15c4c6d5a09e04b67dd041a"
57}
58extra-source "gpr1330.patch" {
59 src: "https://github.com/ocaml/ocaml/commit/bcc7a767279ff70518b3f4219cc0b9bffec7dd43.patch?full_index=1"
60 checksum: "sha256=594d4dd6c192fe77e9fc025674b51e3de74d70326b2e750a249a09eeded68716"
61}
62extra-source "fix-gcc10.patch" {
63 src:
64 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.02.1"
65 checksum: [
66 "sha256=70a506f8f44a472fc27cf4d7097d5fa47d15ea584dd956a39b73c0e8cf1e35b4"
67 "md5=4afa0ebb0a06b65e95e4906e1dced628"
68 ]
69}