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