this repo has no description
1opam-version: "2.0"
2license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
3synopsis: "First release candidate of OCaml 5.1.1"
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 "Jérôme Vouillon"
15]
16homepage: "https://ocaml.org"
17bug-reports: "https://github.com/ocaml/opam-repository/issues"
18dev-repo: "git+https://github.com/ocaml/ocaml.git#5.1"
19depends: [
20 "ocaml" {= "5.1.1" & post}
21 "base-unix" {post}
22 "base-bigarray" {post}
23 "base-threads" {post}
24 "base-domains" {post}
25 "base-nnp" {post}
26 "ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64"}
27 "ocaml-beta" {opam-version < "2.1.0"}
28]
29conflict-class: "ocaml-core-compiler"
30flags: [ compiler avoid-version ]
31setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
32build-env: [
33 [LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
34 [ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
35]
36build: [
37 [
38 "./configure"
39 "--prefix=%{prefix}%"
40 "--docdir=%{doc}%/ocaml"
41 "-C"
42 "--with-afl" {ocaml-option-afl:installed}
43 "--disable-native-compiler" {ocaml-option-bytecode-only:installed}
44 "--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed}
45 "--enable-flambda" {ocaml-option-flambda:installed}
46 "--enable-frame-pointers" {ocaml-option-fp:installed}
47 "CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
48 "CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"}
49 "CFLAGS=-Os" {ocaml-option-musl:installed}
50 "LDFLAGS=-Wl,--no-as-needed,-ldl" {ocaml-option-leak-sanitizer:installed | (ocaml-option-address-sanitizer:installed & os!="macos")}
51 "CC=gcc -ldl -fsanitize=leak -fno-omit-frame-pointer -O1 -g" {ocaml-option-leak-sanitizer:installed}
52 "CC=gcc -ldl -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os!="macos"}
53 "CC=clang -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os="macos"}
54 "CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"}
55 "CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"}
56 "ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"}
57 "--host=i386-linux" {ocaml-option-32bit:installed & os="linux"}
58 "--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"}
59 "LIBS=-static" {ocaml-option-static:installed}
60 "--disable-warn-error"
61 ]
62 [make "-j%{jobs}%"]
63]
64install: [make "install"]
65url {
66 src: "https://github.com/ocaml/ocaml/archive/5.1.1-rc1.tar.gz"
67 checksum: "sha256=abef810bbe0e8f10f56438d58f57e442e024bca724815c113f8c481ad518827b"
68}
69depopts: [
70 "ocaml-option-32bit"
71 "ocaml-option-afl"
72 "ocaml-option-bytecode-only"
73 "ocaml-option-no-flat-float-array"
74 "ocaml-option-flambda"
75 "ocaml-option-fp"
76 "ocaml-option-musl"
77 "ocaml-option-leak-sanitizer"
78 "ocaml-option-address-sanitizer"
79 "ocaml-option-static"
80]
81available: os != "win32"
82extra-source "ocaml-variants.install" {
83 src:
84 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-variants/ocaml-variants.install"
85 checksum: [
86 "sha256=79f2a1a5044a91350a0eb6ce12e261a72a2855c094c425cddf3860e58c486678"
87 "md5=3e969b841df1f51ca448e6e6295cb451"
88 ]
89}
90x-maintained: false