this repo has no description
1opam-version: "2.0"
2synopsis: "OCaml 4.02.1 with -fPIC runtime libs"
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]
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 [
23 "./configure"
24 "-cc"
25 "cc -fPIC"
26 "-aspp"
27 "cc -c -fPIC"
28 "-prefix"
29 prefix
30 "-with-debug-runtime"
31 ]
32 [make "world"]
33 [make "world.opt"]
34]
35install: [make "install"]
36url {
37 src: "http://caml.inria.fr/pub/distrib/ocaml-4.02/ocaml-4.02.1.tar.gz"
38 checksum: [
39 "sha256=3cbc7af5a3886c8c5af8dab5568d6256a191d89ecbd4aea18eaf5b47034c6138"
40 "md5=3c35318eefd201f96797c093c920b343"
41 ]
42}
43patches: ["fix-gcc10.patch" "gpr1330.patch" "alt-signal-stack.patch"]
44available: !(os = "macos" & arch = "arm64")
45license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
46authors: [
47 "Xavier Leroy"
48 "Damien Doligez"
49 "Alain Frisch"
50 "Jacques Garrigue"
51 "Didier Rémy"
52 "Jérôme Vouillon"
53]
54bug-reports: "https://github.com/ocaml/opam-repository/issues"
55homepage: "https://ocaml.org"
56dev-repo: "git+https://github.com/ocaml/ocaml.git#4.02"
57extra-source "alt-signal-stack.patch" {
58 src: "https://github.com/ocaml/ocaml/commit/9de2b77472aee18a94b41cff70caee27fb901225.patch?full_index=1"
59 checksum: "sha256=91841447cc2d11ebe67a078ace677a18f06432ebf15c4c6d5a09e04b67dd041a"
60}
61extra-source "gpr1330.patch" {
62 src: "https://github.com/ocaml/ocaml/commit/bcc7a767279ff70518b3f4219cc0b9bffec7dd43.patch?full_index=1"
63 checksum: "sha256=594d4dd6c192fe77e9fc025674b51e3de74d70326b2e750a249a09eeded68716"
64}
65extra-source "fix-gcc10.patch" {
66 src:
67 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.02.1"
68 checksum: [
69 "sha256=70a506f8f44a472fc27cf4d7097d5fa47d15ea584dd956a39b73c0e8cf1e35b4"
70 "md5=4afa0ebb0a06b65e95e4906e1dced628"
71 ]
72}