this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Official release 4.09.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.09.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.09.1.tar.gz"
46 checksum: "sha256=3e3146e0c876d14bdd574cb543e782feb2b07a7cabd054a8f322ef40de61943a"
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" "0001-Re-generate-configure.patch"]
60extra-source "alt-signal-stack.patch" {
61 src: "https://github.com/ocaml/ocaml/commit/8eed2e441222588dc385a98ae8bd6f5820eb0223.patch?full_index=1"
62 checksum: "sha256=86c02c75580da678ad0b0647ece043661be471a72751e8b49e674d17b9f17206"
63}
64extra-source "0001-Re-generate-configure.patch" {
65 src:
66 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/0001-Re-generate-configure.patch"
67 checksum: [
68 "sha256=c555824db7e7f56fb15ed39d5936367b4ad816c5aa2f971c103f1dcdf6a83456"
69 "md5=3e01b702dcdce9e5fc41f7eb66290501"
70 ]
71}