opam-version: "2.0" synopsis: "Official release 4.11.2" maintainer: [ "David Allsopp " "Florian Angeletti " ] license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" authors: "Xavier Leroy and many contributors" homepage: "https://ocaml.org" bug-reports: "https://github.com/ocaml/opam-repository/issues" dev-repo: "git+https://github.com/ocaml/ocaml" depends: [ "ocaml" {= "4.11.2" & 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: [ [ "./configure" "--prefix=%{prefix}%" "-C" "CC=cc" {os = "openbsd" | os = "macos"} "ASPP=cc -c" {os = "openbsd" | os = "macos"} ] [make "-j%{jobs}%" "world"] [make "-j%{jobs}%" "world.opt"] ] install: [make "install"] url { src: "https://github.com/ocaml/ocaml/archive/4.11.2.tar.gz" checksum: "sha256=044a2a68f6cfa3d2349257770a340ced14c3940fb4d78414dda0e59e4ff0aa09" } post-messages: [ "A failure in the middle of the build may be caused by build parallelism (enabled by default). Please file a bug report at https://github.com/ocaml/opam-repository/issues" {failure & jobs > 1} "You can try installing again including --jobs=1 to force a sequential build instead." {failure & jobs > 1 & opam-version >= "2.0.5"} ] available: !(os = "macos" & arch = "arm64") patches: ["alt-signal-stack.patch"] extra-source "alt-signal-stack.patch" { src: "https://github.com/ocaml/ocaml/commit/dd28ac0cf4365bd0ea1bcc374cbc5e95a6f39bea.patch?full_index=1" checksum: "sha256=e94ff6043dbd47594599a7743b8e97080aef85a1541c5731c04494d19bdabaa7" } extra-source "ocaml-base-compiler.install" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/ocaml-base-compiler.install" checksum: [ "sha256=79f2a1a5044a91350a0eb6ce12e261a72a2855c094c425cddf3860e58c486678" "md5=3e969b841df1f51ca448e6e6295cb451" ] }