this repo has no description
1opam-version: "2.0"
2synopsis: "BER-N107 MetaOCaml"
3maintainer: "yallop@gmail.com"
4authors: [
5 "Xavier Leroy"
6 "Damien Doligez"
7 "Alain Frisch"
8 "Jacques Garrigue"
9 "Didier Rémy"
10 "Jérôme Vouillon"
11 "Oleg Kiselyov"
12]
13bug-reports: "https://github.com/ocaml/opam-repository/issues"
14dev-repo: "git+https://github.com/metaocaml/ber-metaocaml.git#ber-n107"
15homepage: "http://okmij.org/ftp/ML/MetaOCaml.html"
16depends: [
17 "ocaml" {= "4.07.1" & post}
18 "base-unix" {post}
19 "base-bigarray" {post}
20 "base-threads" {post}
21 "base-metaocaml-ocamlfind" {post}
22]
23conflict-class: "ocaml-core-compiler"
24flags: compiler
25setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
26build: [
27 [
28 "sed"
29 "-ib"
30 "-e"
31 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
32 "config/auto-aux/hasgot"
33 ] {os = "macos"}
34 ["./configure" "-prefix" "%{prefix}%"]
35 {os != "openbsd" & os != "freebsd" & os != "macos"}
36 ["./configure" "-prefix" "%{prefix}%" "-cc" "cc" "-aspp" "cc -c"]
37 {os = "openbsd" | os = "freebsd" | os = "macos"}
38 ["sh" "-c" "cd ber-metaocaml-107 && make patch"]
39 [make "world" "bootstrap" "world.opt"]
40 [make "-C" "ber-metaocaml-107" "all"]
41]
42install: [
43 [make "-i" "install"]
44 [make "-C" "ber-metaocaml-107" "install" "install.opt"]
45]
46url {
47 src: "https://github.com/metaocaml/ber-metaocaml/archive/ber-n107.tar.gz"
48 checksum: [
49 "sha256=2264a4fcf438ee527fc3dd736ab50cc85efc8bd6e1e82c78300422ab9f166598"
50 "md5=45f8ceeda06ab3d335a2b9388b30b8f5"
51 ]
52}
53post-messages: [
54 "A failure in the middle of the build may be caused by build parallelism
55 (enabled by default).
56 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
57 {failure & jobs > 1 & os != "cygwin"}
58 "You can try installing again including --jobs=1
59 to force a sequential build instead."
60 {failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
61]
62patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
63available: !(os = "macos" & arch = "arm64")
64extra-source "alt-signal-stack.patch" {
65 src: "https://github.com/ocaml/ocaml/commit/00b8c4d503732343d5d01761ad09650fe50ff3a0.patch?full_index=1"
66 checksum: "sha256=80e7d6be30d75f69199908101b513ed0ee525f702ff7d4f9b15b53d646f7f0c6"
67}
68extra-source "fix-gcc10.patch" {
69 src:
70 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.07.1"
71 checksum: [
72 "sha256=efe1f8687fb54de7d0a21877615396d91d977686dc93aecf0a8832691b8237a9"
73 "md5=7f467849e5a4714f49a11517b187184f"
74 ]
75}