this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Official release 4.08.2, without safe strings by default"
4maintainer: [
5 "David Allsopp <david@tarides.com>"
6 "Florian Angeletti <florian.angeletti@inria.fr>"
7]
8authors: ["Xavier Leroy" "Damien Doligez" "Alain Frisch" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon"]
9homepage: "https://ocaml.org"
10bug-reports: "https://github.com/ocaml/opam-repository/issues"
11dev-repo: "git+https://github.com/ocaml/ocaml.git#4.08"
12depends: [
13 "ocaml" {= "4.08.2" & post}
14 "base-unix" {post}
15 "base-bigarray" {post}
16 "base-threads" {post}
17 "ocaml-beta" {opam-version < "2.1.0"}
18]
19conflict-class: "ocaml-core-compiler"
20flags: [ compiler avoid-version ]
21setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
22build: [
23 ["sed" "-ib" "-e" "s/ -Werror//" "configure"]
24 ["./configure" "--prefix=%{prefix}%" "DEFAULT_STRING=unsafe"]
25 {os != "openbsd" & os != "freebsd" & os != "macos"}
26 [
27 "./configure"
28 "--prefix=%{prefix}%"
29 "CC=cc"
30 "ASPP=cc -c"
31 "DEFAULT_STRING=unsafe"
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.tar.gz"
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"]
50available: !(os = "macos" & arch = "arm64")
51extra-source "fix-gcc10.patch" {
52 src:
53 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-variants/fix-gcc10.patch.4.08.2"
54 checksum: [
55 "sha256=e5a116608a20558fcd6c70c05978dc0c0b792f8dc10cfff119ddd6cce4b7dda1"
56 "md5=17ecd696a8f5647a4c543280599f6974"
57 ]
58}