this repo has no description
1opam-version: "2.0"
2license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
3synopsis: "BER-N114 MetaOCaml"
4maintainer: [
5 "David Allsopp <david@tarides.com>"
6 "Jeremy Yallop <yallop@gmail.com>"
7]
8authors: ["Xavier Leroy" "Damien Doligez" "Alain Frisch" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon" "Oleg Kiselyov"]
9bug-reports: "https://github.com/ocaml/opam-repository/issues"
10dev-repo: "git+https://github.com/metaocaml/ber-metaocaml.git#ber-n114"
11homepage: "http://okmij.org/ftp/ML/MetaOCaml.html"
12depends: [
13 "ocaml" {= "4.14.1" & post}
14 "base-unix" {post}
15 "base-bigarray" {post}
16 "base-threads" {post}
17 "base-metaocaml-ocamlfind" {post}
18]
19conflict-class: "ocaml-core-compiler"
20flags: compiler
21setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
22build: [
23 [
24 "./configure"
25 "--prefix=%{prefix}%"
26 "--docdir=%{doc}%/ocaml"
27 "-C"
28 "--with-afl" {ocaml-option-afl:installed}
29 "--disable-native-compiler" {ocaml-option-bytecode-only:installed}
30 "--disable-force-safe-string" {ocaml-option-default-unsafe-string:installed}
31 "DEFAULT_STRING=unsafe" {ocaml-option-default-unsafe-string:installed}
32 "--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed}
33 "--enable-flambda" {ocaml-option-flambda:installed}
34 "--enable-frame-pointers" {ocaml-option-fp:installed}
35 "--disable-naked-pointers" {ocaml-option-nnp:installed}
36 "--enable-naked-pointers-checker" {ocaml-option-nnpchecker:installed}
37 "CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
38 "CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"}
39 "CFLAGS=-Os" {ocaml-option-musl:installed}
40 "CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"}
41 "CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"}
42 "ASPP=cc -c" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
43 "ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"}
44 "ASPP=gcc -m32 -c" {ocaml-option-32bit:installed & os="linux"}
45 "ASPP=gcc -arch i386 -m32 -c" {ocaml-option-32bit:installed & os="macos"}
46 "AS=as --32" {ocaml-option-32bit:installed & os="linux"}
47 "AS=as -arch i386" {ocaml-option-32bit:installed & os="macos"}
48 "--host=i386-linux" {ocaml-option-32bit:installed & os="linux"}
49 "--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"}
50 "PARTIALLD=ld -r -melf_i386" {ocaml-option-32bit:installed & os="linux"}
51 "LIBS=-static" {ocaml-option-static:installed}
52 "--disable-warn-error"
53 ]
54 [make "-j%{jobs}%"]
55]
56install: [
57 [make "-i" "install"]
58 [make "-C" "ber-metaocaml-114" "install" "install.opt"]
59]
60url {
61 src: "https://github.com/metaocaml/ber-metaocaml/archive/BER-N114.tar.gz"
62 checksum: [
63 "sha256=c875038885dc7d306679629aa80c5cc895519db4e5f087ec713f4115d6554726"
64 "md5=ebdc0ce3b02aacd0567f4136b1b16074"
65 ]
66}
67depopts: [
68 "ocaml-option-32bit"
69 "ocaml-option-afl"
70 "ocaml-option-bytecode-only"
71 "ocaml-option-default-unsafe-string"
72 "ocaml-option-no-flat-float-array"
73 "ocaml-option-flambda"
74 "ocaml-option-fp"
75 "ocaml-option-musl"
76 "ocaml-option-static"
77 "ocaml-option-nnp"
78 "ocaml-option-nnpchecker"
79]
80available: !(os = "macos" & arch = "arm64") & os != "win32"