this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Official release 4.08.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.08.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 "--disable-graph-lib"
37 ] {os = "openbsd" | os = "freebsd" | os = "macos" | os = "linux"}
38 [make "-j%{jobs}%" {os != "cygwin"} "world"]
39 [make "-j%{jobs}%" {os != "cygwin"} "world.opt"]
40]
41install: [make "install"]
42url {
43 src: "https://github.com/ocaml/ocaml/archive/4.08.1.tar.gz"
44 checksum: [
45 "sha256=b53ed3d487b83fd49bc181bded066ae8e6fb592cf40514261d27d36050d5db85"
46 "md5=723b6bfe8cf5abcbccc6911143f71055"
47 ]
48}
49post-messages: [
50 "A failure in the middle of the build may be caused by build parallelism
51 (enabled by default).
52 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
53 {failure & jobs > 1 & os != "cygwin"}
54 "You can try installing again including --jobs=1
55 to force a sequential build instead."
56 {failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
57]
58patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
59available: !(os = "macos" & arch = "arm64")
60license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
61extra-source "alt-signal-stack.patch" {
62 src: "https://github.com/ocaml/ocaml/commit/17df117b4939486d3285031900587afce5262c8c.patch?full_index=1"
63 checksum: "sha256=92d747e6a9edffbe178d7c356a271c34f1c9e7597548ae8d6defc0815c56315a"
64}
65extra-source "fix-gcc10.patch" {
66 src:
67 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.08.1"
68 checksum: [
69 "sha256=e5a116608a20558fcd6c70c05978dc0c0b792f8dc10cfff119ddd6cce4b7dda1"
70 "md5=17ecd696a8f5647a4c543280599f6974"
71 ]
72}