opam-version: "2.0"
synopsis: "The OCaml compiler (virtual package)"
description: """
This package requires a matching implementation of OCaml,
and polls it to initialise specific variables like `ocaml:native-dynlink`"""
maintainer: "platform@lists.ocaml.org"
depends: [
  "ocaml-config"
  "ocaml-base-compiler" {= "4.03.1"} |
  "ocaml-variants" {>= "4.03.1" & < "4.03.2~"} |
  "ocaml-system" {>= "4.03.1" & < "4.03.2~"}
]
setenv: [
  [CAML_LD_LIBRARY_PATH = "%{_:stubsdir}%"]
  [CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
  [OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
build-env: CAML_LD_LIBRARY_PATH = ""
homepage: "https://ocaml.org"
bug-reports: "https://caml.inria.fr/mantis/"
authors: [
  "Xavier Leroy"
  "Damien Doligez"
  "Alain Frisch"
  "Jacques Garrigue"
  "Didier Rémy"
  "Jérôme Vouillon"
]
