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