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