this repo has no description
1opam-version: "2.0"
2synopsis:
3 "OCaml 4.06 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.06.1" & 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 "--statmemprof"
30 "-cc"
31 "cc -O2 -pipe"
32 "-aspp"
33 "cc -O2 -pipe -c"
34 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
35 [make "world"]
36 [make "world.opt"]
37]
38install: [make "install"]
39url {
40 src:
41 "https://github.com/chambart/ocaml-1/archive/jhj_memprof_4.06.1.tar.gz"
42 checksum: [
43 "sha256=51ca72d354bf5d5aa6f4ae509d0c6e9aaea2212e3b4b53a962cb907f190c2cbd"
44 "md5=e4ea4634c9fb3bf180d51d426e1bc9dc"
45 ]
46}
47patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
48available: !(os = "macos" & arch = "arm64")
49license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
50authors: [
51 "Xavier Leroy"
52 "Damien Doligez"
53 "Alain Frisch"
54 "Jacques Garrigue"
55 "Didier Rémy"
56 "Jérôme Vouillon"
57]
58bug-reports: "https://github.com/ocaml/opam-repository/issues"
59homepage: "https://ocaml.org"
60dev-repo: "git+https://github.com/ocaml/ocaml.git#4.06"
61extra-source "alt-signal-stack.patch" {
62 src: "https://github.com/ocaml/ocaml/commit/137a4ad167f25fe1bee792977ed89f30d19bcd74.patch?full_index=1"
63 checksum: "sha256=c0c1c64bed4cc2413be21ce8bfe52bb9caff4d1bcd7e7a72f9bcb113c231bc91"
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.06.1"
68 checksum: [
69 "sha256=860a3e47b86a11a71e75d18d46f17f8343c58ee9297342d6ea885128f393dac6"
70 "md5=171b510547baa777839b2ad50608a3ee"
71 ]
72}