this repo has no description
1opam-version: "2.0"
2synopsis: "Official release 4.09.1, with flambda activated"
3maintainer: [
4 "David Allsopp <david@tarides.com>"
5 "Florian Angeletti <florian.angeletti@inria.fr>"
6]
7authors: "Xavier Leroy and many contributors"
8homepage: "https://ocaml.org"
9bug-reports: "https://github.com/ocaml/opam-repository/issues"
10dev-repo: "git+https://github.com/ocaml/ocaml"
11depends: [
12 "ocaml" {= "4.09.1" & post}
13 "base-unix" {post}
14 "base-bigarray" {post}
15 "base-threads" {post}
16]
17conflict-class: "ocaml-core-compiler"
18flags: compiler
19setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
20build: [
21 ["./configure" "--prefix=%{prefix}%" "--enable-flambda"]
22 {os != "openbsd" & os != "freebsd" & os != "macos"}
23 [
24 "./configure"
25 "--prefix=%{prefix}%"
26 "CC=cc"
27 "ASPP=cc -c"
28 "--enable-flambda"
29 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
30 [make "-j%{jobs}%" "world"]
31 [make "-j%{jobs}%" "world.opt"]
32]
33install: [make "install"]
34url {
35 src: "https://github.com/ocaml/ocaml/archive/4.09.1.tar.gz"
36 checksum: "sha256=3e3146e0c876d14bdd574cb543e782feb2b07a7cabd054a8f322ef40de61943a"
37}
38post-messages: [
39 "A failure in the middle of the build may be caused by build parallelism
40 (enabled by default).
41 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
42 {failure & jobs > 1}
43 "You can try installing again including --jobs=1
44 to force a sequential build instead."
45 {failure & jobs > 1 & opam-version >= "2.0.5"}
46]
47available: !(os = "macos" & arch = "arm64")
48license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
49patches: ["alt-signal-stack.patch" "0001-Re-generate-configure.patch"]
50extra-source "alt-signal-stack.patch" {
51 src: "https://github.com/ocaml/ocaml/commit/8eed2e441222588dc385a98ae8bd6f5820eb0223.patch?full_index=1"
52 checksum: "sha256=86c02c75580da678ad0b0647ece043661be471a72751e8b49e674d17b9f17206"
53}
54extra-source "0001-Re-generate-configure.patch" {
55 src:
56 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/0001-Re-generate-configure.patch"
57 checksum: [
58 "sha256=c555824db7e7f56fb15ed39d5936367b4ad816c5aa2f971c103f1dcdf6a83456"
59 "md5=3e01b702dcdce9e5fc41f7eb66290501"
60 ]
61}