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