this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Official release 4.09.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.09.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}%" "world"]
43 [make "-j%{jobs}%" "world.opt"]
44]
45install: [make "install"]
46url {
47 src: "https://github.com/ocaml/ocaml/archive/4.09.1.tar.gz"
48 checksum: "sha256=3e3146e0c876d14bdd574cb543e782feb2b07a7cabd054a8f322ef40de61943a"
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}
55 "You can try installing again including --jobs=1
56 to force a sequential build instead."
57 {failure & jobs > 1 & opam-version >= "2.0.5"}
58]
59available: !(os = "macos" & arch = "arm64")
60license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
61patches: ["alt-signal-stack.patch" "0001-Re-generate-configure.patch"]
62extra-source "alt-signal-stack.patch" {
63 src: "https://github.com/ocaml/ocaml/commit/8eed2e441222588dc385a98ae8bd6f5820eb0223.patch?full_index=1"
64 checksum: "sha256=86c02c75580da678ad0b0647ece043661be471a72751e8b49e674d17b9f17206"
65}
66extra-source "0001-Re-generate-configure.patch" {
67 src:
68 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/0001-Re-generate-configure.patch"
69 checksum: [
70 "sha256=c555824db7e7f56fb15ed39d5936367b4ad816c5aa2f971c103f1dcdf6a83456"
71 "md5=3e01b702dcdce9e5fc41f7eb66290501"
72 ]
73}