this repo has no description
1opam-version: "2.0"
2synopsis: "BER-N104 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-n104"
15homepage: "http://okmij.org/ftp/ML/MetaOCaml.html"
16depends: [
17 "ocaml" {= "4.04.0" & 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 [make "world"]
39 [make "bootstrap"]
40 [make "world.opt"]
41]
42install: [
43 [make "-i" "install"]
44 [make "-C" "metalib" "all" "install" "install.opt"]
45]
46url {
47 src: "https://github.com/metaocaml/ber-metaocaml/archive/ber-n104.tar.gz"
48 checksum: [
49 "sha256=d8558f6a121e5a40fdc45d0a1cfc462552a6771a35dd403fb6706df184d382f4"
50 "md5=e6b1da1b34a207c4995ce7123475a3b6"
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/6bcff7e6ce1a43e088469278eb3a9341e6a2ca5b.patch?full_index=1"
57 checksum: "sha256=dc1e56a04f557c751c7e09b8d70247181842cfd99f235eff6e4d143c9d892925"
58}
59extra-source "gpr1330.patch" {
60 src: "https://github.com/ocaml/ocaml/commit/db11f141a0e35c7fbaec419a33c4c39d199e2635.patch?full_index=1"
61 checksum: "sha256=ba3e0b48250e66a08eef0a5162bfdea2e20e3cdefd098ee38f345ae8e8175ff4"
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.04.0"
66 checksum: [
67 "sha256=595b914548bec578fc1b6f55abad62d18a9d707dc7dbcf9775b09f0781b1f203"
68 "md5=8b0606a5733be21ee8ae2a19ce67059e"
69 ]
70}