this repo has no description
1opam-version: "2.0"
2synopsis: "Debug runtime"
3maintainer: "David Allsopp <david@tarides.com>"
4depends: [
5 "ocaml" {= "4.00.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 ["./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 [make "world.opt"]
36]
37install: [make "install"]
38patches: [
39 "bd7fa181cb64742c3b6cbb8ee13436554eb18cd7...fix-clang-build.diff"
40 "alt-signal-stack.patch"
41]
42url {
43 src: "http://caml.inria.fr/pub/distrib/ocaml-4.00/ocaml-4.00.1.tar.gz"
44 checksum: [
45 "sha256=b48d5c7d3bf4a0cd6125f8fdfc1f654dd65586087399dc9f14716d7b9535e87a"
46 "md5=91124a8eb12a57f1e56c02fe3db0f9e7"
47 ]
48}
49extra-source "bd7fa181cb64742c3b6cbb8ee13436554eb18cd7...fix-clang-build.diff" {
50 src:
51 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/fix-clang-build-ocaml-401.patch"
52 checksum: [
53 "sha256=54c4a0e537dbe4e5a85d9c91671d2e82749042a7211305de3632e6a0529eef2d"
54 "md5=faccda3b3ab092fa9ac7d5d4d8beb004"
55 ]
56}
57available: !(os = "macos" & arch = "arm64")
58license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
59authors: [
60 "Xavier Leroy"
61 "Damien Doligez"
62 "Alain Frisch"
63 "Jacques Garrigue"
64 "Didier Rémy"
65 "Jérôme Vouillon"
66]
67bug-reports: "https://github.com/ocaml/opam-repository/issues"
68homepage: "https://ocaml.org"
69dev-repo: "git+https://github.com/ocaml/ocaml.git#4.00"
70extra-source "alt-signal-stack.patch" {
71 src: "https://github.com/ocaml/ocaml/commit/60b0cdaf2519d881947af4175ac4c6ff68901be3.patch?full_index=1"
72 checksum: "sha256=bb0e0e736ecc55c9f8cd8f74ca00a920bfe46e4200b82c5a45da952053b374da"
73}