this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #26426 from Octachron/OCaml_5.3_dev

OCaml 5.3 and 5.4 development packages

authored by

Anil Madhavapeddy and committed by
GitHub
99ae8746 a10f3c58

+173 -3
+3 -3
packages/ocaml-variants/ocaml-variants.5.3.0+trunk/opam
··· 1 1 opam-version: "2.0" 2 2 license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 3 - synopsis: "Current trunk" 3 + synopsis: "Latest 5.3 development" 4 4 maintainer: [ 5 5 "David Allsopp <david@tarides.com>" 6 6 "Florian Angeletti <florian.angeletti@inria.fr>" ··· 15 15 ] 16 16 homepage: "https://ocaml.org" 17 17 bug-reports: "https://github.com/ocaml/opam-repository/issues" 18 - dev-repo: "git+https://github.com/ocaml/ocaml.git#trunk" 18 + dev-repo: "git+https://github.com/ocaml/ocaml.git#5.3" 19 19 depends: [ 20 20 # This is OCaml 5.3.0 21 21 "ocaml" {= "5.3.0" & post} ··· 113 113 ] 114 114 install: [make "install"] 115 115 url { 116 - src: "https://github.com/ocaml/ocaml/archive/trunk.tar.gz" 116 + src: "https://github.com/ocaml/ocaml/archive/5.3.tar.gz" 117 117 } 118 118 depopts: [ 119 119 "ocaml-option-32bit"
+131
packages/ocaml-variants/ocaml-variants.5.4.0+trunk/opam
··· 1 + opam-version: "2.0" 2 + license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 3 + synopsis: "Current trunk" 4 + maintainer: [ 5 + "David Allsopp <david@tarides.com>" 6 + "Florian Angeletti <florian.angeletti@inria.fr>" 7 + ] 8 + authors: [ 9 + "Xavier Leroy" 10 + "Damien Doligez" 11 + "Alain Frisch" 12 + "Jacques Garrigue" 13 + "Didier Rémy" 14 + "Jérôme Vouillon" 15 + ] 16 + homepage: "https://ocaml.org" 17 + bug-reports: "https://github.com/ocaml/opam-repository/issues" 18 + dev-repo: "git+https://github.com/ocaml/ocaml.git#trunk" 19 + depends: [ 20 + # This is OCaml 5.4.0 21 + "ocaml" {= "5.4.0" & post} 22 + 23 + # General base- packages 24 + "base-unix" {post} 25 + "base-bigarray" {post} 26 + "base-threads" {post} 27 + "base-domains" {post} 28 + "base-nnp" {post} 29 + 30 + "ocaml-beta" {opam-version < "2.1.0"} 31 + 32 + # Architecture (non-Windows) 33 + # opam-repository at present requires that ocaml-base-compiler is installed 34 + # using an architecture which matches the machine's, since arch is used in 35 + # available fields. Cross-compilation at this stage is an unstable accident. 36 + "host-arch-arm32" {arch = "arm32" & post} 37 + "host-arch-arm64" {arch = "arm64" & post} 38 + "host-arch-ppc64" {arch = "ppc64" & post} 39 + "host-arch-riscv64" {arch = "riscv64" & post} 40 + "host-arch-s390x" {arch = "s390x" & post} 41 + # The Windows ports explicitly select the architecture (see below) this 42 + # facility is not yet available for other platforms. 43 + "host-arch-x86_32" {os != "win32" & arch = "x86_32" & post} 44 + ("host-arch-x86_64" {os != "win32" & arch = "x86_64" & post} | 45 + ("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32" & arch = "x86_64"})) 46 + "host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post} 47 + 48 + # Port selection (Windows) 49 + # amd64 mingw-w64 / MSVC 50 + (("arch-x86_64" {os = "win32" & arch = "x86_64"} & 51 + (("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 52 + ("system-msvc" & "winpthreads" & "ocaml-option-no-compression" {os = "win32"}))) | 53 + # i686 mingw-w64 / MSVC 54 + ("arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" {os = "win32"} & 55 + (("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 56 + ("system-msvc" & "winpthreads" & "ocaml-option-no-compression" {os = "win32"}))) | 57 + # Non-Windows systems 58 + "host-system-other" {os != "win32" & post}) 59 + 60 + # All the 32-bit architectures are bytecode-only 61 + "ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"} 62 + 63 + # Support Packages 64 + "flexdll" {>= "0.42" & os = "win32"} 65 + ] 66 + conflict-class: "ocaml-core-compiler" 67 + flags: [ compiler avoid-version ] 68 + setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 69 + x-env-path-rewrite: [ 70 + [CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"] 71 + ] 72 + build-env: [ 73 + [MSYS2_ARG_CONV_EXCL = "*"] 74 + [LSAN_OPTIONS = "detect_leaks=0,exitcode=0"] 75 + [ASAN_OPTIONS = "detect_leaks=0,exitcode=0"] 76 + ] 77 + build: [ 78 + [ 79 + "./configure" 80 + "--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed} 81 + "--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed} 82 + "--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed} 83 + "--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed} 84 + "--prefix=%{prefix}%" 85 + "--docdir=%{doc}%/ocaml" 86 + "--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed} 87 + "--with-winpthreads-msvc=%{winpthreads:share}%" {system-msvc:installed} 88 + "-C" 89 + "--with-afl" {ocaml-option-afl:installed} 90 + "--disable-native-compiler" {ocaml-option-bytecode-only:installed} 91 + "--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed} 92 + "--enable-flambda" {ocaml-option-flambda:installed} 93 + "--enable-frame-pointers" {ocaml-option-fp:installed} 94 + "--without-zstd" {ocaml-option-no-compression:installed} 95 + "--enable-tsan" {ocaml-option-tsan:installed} 96 + "CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")} 97 + "CC=clang" {ocaml-option-tsan:installed & (os="macos")} 98 + "CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"} 99 + "CFLAGS=-Os" {ocaml-option-musl:installed} 100 + "LDFLAGS=-Wl,--no-as-needed,-ldl" {ocaml-option-leak-sanitizer:installed | (ocaml-option-address-sanitizer:installed & os!="macos")} 101 + "CC=gcc -ldl -fsanitize=leak -fno-omit-frame-pointer -O1 -g" {ocaml-option-leak-sanitizer:installed} 102 + "CC=gcc -ldl -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os!="macos"} 103 + "CC=clang -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os="macos"} 104 + "CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"} 105 + "CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"} 106 + "ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"} 107 + "--host=i386-linux" {ocaml-option-32bit:installed & os="linux"} 108 + "--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"} 109 + "LIBS=-static" {ocaml-option-static:installed} 110 + "--disable-warn-error" 111 + ] 112 + [make "-j%{jobs}%"] 113 + ] 114 + install: [make "install"] 115 + url { 116 + src: "https://github.com/ocaml/ocaml/archive/trunk.tar.gz" 117 + } 118 + depopts: [ 119 + "ocaml-option-32bit" 120 + "ocaml-option-afl" 121 + "ocaml-option-bytecode-only" 122 + "ocaml-option-no-flat-float-array" 123 + "ocaml-option-flambda" 124 + "ocaml-option-fp" 125 + "ocaml-option-no-compression" 126 + "ocaml-option-musl" 127 + "ocaml-option-leak-sanitizer" 128 + "ocaml-option-address-sanitizer" 129 + "ocaml-option-static" 130 + "ocaml-option-tsan" 131 + ]
+39
packages/ocaml/ocaml.5.4.0/opam
··· 1 + opam-version: "2.0" 2 + license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 3 + synopsis: "The OCaml compiler (virtual package)" 4 + description: """ 5 + This package requires a matching implementation of OCaml, 6 + and polls it to initialise specific variables like `ocaml:native-dynlink`""" 7 + maintainer: "David Allsopp <david@tarides.com>" 8 + depends: [ 9 + "ocaml-config" {>= "3"} 10 + "ocaml-base-compiler" {= "5.4.0"} | 11 + "ocaml-variants" {>= "5.4.0~" & < "5.4.1~"} | 12 + "ocaml-system" {>= "5.4.0~" & < "5.4.1~"} | 13 + "dkml-base-compiler" {>= "5.4.0~" & < "5.4.1~"} 14 + ] 15 + setenv: [ 16 + [CAML_LD_LIBRARY_PATH = "%{_:stubsdir}%"] 17 + [CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"] 18 + [OCAML_TOPLEVEL_PATH = "%{toplevel}%"] 19 + ] 20 + x-env-path-rewrite: [ 21 + [CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"] 22 + ] 23 + build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name] 24 + build-env: [ 25 + [CAML_LD_LIBRARY_PATH = ""] 26 + [LSAN_OPTIONS = "detect_leaks=0,exitcode=0"] 27 + [ASAN_OPTIONS = "detect_leaks=0,exitcode=0"] 28 + ] 29 + homepage: "https://ocaml.org" 30 + bug-reports: "https://github.com/ocaml/opam-repository/issues" 31 + authors: [ 32 + "Xavier Leroy" 33 + "Damien Doligez" 34 + "Alain Frisch" 35 + "Jacques Garrigue" 36 + "Didier Rémy" 37 + "Jérôme Vouillon" 38 + ] 39 + flags: conf