this repo has no description
1opam-version: "2.0"
2synopsis: "BER-N102 MetaOCaml"
3maintainer: "David Allsopp <david@tarides.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-n102"
15homepage: "http://okmij.org/ftp/ML/MetaOCaml.html"
16depends: [
17 "ocaml" {= "4.02.1" & post}
18 "base-unix" {post}
19 "base-bigarray" {post}
20 "base-threads" {post}
21 "base-ocamlbuild" {post}
22 "base-metaocaml-ocamlfind" {post}
23]
24conflict-class: "ocaml-core-compiler"
25flags: compiler
26setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
27build: [
28 [
29 "sed"
30 "-ib"
31 "-e"
32 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
33 "config/auto-aux/hasgot"
34 ] {os = "macos"}
35 ["./configure" "-prefix" "%{prefix}%"]
36 {os != "openbsd" & os != "freebsd" & os != "macos"}
37 ["./configure" "-prefix" "%{prefix}%" "-cc" "cc" "-aspp" "cc -c"]
38 {os = "openbsd" | os = "freebsd" | os = "macos"}
39 ["%{make}%" "world" "bootstrap" "opt" "opt.opt"]
40]
41install: [
42 ["%{make}%" "-i" "install"]
43 ["%{make}%" "-C" "metalib" "all" "install"]
44]
45url {
46 src:
47 "https://github.com/metaocaml/ber-metaocaml/archive/refs/tags/ber-n102.tar.gz"
48 checksum: [
49 "sha256=2891674715db98fe618cd0edb71c5dc22836ff0090d985deb6f48dccd108f943"
50 "md5=b6e16e26ae3220a4cf7d0056bc1cb539"
51 ]
52}
53patches: ["fix-gcc10.patch" "gpr1330.patch" "alt-signal-stack.patch"]
54available: !(os = "macos" & arch = "arm64")
55extra-source "alt-signal-stack.patch" {
56 src: "https://github.com/ocaml/ocaml/commit/9de2b77472aee18a94b41cff70caee27fb901225.patch?full_index=1"
57 checksum: "sha256=91841447cc2d11ebe67a078ace677a18f06432ebf15c4c6d5a09e04b67dd041a"
58}
59extra-source "gpr1330.patch" {
60 src: "https://github.com/ocaml/ocaml/commit/bcc7a767279ff70518b3f4219cc0b9bffec7dd43.patch?full_index=1"
61 checksum: "sha256=594d4dd6c192fe77e9fc025674b51e3de74d70326b2e750a249a09eeded68716"
62}
63extra-source "fix-gcc10.patch" {
64 src:
65 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.02.1"
66 checksum: [
67 "sha256=70a506f8f44a472fc27cf4d7097d5fa47d15ea584dd956a39b73c0e8cf1e35b4"
68 "md5=4afa0ebb0a06b65e95e4906e1dced628"
69 ]
70}