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