this repo has no description
1opam-version: "2.0"
2synopsis: "The OCaml compiler (system version, from outside of opam)"
3maintainer: [
4 "David Allsopp <david@tarides.com>"
5 "Florian Angeletti <florian.angeletti@inria.fr>"
6]
7license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
8authors: "Xavier Leroy and many contributors"
9homepage: "https://ocaml.org"
10bug-reports: "https://github.com/ocaml/opam-repository/issues"
11dev-repo: "git+https://github.com/ocaml/ocaml"
12depends: [
13 # This is OCaml 4.14.0
14 "ocaml" {= "4.14.0" & post}
15
16 # General base- packages
17 "base-unix" {post}
18 "base-threads" {post}
19 "base-bigarray" {post}
20
21 # Architecture (Windows-only at present)
22 "host-arch-x86_32" {os = "win32" & ?sys-ocaml-arch & sys-ocaml-arch = "i686" & post}
23 "host-arch-x86_64" {os = "win32" & ?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & post}
24 "host-arch-unknown" {os = "win32" & (!(?sys-ocaml-arch) |
25 sys-ocaml-arch != "i686" &
26 sys-ocaml-arch != "x86_64") & post}
27
28 # System (Windows-only at present)
29 "host-system-mingw" {os = "win32" & ?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
30 "host-system-msvc" {os = "win32" & ?sys-ocaml-arch & sys-ocaml-cc = "msvc" & post}
31 "host-system-other" {os = "win32" & ?sys-ocaml-arch & sys-ocaml-libc != "msvc" & post}
32
33 # Environment configuration (Windows-only)
34 # NB There are not "system" distributions of OCaml on Windows; the support
35 # here is intended for binary caching setups, choosing to install a build
36 # of OCaml external to opam, but still using opam to provide the C compiler
37 # configuration.
38 "conf-mingw-w64-gcc-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
39 "conf-mingw-w64-gcc-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
40 "mingw-w64-shims" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & os-distribution = "cygwin" & post}
41 "ocaml-env-msvc32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-cc = "msvc" & post}
42 "ocaml-env-msvc64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-cc = "msvc" & post}
43]
44conflict-class: "ocaml-core-compiler"
45available: sys-ocaml-version = "4.14.0" & (os != "win32" | sys-ocaml-libc = "msvc")
46flags: compiler
47build: ["ocaml" "gen_ocaml_config.ml"]
48substs: "gen_ocaml_config.ml"
49extra-source "gen_ocaml_config.ml.in" {
50 src:
51 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-system/gen_ocaml_config.ml.in"
52 checksum: [
53 "sha256=71bcd3d35e28cbf71eda81991c8741268f4b87ced71573b2e75f64f136cebfc1"
54 "md5=093e7bec1ec95f9e4c6a313d73c5d840"
55 ]
56}