this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Official release 4.08.1, 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.1" & post}
14 "base-unix" {post}
15 "base-bigarray" {post}
16 "base-threads" {post}
17]
18depexts: [
19 ["gcc-multilib" "g++-multilib"] {os-family = "debian"}
20]
21conflict-class: "ocaml-core-compiler"
22flags: compiler
23setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
24build: [
25 [
26 "./configure"
27 "--prefix=%{prefix}%"
28 "CC=gcc -m32"
29 "AS=as --32"
30 "ASPP=gcc -m32 -c"
31 "--host" "i386-linux"
32 "PARTIALLD=ld -r -melf_i386"
33 ] {os = "linux"}
34 [
35 "./configure"
36 "--prefix=%{prefix}%"
37 "CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32"
38 "AS=as -arch i386"
39 "ASPP=gcc -arch i386 -m32 -c"
40 "--host" "i386-apple-darwin13.2.0"
41 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
42 [make "-j%{jobs}%" {os != "cygwin"} "world"]
43 [make "-j%{jobs}%" {os != "cygwin"} "world.opt"]
44]
45install: [make "install"]
46url {
47 src: "https://github.com/ocaml/ocaml/archive/4.08.1.tar.gz"
48 checksum: [
49 "sha256=b53ed3d487b83fd49bc181bded066ae8e6fb592cf40514261d27d36050d5db85"
50 "md5=723b6bfe8cf5abcbccc6911143f71055"
51 ]
52}
53post-messages: [
54 "A failure in the middle of the build may be caused by build parallelism
55 (enabled by default).
56 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
57 {failure & jobs > 1 & os != "cygwin"}
58 "You can try installing again including --jobs=1
59 to force a sequential build instead."
60 {failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
61]
62patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
63available: !(os = "macos" & arch = "arm64")
64license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
65extra-source "alt-signal-stack.patch" {
66 src: "https://github.com/ocaml/ocaml/commit/17df117b4939486d3285031900587afce5262c8c.patch?full_index=1"
67 checksum: "sha256=92d747e6a9edffbe178d7c356a271c34f1c9e7597548ae8d6defc0815c56315a"
68}
69extra-source "fix-gcc10.patch" {
70 src:
71 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.08.1"
72 checksum: [
73 "sha256=e5a116608a20558fcd6c70c05978dc0c0b792f8dc10cfff119ddd6cce4b7dda1"
74 "md5=17ecd696a8f5647a4c543280599f6974"
75 ]
76}