this repo has no description
1opam-version: "2.0"
2license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
3synopsis: "Second alpha release of OCaml 4.13.0"
4maintainer: [
5 "David Allsopp <david@tarides.com>"
6 "Florian Angeletti <florian.angeletti@inria.fr>"
7]
8authors: ["Xavier Leroy" "Damien Doligez" "Alain Frisch" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon"]
9homepage: "https://ocaml.org"
10bug-reports: "https://github.com/ocaml/opam-repository/issues"
11dev-repo: "git+https://github.com/ocaml/ocaml.git#4.13"
12depends: [
13 "ocaml" {= "4.13.0" & post}
14 "base-unix" {post}
15 "base-bigarray" {post}
16 "base-threads" {post}
17 "ocaml-beta" {opam-version < "2.1.0"}
18]
19conflict-class: "ocaml-core-compiler"
20flags: [ compiler avoid-version ]
21setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
22build: [
23 [
24 "./configure"
25 "--prefix=%{prefix}%"
26 "-C"
27 "--with-afl" {ocaml-option-afl:installed}
28 "--disable-native-compiler" {ocaml-option-bytecode-only:installed}
29 "--disable-force-safe-string" {ocaml-option-default-unsafe-string:installed}
30 "DEFAULT_STRING=unsafe" {ocaml-option-default-unsafe-string:installed}
31 "--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed}
32 "--enable-flambda" {ocaml-option-flambda:installed}
33 "--enable-frame-pointers" {ocaml-option-fp:installed}
34 "--disable-naked-pointers" {ocaml-option-nnp:installed}
35 "--enable-naked-pointers-checker" {ocaml-option-nnpchecker:installed}
36 "CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
37 "CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"}
38 "CFLAGS=-Os" {ocaml-option-musl:installed}
39 "CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"}
40 "CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"}
41 "ASPP=cc -c" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
42 "ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"}
43 "ASPP=gcc -m32 -c" {ocaml-option-32bit:installed & os="linux"}
44 "ASPP=gcc -arch i386 -m32 -c" {ocaml-option-32bit:installed & os="macos"}
45 "AS=as --32" {ocaml-option-32bit:installed & os="linux"}
46 "AS=as -arch i386" {ocaml-option-32bit:installed & os="macos"}
47 "--host=i386-linux" {ocaml-option-32bit:installed & os="linux"}
48 "--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"}
49 "PARTIALLD=ld -r -melf_i386" {ocaml-option-32bit:installed & os="linux"}
50 "LIBS=-static" {ocaml-option-static:installed}
51 ]
52 [make "-j%{jobs}%"]
53]
54install: [make "install"]
55url {
56 src: "https://github.com/ocaml/ocaml/archive/4.13.0-alpha2.tar.gz"
57 checksum: "sha256=10a6f02a3d7e3aaf7baca0f518e22daa55479362e66e6ab10edb0cdbcee6e6bf"
58}
59post-messages: [
60 "A failure in the middle of the build may be caused by build parallelism
61 (enabled by default).
62 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
63 {failure & jobs > 1}
64 "You can try installing again including --jobs=1
65 to force a sequential build instead."
66 {failure & jobs > 1 & opam-version >= "2.0.5"}
67]
68depopts: [
69 "ocaml-option-32bit"
70 "ocaml-option-afl"
71 "ocaml-option-bytecode-only"
72 "ocaml-option-default-unsafe-string"
73 "ocaml-option-no-flat-float-array"
74 "ocaml-option-flambda"
75 "ocaml-option-fp"
76 "ocaml-option-musl"
77 "ocaml-option-static"
78 "ocaml-option-nnp"
79 "ocaml-option-nnpchecker"
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