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 5.1.1
14 "ocaml" {= "5.1.1" & post}
15
16 # General base- packages
17 "base-unix" {post}
18 "base-threads" {post}
19 "base-bigarray" {post}
20 "base-domains" {post}
21 "base-nnp" {post}
22
23 # Architecture (Windows-only at present)
24 "host-arch-x86_32" {os = "win32" & ?sys-ocaml-arch & sys-ocaml-arch = "i686" & post}
25 "host-arch-x86_64" {os = "win32" & ?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & post}
26 "host-arch-unknown" {os = "win32" & (!(?sys-ocaml-arch) |
27 sys-ocaml-arch != "i686" &
28 sys-ocaml-arch != "x86_64") & post}
29
30 # System (Windows-only at present)
31 "host-system-mingw" {os = "win32" & ?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
32 # There is no official MSVC support for 5.1.1
33 "host-system-msvc" {os = "win32" & ?sys-ocaml-arch & sys-ocaml-cc = "msvc" & post}
34 "host-system-other" {os = "win32" & ?sys-ocaml-arch & sys-ocaml-libc != "msvc" & post}
35
36 # Environment configuration (Windows-only)
37 # NB There are not "system" distributions of OCaml on Windows; the support
38 # here is intended for binary caching setups, choosing to install a build
39 # of OCaml external to opam, but still using opam to provide the C compiler
40 # configuration.
41 "conf-mingw-w64-gcc-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
42 "conf-mingw-w64-gcc-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
43 "conf-mingw-w64-zstd-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
44 "conf-mingw-w64-zstd-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
45 "mingw-w64-shims" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & os-distribution = "cygwin" & post}
46 "ocaml-env-msvc32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-cc = "msvc" & post}
47 "ocaml-env-msvc64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-cc = "msvc" & post}
48]
49conflict-class: "ocaml-core-compiler"
50available: sys-ocaml-version = "5.1.1" & (os != "win32" | sys-ocaml-libc = "msvc")
51flags: compiler
52build: ["ocaml" "gen_ocaml_config.ml"]
53substs: "gen_ocaml_config.ml"
54extra-source "gen_ocaml_config.ml.in" {
55 src:
56 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-system/gen_ocaml_config.ml.in"
57 checksum: [
58 "sha256=71bcd3d35e28cbf71eda81991c8741268f4b87ced71573b2e75f64f136cebfc1"
59 "md5=093e7bec1ec95f9e4c6a313d73c5d840"
60 ]
61}