this repo has no description
1opam-version: "2.0"
2synopsis: "Official release 4.10.2"
3maintainer: [
4 "David Allsopp <david@tarides.com>"
5 "Florian Angeletti <florian.angeletti@inria.fr>"
6]
7license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
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.10.2" & 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 "-C"
26 "CC=cc" {os = "openbsd" | os = "freebsd" | os = "macos"}
27 "ASPP=cc -c" {os = "openbsd" | os = "freebsd" | os = "macos"}
28 ]
29 [make "-j%{jobs}%" "world"]
30 [make "-j%{jobs}%" "world.opt"]
31]
32install: [make "install"]
33url {
34 src: "https://github.com/ocaml/ocaml/archive/4.10.2.tar.gz"
35 checksum: "sha256=7aa26e0d70f36f0338df92cf5aaeb2704f3443bfe910a3d02a5dca9162f1d866"
36}
37post-messages: [
38 "A failure in the middle of the build may be caused by build parallelism
39 (enabled by default).
40 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
41 {failure & jobs > 1}
42 "You can try installing again including --jobs=1
43 to force a sequential build instead."
44 {failure & jobs > 1 & opam-version >= "2.0.5"}
45]
46patches: ["alt-signal-stack.patch"]
47extra-source "alt-signal-stack.patch" {
48 src: "https://github.com/ocaml/ocaml/commit/4b4c643d1d5d28738f6d900cd902851ed9dc5364.patch?full_index=1"
49 checksum: "sha256=355fa7bd55ce5646db1365b116082aee31f9b466f0ffc27723f5971d03c14a53"
50}
51extra-source "ocaml-base-compiler.install" {
52 src:
53 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/ocaml-base-compiler.install"
54 checksum: [
55 "sha256=79f2a1a5044a91350a0eb6ce12e261a72a2855c094c425cddf3860e58c486678"
56 "md5=3e969b841df1f51ca448e6e6295cb451"
57 ]
58}