this repo has no description
1opam-version: "2.0"
2synopsis: "Official release 4.14.0"
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#4.14"
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-bigarray" {post}
19 "base-threads" {post}
20
21 # Port selection (Windows)
22 # amd64 mingw-w64 / MSVC
23 (("arch-x86_64" {os = "win32" & arch = "x86_64"} &
24 (("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post}) |
25 "system-msvc")) |
26 # i686 mingw-w64 / MSVC
27 ("arch-x86_32" {os = "win32"} &
28 (("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post}) |
29 "system-msvc")) |
30 # Non-Windows systems need to install something to satisfy this formula, so
31 # repeat the base-unix dependency
32 "base-unix" {os != "win32" & post})
33
34 # OCaml with default configuration (no flambda, TSAN, etc.)
35 "ocaml-options-vanilla" {post}
36
37 # Support Packages
38 "flexdll" {>= "0.36" & os = "win32"}
39]
40conflict-class: "ocaml-core-compiler"
41flags: compiler
42build-env: MSYS2_ARG_CONV_EXCL = "*"
43setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
44x-env-path-rewrite: [
45 [CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
46]
47build: [
48 [
49 "./configure"
50 "--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed}
51 "--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
52 "--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed}
53 "--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
54 "--prefix=%{prefix}%"
55 "--docdir=%{doc}%/ocaml"
56 "--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
57 "-C"
58 "CC=cc" {os = "openbsd" | os = "macos"}
59 "ASPP=cc -c" {os = "openbsd" | os = "macos"}
60 ]
61 [make "-j%{jobs}%"]
62]
63install: [make "install"]
64url {
65 src: "https://github.com/ocaml/ocaml/archive/4.14.0.tar.gz"
66 checksum: "sha256=39f44260382f28d1054c5f9d8bf4753cb7ad64027da792f7938344544da155e8"
67}
68extra-source "ocaml-base-compiler.install" {
69 src:
70 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/ocaml-base-compiler.install"
71 checksum: [
72 "sha256=79f2a1a5044a91350a0eb6ce12e261a72a2855c094c425cddf3860e58c486678"
73 "md5=3e969b841df1f51ca448e6e6295cb451"
74 ]
75}