this repo has no description
1opam-version: "2.0"
2synopsis: "Official release 4.08.0, without the native-code compiler"
3maintainer: [
4 "David Allsopp <david@tarides.com>"
5 "Florian Angeletti <florian.angeletti@inria.fr>"
6]
7authors: "Xavier Leroy and many contributors"
8homepage: "https://ocaml.org"
9bug-reports: "https://github.com/ocaml/opam-repository/issues"
10dev-repo: "git+https://github.com/ocaml/ocaml"
11depends: [
12 "ocaml" {= "4.08.0" & post}
13 "base-unix" {post}
14 "base-bigarray" {post}
15 "base-threads" {post}
16]
17conflict-class: "ocaml-core-compiler"
18flags: compiler
19setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
20build: [
21 ["./configure" "--prefix=%{prefix}%" "--disable-native-compiler"]
22 {os != "openbsd" & os != "freebsd" & os != "macos"}
23 [
24 "./configure"
25 "--prefix=%{prefix}%"
26 "CC=cc"
27 "ASPP=cc -c"
28 "--disable-native-compiler"
29 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
30 [make "-j%{jobs}%" {os != "cygwin"} "world"]
31]
32install: [make "install"]
33url {
34 src: "https://github.com/ocaml/ocaml/archive/4.08.0.tar.gz"
35 checksum: [
36 "sha256=c8ff78d010cb037ac6d6729e40ebdbee109218899007ef23a20b8f459ac186d6"
37 "md5=42ed24e9a7c0e3998cab7d5e7c9f7618"
38 ]
39}
40post-messages: [
41 "A failure in the middle of the build may be caused by build parallelism
42 (enabled by default).
43 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
44 {failure & jobs > 1 & os != "cygwin"}
45 "You can try installing again including --jobs=1
46 to force a sequential build instead."
47 {failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
48]
49patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
50available: !(os = "macos" & arch = "arm64")
51license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
52extra-source "alt-signal-stack.patch" {
53 src: "https://github.com/ocaml/ocaml/commit/17df117b4939486d3285031900587afce5262c8c.patch?full_index=1"
54 checksum: "sha256=92d747e6a9edffbe178d7c356a271c34f1c9e7597548ae8d6defc0815c56315a"
55}
56extra-source "fix-gcc10.patch" {
57 src:
58 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.08.0"
59 checksum: [
60 "sha256=f658efe87952165713affe6f1653ab94ca85a8d6bb77ff665b1de43074aa5b00"
61 "md5=f406119ae0091835cdf158d7d0ff53f7"
62 ]
63}