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