this repo has no description
1opam-version: "2.0" 2synopsis: "Official release 4.13.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#4.13" 12depends: [ 13 # This is OCaml 4.13.1 14 "ocaml" {= "4.13.1" & 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 "--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/archive/4.13.1.tar.gz" 65 checksum: "sha256=194c7988cc1fd1c64f53f32f2f7551e5309e44d914d6efc7e2e4d002296aeac4" 66} 67post-messages: [ 68 "A failure in the middle of the build may be caused by build parallelism 69 (enabled by default). 70 Please file a bug report at https://github.com/ocaml/opam-repository/issues" 71 {failure & jobs > 1} 72 "You can try installing again including --jobs=1 73 to force a sequential build instead." 74 {failure & jobs > 1 & opam-version >= "2.0.5"} 75] 76extra-source "ocaml-base-compiler.install" { 77 src: 78 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/ocaml-base-compiler.install" 79 checksum: [ 80 "sha256=79f2a1a5044a91350a0eb6ce12e261a72a2855c094c425cddf3860e58c486678" 81 "md5=3e969b841df1f51ca448e6e6295cb451" 82 ] 83}