this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Official 4.07.1 release 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: "David Allsopp <david@tarides.com>"
7depends: [
8 "ocaml" {= "4.07.1" & post}
9 "base-unix" {post}
10 "base-bigarray" {post}
11 "base-threads" {post}
12]
13depexts: [
14 ["musl-tools"] {os-family = "debian"}
15 ["musl"] {os-distribution = "arch"}
16 ["musl-dev"] {os-distribution = "alpine"}
17]
18conflict-class: "ocaml-core-compiler"
19flags: compiler
20setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
21build: [
22 [
23 "sed"
24 "-ib"
25 "-e"
26 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
27 "config/auto-aux/hasgot"
28 ] {os = "macos"}
29 ["./configure" "-prefix" prefix "-with-debug-runtime"]
30 {os != "openbsd" & os != "freebsd" & os != "macos" & os != "linux"}
31 [
32 "./configure"
33 "-prefix"
34 prefix
35 "-with-debug-runtime"
36 "-flambda"
37 "-cc"
38 "musl-gcc -Os" {os-distribution != "alpine"}
39 "gcc -Os" {os-distribution = "alpine"}
40 "-aspp"
41 "musl-gcc -c" {os-distribution != "alpine"}
42 "gcc -c" {os-distribution = "alpine"}
43 "-libs"
44 "-static"
45 "-no-curses"
46 "-no-graph"
47 ]
48 [make "-j%{jobs}%" {os != "cygwin"} "world"]
49 [make "-j%{jobs}%" {os != "cygwin"} "world.opt"]
50]
51install: [make "install"]
52url {
53 src: "https://github.com/ocaml/ocaml/archive/4.07.1.tar.gz"
54 checksum: [
55 "sha256=83683ddad54bd23773591a9f757e702fa5cfa2ea1b124d8fe75a73729e592bfe"
56 "md5=352fe8d46cb238a26aa10c38bad6ecb6"
57 ]
58}
59post-messages: [
60 "A failure in the middle of the build may be caused by build parallelism
61 (enabled by default).
62 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
63 {failure & jobs > 1 & os != "cygwin"}
64 "You can try installing again including --jobs=1
65 to force a sequential build instead."
66 {failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
67]
68patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
69available: !(os = "macos" & arch = "arm64")
70license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
71authors: [
72 "Xavier Leroy"
73 "Damien Doligez"
74 "Alain Frisch"
75 "Jacques Garrigue"
76 "Didier Rémy"
77 "Jérôme Vouillon"
78]
79bug-reports: "https://github.com/ocaml/opam-repository/issues"
80homepage: "https://ocaml.org"
81dev-repo: "git+https://github.com/ocaml/ocaml.git#4.07"
82extra-source "alt-signal-stack.patch" {
83 src: "https://github.com/ocaml/ocaml/commit/00b8c4d503732343d5d01761ad09650fe50ff3a0.patch?full_index=1"
84 checksum: "sha256=80e7d6be30d75f69199908101b513ed0ee525f702ff7d4f9b15b53d646f7f0c6"
85}
86extra-source "fix-gcc10.patch" {
87 src:
88 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.07.1"
89 checksum: [
90 "sha256=efe1f8687fb54de7d0a21877615396d91d977686dc93aecf0a8832691b8237a9"
91 "md5=7f467849e5a4714f49a11517b187184f"
92 ]
93}