opam-version: "2.0" synopsis: "Official 3.12.1 release" maintainer: "David Allsopp " license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" authors: ["Xavier Leroy" "Damien Doligez" "Alain Frisch" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon"] homepage: "https://ocaml.org" bug-reports: "https://github.com/ocaml/opam-repository/issues" dev-repo: "git+https://github.com/ocaml/ocaml.git#3.12" depends: [ "ocaml" {= "3.12.1" & post} "base-unix" {post} "base-bigarray" {post} "base-threads" {post} "base-ocamlbuild" {post} ] conflict-class: "ocaml-core-compiler" flags: compiler setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" build: [ [ "sed" "-ib" "-e" "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/" "config/auto-aux/hasgot" ] {os = "macos"} ["./configure" "-prefix" prefix] {os != "openbsd" & os != "freebsd" & os != "macos"} ["./configure" "-prefix" prefix "-cc" "cc" "-aspp" "cc -c"] {os = "openbsd" | os = "freebsd" | os = "macos"} [make "world"] [make "world.opt"] ] install: [ [make "install"] ["mkdir" "-p" "%{prefix}%/lib/ocaml/compiler-libs"] ["cp" "-r" "typing" "parsing" "utils" "%{prefix}%/lib/ocaml/compiler-libs/"] ] url { src: "http://caml.inria.fr/pub/distrib/ocaml-3.12/ocaml-3.12.1.tar.gz" checksum: [ "sha256=4f81ab86258be0eea1507dd5338c8670490f8616249821e731f8ac1c64caa4a7" "md5=814a047085f0f901ab7d8e3a4b7a9e65" ] } available: arch != "arm64" & arch != "arm32" & arch != "ppc64" patches: ["alt-signal-stack.patch"] extra-source "alt-signal-stack.patch" { src: "https://github.com/ocaml/ocaml/commit/c90c2c8cf371faab293ff557868dfbda631518e7.patch?full_index=1" checksum: "sha256=2d0a94ee460ba5c3ea19f8641e17a64b40e521d3adc97707b248977fdef97c5d" }