opam-version: "2.0" synopsis: "OCaml 4.05.0 plus statistical memory profiling, see " maintainer: "David Allsopp " depends: [ "ocaml" {= "4.05.0" & post} "base-unix" {post} "base-bigarray" {post} "base-threads" {post} ] conflict-class: "ocaml-core-compiler" flags: compiler setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" build: [ [ "sed" "-ib" "-e" "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/" "config/auto-aux/hasgot" ] {os = "macos"} ["./configure" "-prefix" prefix "-with-debug-runtime" "--statmemprof"] [make "world"] [make "world.opt"] ] install: [make "install"] url { src: "https://github.com/jhjourdan/ocaml/archive/memprof_4.05.0.tar.gz" checksum: "sha256=b8ee056fafa0f020e9c7f472367ce21f7b0bb237b275a41f1043aa1e83648eb5" } patches: ["fix-gcc10.patch" "alt-signal-stack.patch"] available: !(os = "macos" & arch = "arm64") license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" authors: [ "Xavier Leroy" "Damien Doligez" "Alain Frisch" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon" ] bug-reports: "https://github.com/ocaml/opam-repository/issues" homepage: "https://ocaml.org" dev-repo: "git+https://github.com/ocaml/ocaml.git#4.05" extra-source "alt-signal-stack.patch" { src: "https://github.com/ocaml/ocaml/commit/50c2d1275e537906ea144bd557fde31e0bf16e5f.patch?full_index=1" checksum: "sha256=22f9244e4d91c2a939594b79c41707acd75a4fc7c63feb0cb5528b43949844f8" } extra-source "fix-gcc10.patch" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.05.0" checksum: [ "sha256=7a4645db04d32520f59e2676219d5626d361dbd7d55cf509b7839f3613a51028" "md5=3791e3c17d11ec0f246fc6c5c5e5e2f3" ] }