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