this repo has no description
1opam-version: "2.0"
2synopsis: "4.06 release branch with frame-pointers and flambda activated"
3maintainer: "David Allsopp <david@tarides.com>"
4authors: ["Xavier Leroy" "Damien Doligez" "Alain Frisch" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon"]
5homepage: "https://ocaml.org"
6bug-reports: "https://github.com/ocaml/opam-repository/issues"
7dev-repo: "git+https://github.com/ocaml/ocaml.git#4.06"
8depends: [
9 "ocaml" {= "4.06.2" & post}
10 "base-unix" {post}
11 "base-bigarray" {post}
12 "base-threads" {post}
13 "ocaml-beta" {opam-version < "2.1.0"}
14]
15conflict-class: "ocaml-core-compiler"
16flags: [ compiler avoid-version ]
17setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
18build: [
19 ["sed" "-ib" "-e" "s/ -Werror//" "configure"]
20 [
21 "sed"
22 "-ib"
23 "-e"
24 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
25 "config/auto-aux/hasgot"
26 ] {os = "macos"}
27 [
28 "./configure"
29 "-prefix"
30 prefix
31 "-with-debug-runtime"
32 "-with-frame-pointers"
33 "-flambda"
34 ] {os != "openbsd" & os != "freebsd" & os != "macos"}
35 [
36 "./configure"
37 "-prefix"
38 prefix
39 "-with-debug-runtime"
40 "-with-frame-pointers"
41 "-flambda"
42 "-cc"
43 "cc"
44 "-aspp"
45 "cc -c"
46 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
47 [make "world"]
48 [make "world.opt"]
49]
50install: [make "install"]
51url {
52 src: "https://github.com/ocaml/ocaml/archive/4.06.tar.gz"
53}
54patches: ["fix-gcc10.patch"]
55available: os = "linux" & arch = "x86_64"
56extra-source "fix-gcc10.patch" {
57 src:
58 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-variants/fix-gcc10.patch.4.06.2"
59 checksum: [
60 "sha256=860a3e47b86a11a71e75d18d46f17f8343c58ee9297342d6ea885128f393dac6"
61 "md5=171b510547baa777839b2ad50608a3ee"
62 ]
63}