opam-version: "2.0" synopsis: "Official release 4.09.0" 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.09.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: [ [ "./configure" "--prefix=%{prefix}%" "-C" "CC=cc" {os = "openbsd" | os = "freebsd" | os = "macos"} "ASPP=cc -c" {os = "openbsd" | os = "freebsd" | os = "macos"} ] [make "-j%{jobs}%" "world"] [make "-j%{jobs}%" "world.opt"] ] install: [make "install"] url { src: "https://github.com/ocaml/ocaml/archive/4.09.0.tar.gz" checksum: [ "sha256=a7bc044167e7d09f8e3ea84b88ec9d81392908ecdac861d3d5015e5f0fc496a3" "md5=76ac39570fc88b16fda2a94db7cd5cf3" ] } patches: ["fix-gcc10.patch" "alt-signal-stack.patch"] 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") extra-source "alt-signal-stack.patch" { src: "https://github.com/ocaml/ocaml/commit/8eed2e441222588dc385a98ae8bd6f5820eb0223.patch?full_index=1" checksum: "sha256=86c02c75580da678ad0b0647ece043661be471a72751e8b49e674d17b9f17206" } 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" ] } extra-source "fix-gcc10.patch" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.09.0" checksum: [ "sha256=f658efe87952165713affe6f1653ab94ca85a8d6bb77ff665b1de43074aa5b00" "md5=f406119ae0091835cdf158d7d0ff53f7" ] }