this repo has no description
1opam-version: "2.0" 2synopsis: "Official release 5.2.1" 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#5.2" 12depends: [ 13 # This is OCaml 5.2.1 14 "ocaml" {= "5.2.1" & post} 15 16 # General base- packages 17 "base-unix" {post} 18 "base-bigarray" {post} 19 "base-threads" {post} 20 "base-domains" {post} 21 "base-nnp" {post} 22 23 # Port selection (Windows) 24 # amd64 mingw-w64 only 25 (("arch-x86_64" {os = "win32" & arch = "x86_64"} & 26 "system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 27 # i686 mingw-w64 only 28 ("arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" & 29 "system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 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 "ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"} 37 38 # Support Packages 39 "flexdll" {>= "0.42" & os = "win32"} 40] 41conflicts: "system-msvc" 42conflict-class: "ocaml-core-compiler" 43flags: compiler 44setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 45x-env-path-rewrite: [ 46 [CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"] 47] 48build: [ 49 [ 50 "./configure" 51 "--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed} 52 "--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed} 53 "--prefix=%{prefix}%" 54 "--docdir=%{doc}%/ocaml" 55 "--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed} 56 "-C" 57 "CC=cc" {os = "openbsd" | os = "macos"} 58 "ASPP=cc -c" {os = "openbsd" | os = "macos"} 59 ] 60 [make "-j%{jobs}%"] 61] 62install: [make "install"] 63url { 64 src: "https://github.com/ocaml/ocaml/releases/download/5.2.1/ocaml-5.2.1.tar.gz" 65 checksum: "sha256=2d0f8090951a97a2c0e5b8a11e90096c0e1791d2e471e4a67f87e3b974044cd0" 66} 67extra-source "ocaml-base-compiler.install" { 68 src: 69 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/ocaml-base-compiler.install" 70 checksum: [ 71 "sha256=79f2a1a5044a91350a0eb6ce12e261a72a2855c094c425cddf3860e58c486678" 72 "md5=3e969b841df1f51ca448e6e6295cb451" 73 ] 74}