this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Official 4.06.0 release compiled with musl-clang and with flambda activated"
4description:
5 "Requires musl-clang to be installed (package musl on Arch Linux or musl-tools on Debian)"
6maintainer: "David Allsopp <david@tarides.com>"
7depends: [
8 "ocaml" {= "4.06.0" & 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 [
25 "./configure"
26 "-prefix"
27 prefix
28 "-with-debug-runtime"
29 "-flambda"
30 "-cc"
31 "musl-clang -Os"
32 "-aspp"
33 "musl-clang -c"
34 "-no-curses"
35 "-no-graph"
36 ]
37 [make "world"]
38 [make "world.opt"]
39]
40install: [make "install"]
41url {
42 src: "https://github.com/ocaml/ocaml/archive/4.06.0.tar.gz"
43 checksum: [
44 "sha256=011879c913e8f988ecdac020b205e2baa4023052efed25013bdb9a6b0d5c6a80"
45 "md5=4f3906e581181c5435078ffe3e485e3f"
46 ]
47}
48patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
49available: !(os = "macos" & arch = "arm64")
50license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
51authors: [
52 "Xavier Leroy"
53 "Damien Doligez"
54 "Alain Frisch"
55 "Jacques Garrigue"
56 "Didier Rémy"
57 "Jérôme Vouillon"
58]
59bug-reports: "https://github.com/ocaml/opam-repository/issues"
60homepage: "https://ocaml.org"
61dev-repo: "git+https://github.com/ocaml/ocaml.git#4.06"
62extra-source "alt-signal-stack.patch" {
63 src: "https://github.com/ocaml/ocaml/commit/137a4ad167f25fe1bee792977ed89f30d19bcd74.patch?full_index=1"
64 checksum: "sha256=c0c1c64bed4cc2413be21ce8bfe52bb9caff4d1bcd7e7a72f9bcb113c231bc91"
65}
66extra-source "fix-gcc10.patch" {
67 src:
68 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.06.0"
69 checksum: [
70 "sha256=89aa25371decacc2e091327b43e25d4e63c9f3b34bde8a3031b01a6b6d2e6598"
71 "md5=c9198adfe0c9d8e7e299b4f4fef5dfc5"
72 ]
73}