this repo has no description
1opam-version: "2.0"
2synopsis: "Official 4.02.3 release, without the native-code compiler"
3maintainer: "David Allsopp <david@tarides.com>"
4depends: [
5 "ocaml" {= "4.02.3" & post}
6 "base-unix" {post}
7 "base-bigarray" {post}
8 "base-threads" {post}
9 "base-ocamlbuild" {post}
10]
11conflict-class: "ocaml-core-compiler"
12flags: compiler
13setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
14build: [
15 [
16 "sed"
17 "-ib"
18 "-e"
19 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
20 "config/auto-aux/hasgot"
21 ] {os = "macos"}
22 ["./configure" "-prefix" prefix "-with-debug-runtime"]
23 {os != "openbsd" & os != "freebsd" & os != "macos"}
24 [
25 "./configure"
26 "-prefix"
27 prefix
28 "-with-debug-runtime"
29 "-cc"
30 "cc"
31 "-aspp"
32 "cc -c"
33 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
34 [make "world"]
35]
36install: [make "install"]
37url {
38 src: "http://caml.inria.fr/pub/distrib/ocaml-4.02/ocaml-4.02.3.tar.gz"
39 checksum: [
40 "sha256=928fb5f64f4e141980ba567ff57b62d8dc7b951b58be9590ffb1be2172887a72"
41 "md5=ef1a324608c97031cbd92a442d685ab7"
42 ]
43}
44patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
45available: !(os = "macos" & arch = "arm64")
46license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
47authors: [
48 "Xavier Leroy"
49 "Damien Doligez"
50 "Alain Frisch"
51 "Jacques Garrigue"
52 "Didier Rémy"
53 "Jérôme Vouillon"
54]
55bug-reports: "https://github.com/ocaml/opam-repository/issues"
56homepage: "https://ocaml.org"
57dev-repo: "git+https://github.com/ocaml/ocaml.git#4.02"
58extra-source "alt-signal-stack.patch" {
59 src: "https://github.com/ocaml/ocaml/commit/9de2b77472aee18a94b41cff70caee27fb901225.patch?full_index=1"
60 checksum: "sha256=91841447cc2d11ebe67a078ace677a18f06432ebf15c4c6d5a09e04b67dd041a"
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.3"
65 checksum: [
66 "sha256=7f66fe8a08dbb4f63f927b864576d15ab6062787d19ffe6dfa5c36b733c9e330"
67 "md5=4516183897da9033f49dd291fa198b8c"
68 ]
69}