this repo has no description
1opam-version: "2.0"
2synopsis:
3 "OCaml 4.03 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.03.0" & 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"]
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"]
38url {
39 src: "https://github.com/jhjourdan/ocaml/archive/memprof_4.03.tar.gz"
40 checksum:
41 "sha256=e1d434f28a6331cc12c6ffdd37d76aa198e4c4ebb14dad0b41417326cff955b9"
42}
43patches: ["fix-gcc10.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.03"
57extra-source "alt-signal-stack.patch" {
58 src: "https://github.com/ocaml/ocaml/commit/a8b2cc3b40f5269ce8525164ec2a63b35722b22b.patch?full_index=1"
59 checksum: "sha256=dea675165192cbac93aa89e43e22ad47f7e99b5ba118f27ad7e1846aa7a2a8d4"
60}
61extra-source "fix-gcc10.patch" {
62 src:
63 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.03.0"
64 checksum: [
65 "sha256=10e3a14312ee405af8ada0f14d9dddebbbc9d936ef7e2389dfb71e9cf1f49d6a"
66 "md5=4370afea8ee2dea768b0fcba52394a2f"
67 ]
68}