this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Official release 4.08.0, compiled in 32-bit mode for 64-bit Linux and OS X hosts"
4maintainer: [
5 "David Allsopp <david@tarides.com>"
6 "Florian Angeletti <florian.angeletti@inria.fr>"
7]
8authors: "Xavier Leroy and many contributors"
9homepage: "https://ocaml.org"
10bug-reports: "https://github.com/ocaml/opam-repository/issues"
11dev-repo: "git+https://github.com/ocaml/ocaml"
12depends: [
13 "ocaml" {= "4.08.0" & post}
14 "base-unix" {post}
15 "base-bigarray" {post}
16 "base-threads" {post}
17]
18conflict-class: "ocaml-core-compiler"
19flags: compiler
20setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
21build: [
22 [
23 "./configure"
24 "--prefix=%{prefix}%"
25 "CC=gcc -m32"
26 "AS=as --32"
27 "ASPP=gcc -m32 -c"
28 "--host" "i386-linux"
29 "PARTIALLD=ld -r -melf_i386"
30 ] {os = "linux"}
31 [
32 "./configure"
33 "--prefix=%{prefix}%"
34 "CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32"
35 "AS=as -arch i386"
36 "ASPP=gcc -arch i386 -m32 -c"
37 "--host" "i386-apple-darwin13.2.0"
38 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
39 [make "-j%{jobs}%" {os != "cygwin"} "world"]
40 [make "-j%{jobs}%" {os != "cygwin"} "world.opt"]
41]
42install: [make "install"]
43url {
44 src: "https://github.com/ocaml/ocaml/archive/4.08.0.tar.gz"
45 checksum: [
46 "sha256=c8ff78d010cb037ac6d6729e40ebdbee109218899007ef23a20b8f459ac186d6"
47 "md5=42ed24e9a7c0e3998cab7d5e7c9f7618"
48 ]
49}
50post-messages: [
51 "A failure in the middle of the build may be caused by build parallelism
52 (enabled by default).
53 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
54 {failure & jobs > 1 & os != "cygwin"}
55 "You can try installing again including --jobs=1
56 to force a sequential build instead."
57 {failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
58]
59patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
60available: !(os = "macos" & arch = "arm64")
61license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
62extra-source "alt-signal-stack.patch" {
63 src: "https://github.com/ocaml/ocaml/commit/17df117b4939486d3285031900587afce5262c8c.patch?full_index=1"
64 checksum: "sha256=92d747e6a9edffbe178d7c356a271c34f1c9e7597548ae8d6defc0815c56315a"
65}
66extra-source "fix-gcc10.patch" {
67 src:
68 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.08.0"
69 checksum: [
70 "sha256=f658efe87952165713affe6f1653ab94ca85a8d6bb77ff665b1de43074aa5b00"
71 "md5=f406119ae0091835cdf158d7d0ff53f7"
72 ]
73}