this repo has no description
1opam-version: "2.0"
2synopsis: "OCaml 4.02.3 compiled with musl-gcc"
3description:
4 "Requires musl-gcc to be installed (apt-get install musl-tools on Debian)"
5maintainer: "David Allsopp <david@tarides.com>"
6depends: [
7 "ocaml" {= "4.02.3" & post}
8 "base-unix" {post}
9 "base-bigarray" {post}
10 "base-threads" {post}
11 "base-ocamlbuild" {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 "-cc"
30 "musl-gcc -Os"
31 "-aspp"
32 "musl-gcc -c"
33 "-no-curses"
34 "-no-graph"
35 ]
36 [make "world.opt"]
37]
38install: [make "install"]
39url {
40 src: "http://caml.inria.fr/pub/distrib/ocaml-4.02/ocaml-4.02.3.tar.gz"
41 checksum: [
42 "sha256=928fb5f64f4e141980ba567ff57b62d8dc7b951b58be9590ffb1be2172887a72"
43 "md5=ef1a324608c97031cbd92a442d685ab7"
44 ]
45}
46patches: ["fix-gcc10.patch" "gpr1330.patch" "alt-signal-stack.patch"]
47available: !(os = "macos" & arch = "arm64")
48license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
49authors: [
50 "Xavier Leroy"
51 "Damien Doligez"
52 "Alain Frisch"
53 "Jacques Garrigue"
54 "Didier Rémy"
55 "Jérôme Vouillon"
56]
57bug-reports: "https://github.com/ocaml/opam-repository/issues"
58homepage: "https://ocaml.org"
59dev-repo: "git+https://github.com/ocaml/ocaml.git#4.02"
60extra-source "alt-signal-stack.patch" {
61 src: "https://github.com/ocaml/ocaml/commit/9de2b77472aee18a94b41cff70caee27fb901225.patch?full_index=1"
62 checksum: "sha256=91841447cc2d11ebe67a078ace677a18f06432ebf15c4c6d5a09e04b67dd041a"
63}
64extra-source "gpr1330.patch" {
65 src: "https://github.com/ocaml/ocaml/commit/bcc7a767279ff70518b3f4219cc0b9bffec7dd43.patch?full_index=1"
66 checksum: "sha256=594d4dd6c192fe77e9fc025674b51e3de74d70326b2e750a249a09eeded68716"
67}
68extra-source "fix-gcc10.patch" {
69 src:
70 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.02.3"
71 checksum: [
72 "sha256=7f66fe8a08dbb4f63f927b864576d15ab6062787d19ffe6dfa5c36b733c9e330"
73 "md5=4516183897da9033f49dd291fa198b8c"
74 ]
75}