this repo has no description
1opam-version: "2.0"
2synopsis:
3 "OCaml 4.05.0 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.05.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" "--statmemprof"]
23 [make "world"]
24 [make "world.opt"]
25]
26install: [make "install"]
27url {
28 src: "https://github.com/jhjourdan/ocaml/archive/memprof_4.05.0.tar.gz"
29 checksum:
30 "sha256=b8ee056fafa0f020e9c7f472367ce21f7b0bb237b275a41f1043aa1e83648eb5"
31}
32patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
33available: !(os = "macos" & arch = "arm64")
34license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
35authors: [
36 "Xavier Leroy"
37 "Damien Doligez"
38 "Alain Frisch"
39 "Jacques Garrigue"
40 "Didier Rémy"
41 "Jérôme Vouillon"
42]
43bug-reports: "https://github.com/ocaml/opam-repository/issues"
44homepage: "https://ocaml.org"
45dev-repo: "git+https://github.com/ocaml/ocaml.git#4.05"
46extra-source "alt-signal-stack.patch" {
47 src: "https://github.com/ocaml/ocaml/commit/50c2d1275e537906ea144bd557fde31e0bf16e5f.patch?full_index=1"
48 checksum: "sha256=22f9244e4d91c2a939594b79c41707acd75a4fc7c63feb0cb5528b43949844f8"
49}
50extra-source "fix-gcc10.patch" {
51 src:
52 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.05.0"
53 checksum: [
54 "sha256=7a4645db04d32520f59e2676219d5626d361dbd7d55cf509b7839f3613a51028"
55 "md5=3791e3c17d11ec0f246fc6c5c5e5e2f3"
56 ]
57}