this repo has no description
1opam-version: "2.0" 2license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 3synopsis: "First release candidate release of OCaml 5.3.0" 4maintainer: [ 5 "David Allsopp <david@tarides.com>" 6 "Florian Angeletti <florian.angeletti@inria.fr>" 7] 8authors: [ 9 "Xavier Leroy" 10 "Damien Doligez" 11 "Alain Frisch" 12 "Jacques Garrigue" 13 "Didier Rémy" 14 "KC Sivaramakrishnan" 15 "Jérôme Vouillon" 16] 17homepage: "https://ocaml.org" 18bug-reports: "https://github.com/ocaml/opam-repository/issues" 19dev-repo: "git+https://github.com/ocaml/ocaml.git#5.3" 20depends: [ 21 # This is OCaml 5.3.0 22 "ocaml" {= "5.3.0" & post} 23 24 # General base- packages 25 "base-unix" {post} 26 "base-bigarray" {post} 27 "base-threads" {post} 28 "base-domains" {post} 29 "base-nnp" {post} 30 "base-effects" {post} 31 32 "ocaml-beta" {opam-version < "2.1.0"} 33 34 # Port selection (Windows) 35 # amd64 mingw-w64 / MSVC 36 (("arch-x86_64" {os = "win32" & arch = "x86_64"} & 37 (("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 38 ("system-msvc" & "winpthreads" & "ocaml-option-no-compression" {os = "win32"}))) | 39 # i686 mingw-w64 / MSVC 40 ("arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" {os = "win32"} & 41 (("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 42 ("system-msvc" & "winpthreads" & "ocaml-option-no-compression" {os = "win32"}))) | 43 # Non-Windows systems need to install something to satisfy this formula, so 44 # repeat the base-unix dependency 45 "base-unix" {os != "win32" & post}) 46 47 # All the 32-bit architectures are bytecode-only 48 "ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"} 49 50 # Support Packages 51 "flexdll" {>= "0.42" & os = "win32"} 52] 53flags: [ avoid-version ] 54setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 55x-env-path-rewrite: [ 56 [CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"] 57] 58build-env: [ 59 [MSYS2_ARG_CONV_EXCL = "*"] 60 [LSAN_OPTIONS = "detect_leaks=0,exitcode=0"] 61 [ASAN_OPTIONS = "detect_leaks=0,exitcode=0"] 62] 63build: [ 64 [ 65 "./configure" 66 "--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed} 67 "--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed} 68 "--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed} 69 "--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed} 70 "--prefix=%{prefix}%" 71 "--docdir=%{doc}%/ocaml" 72 "--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed} 73 "--with-winpthreads-msvc=%{winpthreads:share}%" {system-msvc:installed} 74 "-C" 75 "--with-afl" {ocaml-option-afl:installed} 76 "--disable-native-compiler" {ocaml-option-bytecode-only:installed} 77 "--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed} 78 "--enable-flambda" {ocaml-option-flambda:installed} 79 "--enable-frame-pointers" {ocaml-option-fp:installed} 80 "--without-zstd" {ocaml-option-no-compression:installed} 81 "--enable-tsan" {ocaml-option-tsan:installed} 82 "CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os = "openbsd" | os = "macos")} 83 "CC=clang" {ocaml-option-tsan:installed & (os="macos")} 84 "CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"} 85 "CFLAGS=-Os" {ocaml-option-musl:installed & arch != "arm64"} 86 "CFLAGS=-Os -mno-outline-atomics" {ocaml-option-musl:installed & arch = "arm64"} 87 "LDFLAGS=-Wl,--no-as-needed,-ldl" {ocaml-option-leak-sanitizer:installed | (ocaml-option-address-sanitizer:installed & os!="macos")} 88 "CC=gcc -ldl -fsanitize=leak -fno-omit-frame-pointer -O1 -g" {ocaml-option-leak-sanitizer:installed} 89 "CC=gcc -ldl -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os!="macos"} 90 "CC=clang -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os="macos"} 91 "CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"} 92 "CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"} 93 "ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"} 94 "--host=i386-linux" {ocaml-option-32bit:installed & os="linux"} 95 "--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"} 96 "LIBS=-static" {ocaml-option-static:installed} 97 "--disable-warn-error" 98 ] 99 [make "-j%{jobs}%"] 100] 101install: [make "install"] 102url { 103 src: "https://github.com/ocaml/ocaml/archive/5.3.0-rc1.tar.gz" 104 checksum: "sha256=fec05fba0431e374c3fbc40ad761d72cecc2c59685827d10a8d6a5a71906fcf3" 105} 106depopts: [ 107 "ocaml-option-32bit" 108 "ocaml-option-afl" 109 "ocaml-option-bytecode-only" 110 "ocaml-option-no-flat-float-array" 111 "ocaml-option-flambda" 112 "ocaml-option-fp" 113 "ocaml-option-no-compression" 114 "ocaml-option-musl" 115 "ocaml-option-leak-sanitizer" 116 "ocaml-option-address-sanitizer" 117 "ocaml-option-static" 118 "ocaml-option-tsan" 119] 120extra-source "ocaml-compiler.install" { 121 src: 122 "https://raw.githubusercontent.com/ocaml/ocaml/899b8f3bece45f55161dad72eaa223c2bb7202e8/ocaml-variants.install" 123 checksum: [ 124 "sha256=7af3dc34e6f9f3be2ffd8d32cd64fa650d6a036c86c4821a7033d24a90fba11c" 125 "md5=781ea69255fd0cb643a9617ff56fd6ba" 126 ] 127}