this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Official release 4.08.1, with frame-pointers and flambda activated"
4maintainer: [
5 "David Allsopp <david@tarides.com>"
6 "Florian Angeletti <florian.angeletti@inria.fr>"
7]
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.08.1" & 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 ["./configure" "--prefix=%{prefix}%"
23 "--enable-frame-pointers" "--enable-flambda"]
24 {os != "openbsd" & os != "freebsd" & os != "macos"}
25 [
26 "./configure"
27 "--prefix=%{prefix}%"
28 "CC=cc"
29 "ASPP=cc -c"
30 "--enable-frame-pointers"
31 "--enable-flambda"
32 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
33 [make "-j%{jobs}%" {os != "cygwin"} "world"]
34 [make "-j%{jobs}%" {os != "cygwin"} "world.opt"]
35]
36install: [make "install"]
37url {
38 src: "https://github.com/ocaml/ocaml/archive/4.08.1.tar.gz"
39 checksum: [
40 "sha256=b53ed3d487b83fd49bc181bded066ae8e6fb592cf40514261d27d36050d5db85"
41 "md5=723b6bfe8cf5abcbccc6911143f71055"
42 ]
43}
44post-messages: [
45 "A failure in the middle of the build may be caused by build parallelism
46 (enabled by default).
47 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
48 {failure & jobs > 1 & os != "cygwin"}
49 "You can try installing again including --jobs=1
50 to force a sequential build instead."
51 {failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
52]
53patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
54available: os = "linux" & arch = "x86_64"
55license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
56extra-source "alt-signal-stack.patch" {
57 src: "https://github.com/ocaml/ocaml/commit/17df117b4939486d3285031900587afce5262c8c.patch?full_index=1"
58 checksum: "sha256=92d747e6a9edffbe178d7c356a271c34f1c9e7597548ae8d6defc0815c56315a"
59}
60extra-source "fix-gcc10.patch" {
61 src:
62 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.08.1"
63 checksum: [
64 "sha256=e5a116608a20558fcd6c70c05978dc0c0b792f8dc10cfff119ddd6cce4b7dda1"
65 "md5=17ecd696a8f5647a4c543280599f6974"
66 ]
67}