this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Official release 4.11.1, compiled with musl-gcc -static and with flambda activated"
4description:
5 "Requires musl-gcc to be installed (package musl on Arch Linux, musl-tools on Debian, musl-dev on Alpine)"
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 ["musl-dev"] {os-distribution = "alpine"}
24]
25conflict-class: "ocaml-core-compiler"
26flags: compiler
27setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
28build: [
29 ["./configure" "--prefix=%{prefix}%"]
30 {os != "openbsd" & os != "freebsd" & os != "macos" & os != "linux"}
31 [
32 "./configure"
33 "--prefix=%{prefix}%"
34 "CC=musl-gcc" {os-distribution != "alpine"}
35 "CFLAGS=-Os"
36 "ASPP=musl-gcc -c" {os-distribution != "alpine"}
37 "--enable-flambda"
38 "LIBS=-static"
39 ] {os = "openbsd" | os = "freebsd" | os = "macos" | os = "linux"}
40 [make "-j%{jobs}%" "world"]
41 [make "-j%{jobs}%" "world.opt"]
42]
43install: [make "install"]
44url {
45 src: "https://github.com/ocaml/ocaml/archive/4.11.1.tar.gz"
46 checksum: "sha256=cd3cd55d465028b161c8c33bafc14ee6ae1d91b5efe51098350f8e8a5f454baf"
47}
48post-messages: [
49 "A failure in the middle of the build may be caused by build parallelism
50 (enabled by default).
51 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
52 {failure & jobs > 1}
53 "You can try installing again including --jobs=1
54 to force a sequential build instead."
55 {failure & jobs > 1 & opam-version >= "2.0.5"}
56]
57available: !(os = "macos" & arch = "arm64")
58license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
59patches: ["alt-signal-stack.patch"]
60extra-source "alt-signal-stack.patch" {
61 src: "https://github.com/ocaml/ocaml/commit/dd28ac0cf4365bd0ea1bcc374cbc5e95a6f39bea.patch?full_index=1"
62 checksum: "sha256=e94ff6043dbd47594599a7743b8e97080aef85a1541c5731c04494d19bdabaa7"
63}