this repo has no description
1opam-version: "2.0"
2synopsis: "OCaml 4.07.1 plus statistical memory profiling, see <http://ocaml.org/meetings/ocaml/2016/Jourdan-statistically_profiling_memory_in_OCaml.pdf>"
3maintainer: "David Allsopp <david@tarides.com>"
4depends: [
5 "ocaml" {= "4.07.1" & post}
6 "base-unix" {post}
7 "base-bigarray" {post}
8 "base-threads" {post}
9]
10conflict-class: "ocaml-core-compiler"
11flags: compiler
12setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
13build: [
14 [
15 "sed"
16 "-ib"
17 "-e"
18 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
19 "config/auto-aux/hasgot"
20 ] {os = "macos"}
21 ["./configure" "-prefix" prefix "-with-debug-runtime" "--statmemprof"]
22 {os != "openbsd" & os != "freebsd" & os != "macos"}
23 [
24 "./configure"
25 "-prefix"
26 prefix
27 "-with-debug-runtime"
28 "--statmemprof"
29 "-cc"
30 "cc"
31 "-aspp"
32 "cc -c"
33 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
34 [make "-j%{jobs}%" {os != "cygwin"} "world"]
35 [make "-j%{jobs}%" {os != "cygwin"} "world.opt"]
36]
37install: [make "install"]
38url {
39 src: "https://github.com/jhjourdan/ocaml/archive/memprof_4.07.1.tar.gz"
40 checksum:
41 "sha256=f13a2977fc837cdcca59d7ec398b49624a7ce39c57d19345de4e64792fb906c5"
42}
43post-messages: [
44 "A failure in the middle of the build may be caused by build parallelism
45 (enabled by default).
46 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
47 {failure & jobs > 1 & os != "cygwin"}
48 "You can try installing again including --jobs=1
49 to force a sequential build instead."
50 {failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
51]
52patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
53available: !(os = "macos" & arch = "arm64")
54license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
55authors: [
56 "Xavier Leroy"
57 "Damien Doligez"
58 "Alain Frisch"
59 "Jacques Garrigue"
60 "Didier Rémy"
61 "Jérôme Vouillon"
62]
63bug-reports: "https://github.com/ocaml/opam-repository/issues"
64homepage: "https://ocaml.org"
65dev-repo: "git+https://github.com/ocaml/ocaml.git#4.07"
66extra-source "alt-signal-stack.patch" {
67 src: "https://github.com/ocaml/ocaml/commit/00b8c4d503732343d5d01761ad09650fe50ff3a0.patch?full_index=1"
68 checksum: "sha256=80e7d6be30d75f69199908101b513ed0ee525f702ff7d4f9b15b53d646f7f0c6"
69}
70extra-source "fix-gcc10.patch" {
71 src:
72 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.07.1"
73 checksum: [
74 "sha256=efe1f8687fb54de7d0a21877615396d91d977686dc93aecf0a8832691b8237a9"
75 "md5=7f467849e5a4714f49a11517b187184f"
76 ]
77}