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