this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Official release 4.09.0, 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.09.0" & 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.09.0.tar.gz"
46 checksum: [
47 "sha256=a7bc044167e7d09f8e3ea84b88ec9d81392908ecdac861d3d5015e5f0fc496a3"
48 "md5=76ac39570fc88b16fda2a94db7cd5cf3"
49 ]
50}
51post-messages: [
52 "A failure in the middle of the build may be caused by build parallelism
53 (enabled by default).
54 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
55 {failure & jobs > 1}
56 "You can try installing again including --jobs=1
57 to force a sequential build instead."
58 {failure & jobs > 1 & opam-version >= "2.0.5"}
59]
60available: !(os = "macos" & arch = "arm64")
61license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
62patches: ["alt-signal-stack.patch"]
63extra-source "alt-signal-stack.patch" {
64 src: "https://github.com/ocaml/ocaml/commit/8eed2e441222588dc385a98ae8bd6f5820eb0223.patch?full_index=1"
65 checksum: "sha256=86c02c75580da678ad0b0647ece043661be471a72751e8b49e674d17b9f17206"
66}