this repo has no description
1opam-version: "2.0"
2synopsis: "Official 3.12.1 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#3.12"
9depends: [
10 "ocaml" {= "3.12.1" & 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]
28 {os != "openbsd" & os != "freebsd" & os != "macos"}
29 ["./configure" "-prefix" prefix "-cc" "cc" "-aspp" "cc -c"]
30 {os = "openbsd" | os = "freebsd" | os = "macos"}
31 [make "world"]
32 [make "world.opt"]
33]
34install: [
35 [make "install"]
36 ["mkdir" "-p" "%{prefix}%/lib/ocaml/compiler-libs"]
37 ["cp" "-r" "typing" "parsing" "utils" "%{prefix}%/lib/ocaml/compiler-libs/"]
38]
39url {
40 src: "http://caml.inria.fr/pub/distrib/ocaml-3.12/ocaml-3.12.1.tar.gz"
41 checksum: [
42 "sha256=4f81ab86258be0eea1507dd5338c8670490f8616249821e731f8ac1c64caa4a7"
43 "md5=814a047085f0f901ab7d8e3a4b7a9e65"
44 ]
45}
46available: arch != "arm64" & arch != "arm32" & arch != "ppc64"
47patches: ["alt-signal-stack.patch"]
48extra-source "alt-signal-stack.patch" {
49 src: "https://github.com/ocaml/ocaml/commit/c90c2c8cf371faab293ff557868dfbda631518e7.patch?full_index=1"
50 checksum: "sha256=2d0a94ee460ba5c3ea19f8641e17a64b40e521d3adc97707b248977fdef97c5d"
51}