this repo has no description
1opam-version: "2.0"
2license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
3synopsis: "The OCaml compiler (virtual package)"
4description: """
5This package requires a matching implementation of OCaml,
6and polls it to initialise specific variables like `ocaml:native-dynlink`"""
7maintainer: "David Allsopp <david@tarides.com>"
8authors: [
9 "Xavier Leroy"
10 "Damien Doligez"
11 "Alain Frisch"
12 "Jacques Garrigue"
13 "Didier Rémy"
14 "KC Sivaramakrishnan"
15 "Jérôme Vouillon"
16]
17homepage: "https://ocaml.org"
18bug-reports: "https://github.com/ocaml/opam-repository/issues"
19depends: [
20 "ocaml-config" {>= "3"}
21 "ocaml-base-compiler" {>= "5.3.1~" & < "5.3.2~"} |
22 "ocaml-variants" {>= "5.3.1~" & < "5.3.2~"} |
23 "ocaml-system" {>= "5.3.1~" & < "5.3.2~"} |
24 "dkml-base-compiler" {>= "5.3.1~" & < "5.3.2~"}
25]
26flags: [conf avoid-version]
27setenv: [
28 [OCAMLTOP_INCLUDE_PATH += "%{toplevel}%"]
29 [CAML_LD_LIBRARY_PATH = "%{_:stubsdir}%"]
30 [CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
31 # Legacy opam variable
32 [OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
33]
34x-env-path-rewrite: [
35 [CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
36 [OCAMLTOP_INCLUDE_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
37]
38build-env: [
39 [CAML_LD_LIBRARY_PATH = ""]
40 [LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
41 [ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
42]
43build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]