this repo has no description
1opam-version: "2.0" 2synopsis: "Official 4.02.0 release" 3maintainer: "David Allsopp <david@tarides.com>" 4license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 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.0" & post} 11 "base-unix" {post} 12 "base-bigarray" {post} 13 "base-threads" {post} 14 "base-ocamlbuild" {post} 15] 16conflict-class: "ocaml-core-compiler" 17flags: compiler 18setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 19build: [ 20 [ 21 "sed" 22 "-ib" 23 "-e" 24 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/" 25 "config/auto-aux/hasgot" 26 ] {os = "macos"} 27 ["./configure" "-prefix" prefix "-with-debug-runtime"] 28 {os != "openbsd" & os != "freebsd" & os != "macos"} 29 [ 30 "./configure" 31 "-prefix" 32 prefix 33 "-with-debug-runtime" 34 "-cc" 35 "cc" 36 "-aspp" 37 "cc -c" 38 ] {os = "openbsd" | os = "freebsd" | os = "macos"} 39 [make "world"] 40 [make "world.opt"] 41] 42install: [make "install"] 43url { 44 src: "http://caml.inria.fr/pub/distrib/ocaml-4.02/ocaml-4.02.0.tar.gz" 45 checksum: [ 46 "sha256=dbbcbd72a29a51206677a606ea09dfec83ae25cbbf52dee90306bc04812cd034" 47 "md5=8bba7e7d872083af1723dd450e07a5f4" 48 ] 49} 50patches: ["fix-gcc10.patch" "gpr1330.patch" "alt-signal-stack.patch"] 51available: !(os = "macos" & arch = "arm64") & arch != "ppc64" 52extra-source "alt-signal-stack.patch" { 53 src: "https://github.com/ocaml/ocaml/commit/9de2b77472aee18a94b41cff70caee27fb901225.patch?full_index=1" 54 checksum: "sha256=91841447cc2d11ebe67a078ace677a18f06432ebf15c4c6d5a09e04b67dd041a" 55} 56extra-source "gpr1330.patch" { 57 src: "https://github.com/ocaml/ocaml/commit/bcc7a767279ff70518b3f4219cc0b9bffec7dd43.patch?full_index=1" 58 checksum: "sha256=594d4dd6c192fe77e9fc025674b51e3de74d70326b2e750a249a09eeded68716" 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.02.0" 63 checksum: [ 64 "sha256=b4e7fce997e004099d9611d2726e9ee9af9c8c68cfeff07289251c63897ff75f" 65 "md5=91a4a258611302bc57f4d9fadb7fc14d" 66 ] 67}