this repo has no description
1opam-version: "2.0" 2synopsis: "First beta release of OCaml 5.2.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#5.2" 12depends: [ 13 # This is OCaml 5.2.0 14 "ocaml" {= "5.2.0" & 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 "ocaml-beta" {opam-version < "2.1.0"} 24 25 # Architecture (non-Windows) 26 # opam-repository at present requires that ocaml-base-compiler is installed 27 # using an architecture which matches the machine's, since arch is used in 28 # available fields. Cross-compilation at this stage is an unstable accident. 29 "host-arch-arm32" {arch = "arm32" & post} 30 "host-arch-arm64" {arch = "arm64" & post} 31 "host-arch-ppc64" {arch = "ppc64" & post} 32 "host-arch-riscv64" {arch = "riscv64" & post} 33 "host-arch-s390x" {arch = "s390x" & post} 34 # The Windows ports explicitly select the architecture (see below) this 35 # facility is not yet available for other platforms. 36 "host-arch-x86_32" {os != "win32" & arch = "x86_32" & post} 37 "host-arch-x86_64" {os != "win32" & arch = "x86_64" & post} 38 "host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post} 39 40 # Port selection (Windows) 41 # amd64 mingw-w64 only 42 (("arch-x86_64" {os = "win32" & arch = "x86_64"} & 43 "system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 44 # i686 mingw-w64 only 45 ("arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" & 46 "system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 47 # Non-Windows systems 48 "host-system-other" {os != "win32" & post}) 49 50 # OCaml with default configuration (no flambda, TSAN, etc.) 51 "ocaml-options-vanilla" {post} 52 "ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"} 53 54 # Support Packages 55 "flexdll" {>= "0.42" & os = "win32"} 56] 57conflicts: "system-msvc" 58conflict-class: "ocaml-core-compiler" 59flags: [ compiler avoid-version ] 60setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 61x-env-path-rewrite: [ 62 [CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"] 63] 64build: [ 65 [ 66 "./configure" 67 "--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed} 68 "--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed} 69 "--prefix=%{prefix}%" 70 "--docdir=%{doc}%/ocaml" 71 "--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed} 72 "-C" 73 "CC=cc" {os = "openbsd" | os = "macos"} 74 "ASPP=cc -c" {os = "openbsd" | os = "macos"} 75 ] 76 [make "-j%{jobs}%"] 77] 78install: [make "install"] 79url { 80 src: "https://github.com/ocaml/ocaml/archive/5.2.0-beta1.tar.gz" 81 checksum: "sha256=8fa1101f92091dd333d9dbd101f52ea3db86b827e8f1d26e45c98f8eac7e9e28" 82} 83post-messages: [ 84 "A failure in the middle of the build may be caused by build parallelism 85 (enabled by default). 86 Please file a bug report at https://github.com/ocaml/opam-repository/issues" 87 {failure & jobs > 1} 88 "You can try installing again including --jobs=1 89 to force a sequential build instead." 90 {failure & jobs > 1 & opam-version >= "2.0.5"} 91] 92extra-source "ocaml-base-compiler.install" { 93 src: 94 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/ocaml-base-compiler.install" 95 checksum: [ 96 "sha256=79f2a1a5044a91350a0eb6ce12e261a72a2855c094c425cddf3860e58c486678" 97 "md5=3e969b841df1f51ca448e6e6295cb451" 98 ] 99} 100x-maintained: false