this repo has no description
1opam-version: "2.0"
2synopsis:
3 "OCaml 4.06.0 compiled in 32-bit mode for 64-bit Linux and OS X hosts"
4maintainer: "David Allsopp <david@tarides.com>"
5depends: [
6 "ocaml" {= "4.06.0" & post}
7 "base-unix" {post}
8 "base-bigarray" {post}
9 "base-threads" {post}
10]
11conflict-class: "ocaml-core-compiler"
12flags: compiler
13setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
14build: [
15 [
16 "sed"
17 "-ib"
18 "-e"
19 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
20 "config/auto-aux/hasgot"
21 ] {os = "macos"}
22 [
23 "./configure"
24 "-prefix"
25 prefix
26 "-with-debug-runtime"
27 "-cc"
28 "gcc -m32"
29 "-as"
30 "as --32"
31 "-aspp"
32 "gcc -m32 -c"
33 "-host"
34 "i386-linux"
35 "-partialld"
36 "ld -r -melf_i386"
37 ] {os = "linux"}
38 [
39 "./configure"
40 "-prefix"
41 prefix
42 "-with-debug-runtime"
43 "-cc"
44 "gcc -Wl,-read_only_relocs,suppress -arch i386 -m32"
45 "-as"
46 "as -arch i386"
47 "-aspp"
48 "gcc -arch i386 -m32 -c"
49 "-host"
50 "i386-apple-darwin13.2.0"
51 ] {os = "macos"}
52 [make "world"]
53 [make "world.opt"]
54]
55install: [make "install"]
56url {
57 src: "https://github.com/ocaml/ocaml/archive/4.06.0.tar.gz"
58 checksum: [
59 "sha256=011879c913e8f988ecdac020b205e2baa4023052efed25013bdb9a6b0d5c6a80"
60 "md5=4f3906e581181c5435078ffe3e485e3f"
61 ]
62}
63patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
64available: !(os = "macos" & arch = "arm64")
65license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
66authors: [
67 "Xavier Leroy"
68 "Damien Doligez"
69 "Alain Frisch"
70 "Jacques Garrigue"
71 "Didier Rémy"
72 "Jérôme Vouillon"
73]
74bug-reports: "https://github.com/ocaml/opam-repository/issues"
75homepage: "https://ocaml.org"
76dev-repo: "git+https://github.com/ocaml/ocaml.git#4.06"
77extra-source "alt-signal-stack.patch" {
78 src: "https://github.com/ocaml/ocaml/commit/137a4ad167f25fe1bee792977ed89f30d19bcd74.patch?full_index=1"
79 checksum: "sha256=c0c1c64bed4cc2413be21ce8bfe52bb9caff4d1bcd7e7a72f9bcb113c231bc91"
80}
81extra-source "fix-gcc10.patch" {
82 src:
83 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.06.0"
84 checksum: [
85 "sha256=89aa25371decacc2e091327b43e25d4e63c9f3b34bde8a3031b01a6b6d2e6598"
86 "md5=c9198adfe0c9d8e7e299b4f4fef5dfc5"
87 ]
88}