this repo has no description
1opam-version: "2.0"
2synopsis:
3 "OCaml 4.04.2 plus statistical memory profiling, see <http://ocaml.org/meetings/ocaml/2016/Jourdan-statistically_profiling_memory_in_OCaml.pdf>"
4maintainer: "David Allsopp <david@tarides.com>"
5depends: [
6 "ocaml" {= "4.04.2" & post}
7 "base-unix" {post}
8 "base-bigarray" {post}
9 "base-threads" {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" "--statmemprof"]
23 {os != "openbsd" & os != "freebsd" & os != "macos"}
24 [
25 "./configure"
26 "-prefix"
27 prefix
28 "-with-debug-runtime"
29 "-flambda"
30 "-cc"
31 "cc"
32 "-aspp"
33 "cc -c"
34 "--statmemprof"
35 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
36 [make "world"]
37 [make "world.opt"]
38]
39install: [make "install"]
40url {
41 src:
42 "https://github.com/chambart/ocaml-1/archive/jhj_memprof_4.04.2.tar.gz"
43 checksum: [
44 "sha256=c07387e9196ec777c6becd0932c7f1c302215269712297265435dd650d8187ba"
45 "md5=5a86f86039623ea089add7c29c8da4f7"
46 ]
47}
48patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
49available: !(os = "macos" & arch = "arm64")
50license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
51authors: [
52 "Xavier Leroy"
53 "Damien Doligez"
54 "Alain Frisch"
55 "Jacques Garrigue"
56 "Didier Rémy"
57 "Jérôme Vouillon"
58]
59bug-reports: "https://github.com/ocaml/opam-repository/issues"
60homepage: "https://ocaml.org"
61dev-repo: "git+https://github.com/ocaml/ocaml.git#4.04"
62extra-source "alt-signal-stack.patch" {
63 src: "https://github.com/ocaml/ocaml/commit/6bcff7e6ce1a43e088469278eb3a9341e6a2ca5b.patch?full_index=1"
64 checksum: "sha256=dc1e56a04f557c751c7e09b8d70247181842cfd99f235eff6e4d143c9d892925"
65}
66extra-source "fix-gcc10.patch" {
67 src:
68 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.04.2"
69 checksum: [
70 "sha256=490a8001ba239bd233d10a4b458926316d4b72e800a286a977f553cef668bfbe"
71 "md5=3ee8aabe0c34cbe746dacc17d8ef9b7e"
72 ]
73}