this repo has no description
1opam-version: "2.0"
2synopsis:
3 "OCaml 4.07.0 compiled in 32-bit mode for 64-bit Linux and OS X hosts"
4maintainer: "David Allsopp <david@tarides.com>"
5depends: [
6 "ocaml" {= "4.07.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 "-j%{jobs}%" {os != "cygwin"} "world"]
53 [make "-j%{jobs}%" {os != "cygwin"} "world.opt"]
54]
55install: [make "install"]
56url {
57 src: "https://github.com/ocaml/ocaml/archive/4.07.0.tar.gz"
58 checksum: [
59 "sha256=8dd39da81beaad53a158e71c428f902b609d8f7f33fedf37f15c56be6c4cf840"
60 "md5=1f78bb35a2f15d5ec737ee6a8dc6890d"
61 ]
62}
63post-messages: [
64 "A failure in the middle of the build may be caused by build parallelism
65 (enabled by default).
66 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
67 {failure & jobs > 1 & os != "cygwin"}
68 "You can try installing again including --jobs=1
69 to force a sequential build instead."
70 {failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
71]
72patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
73available: !(os = "macos" & arch = "arm64")
74license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
75authors: [
76 "Xavier Leroy"
77 "Damien Doligez"
78 "Alain Frisch"
79 "Jacques Garrigue"
80 "Didier Rémy"
81 "Jérôme Vouillon"
82]
83bug-reports: "https://github.com/ocaml/opam-repository/issues"
84homepage: "https://ocaml.org"
85dev-repo: "git+https://github.com/ocaml/ocaml.git#4.07"
86extra-source "alt-signal-stack.patch" {
87 src: "https://github.com/ocaml/ocaml/commit/00b8c4d503732343d5d01761ad09650fe50ff3a0.patch?full_index=1"
88 checksum: "sha256=80e7d6be30d75f69199908101b513ed0ee525f702ff7d4f9b15b53d646f7f0c6"
89}
90extra-source "fix-gcc10.patch" {
91 src:
92 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.07.0"
93 checksum: [
94 "sha256=f0a7ee630046ffb83fb2a78ca5a81e288e817fbda6b12692dadb79ab93a8737d"
95 "md5=b054fa6b6651763edc8e16b6bc4c58f6"
96 ]
97}