this repo has no description
1opam-version: "2.0"
2synopsis: "Official 4.03.0 release with flambda activated"
3maintainer: "David Allsopp <david@tarides.com>"
4depends: [
5 "ocaml" {= "4.03.0" & post}
6 "base-unix" {post}
7 "base-bigarray" {post}
8 "base-threads" {post}
9]
10conflict-class: "ocaml-core-compiler"
11flags: compiler
12setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
13build: [
14 [
15 "sed"
16 "-ib"
17 "-e"
18 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
19 "config/auto-aux/hasgot"
20 ] {os = "macos"}
21 ["./configure" "-prefix" prefix "-with-debug-runtime" "-flambda"]
22 {os != "openbsd" & os != "freebsd" & os != "macos"}
23 [
24 "./configure"
25 "-prefix"
26 prefix
27 "-with-debug-runtime"
28 "-flambda"
29 "-cc"
30 "cc"
31 "-aspp"
32 "cc -c"
33 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
34 [make "world"]
35 [make "world.opt"]
36]
37install: [make "install"]
38url {
39 src: "https://github.com/ocaml/ocaml/archive/4.03.0.tar.gz"
40 checksum: [
41 "sha256=fef80a338099bffc56e4d1ef35146336195a4a9e2086e8cd186c402805503a0a"
42 "md5=4ddf4977de7708f11adad692c63e87ec"
43 ]
44}
45patches: ["fix-gcc10.patch" "gpr1330.patch" "alt-signal-stack.patch"]
46available: !(os = "macos" & arch = "arm64")
47license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
48authors: [
49 "Xavier Leroy"
50 "Damien Doligez"
51 "Alain Frisch"
52 "Jacques Garrigue"
53 "Didier Rémy"
54 "Jérôme Vouillon"
55]
56bug-reports: "https://github.com/ocaml/opam-repository/issues"
57homepage: "https://ocaml.org"
58dev-repo: "git+https://github.com/ocaml/ocaml.git#4.03"
59extra-source "alt-signal-stack.patch" {
60 src: "https://github.com/ocaml/ocaml/commit/a8b2cc3b40f5269ce8525164ec2a63b35722b22b.patch?full_index=1"
61 checksum: "sha256=dea675165192cbac93aa89e43e22ad47f7e99b5ba118f27ad7e1846aa7a2a8d4"
62}
63extra-source "gpr1330.patch" {
64 src: "https://github.com/ocaml/ocaml/commit/c204f07bfb20174f9e1c9ff586fb7b2f42b8bf18.patch?full_index=1"
65 checksum: "sha256=a82eee28f3d10161010283267322c5779fcb7077ead14287d7b9e436ac16b730"
66}
67extra-source "fix-gcc10.patch" {
68 src:
69 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.03.0"
70 checksum: [
71 "sha256=10e3a14312ee405af8ada0f14d9dddebbbc9d936ef7e2389dfb71e9cf1f49d6a"
72 "md5=4370afea8ee2dea768b0fcba52394a2f"
73 ]
74}