this repo has no description
1opam-version: "2.0"
2synopsis: "4.02.3+buckle-master"
3description: """
4==================================
5
6Provides patches required for [bucklescript](https://github.com/bloomberg/bucklescript)"""
7maintainer: "David Allsopp <david@tarides.com>"
8depends: [
9 "ocaml" {= "4.02.3" & post}
10 "base-unix" {post}
11 "base-bigarray" {post}
12 "base-threads" {post}
13 "base-ocamlbuild" {post}
14]
15conflict-class: "ocaml-core-compiler"
16flags: compiler
17setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
18build: [
19 [
20 "sed"
21 "-ib"
22 "-e"
23 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
24 "config/auto-aux/hasgot"
25 ] {os = "macos"}
26 ["./configure" "-prefix" prefix "-with-debug-runtime"]
27 {os != "openbsd" & os != "freebsd" & os != "macos"}
28 [
29 "./configure"
30 "-prefix"
31 prefix
32 "-with-debug-runtime"
33 "-cc"
34 "cc"
35 "-aspp"
36 "cc -c"
37 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
38 [make "world.opt"]
39]
40install: [make "install"]
41url {
42 src: "https://github.com/bloomberg/ocaml/archive/master.zip"
43}
44available: !(os = "macos" & arch = "arm64")
45license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
46authors: [
47 "Xavier Leroy"
48 "Damien Doligez"
49 "Alain Frisch"
50 "Jacques Garrigue"
51 "Didier Rémy"
52 "Jérôme Vouillon"
53]
54bug-reports: "https://github.com/ocaml/opam-repository/issues"
55homepage: "https://ocaml.org"
56dev-repo: "git+https://github.com/ocaml/ocaml.git#4.02"
57patches: ["fix-gcc10.patch" "alt-signal-stack.patch" "gpr1330.patch"]
58extra-source "alt-signal-stack.patch" {
59 src: "https://github.com/ocaml/ocaml/commit/9de2b77472aee18a94b41cff70caee27fb901225.patch?full_index=1"
60 checksum: "sha256=91841447cc2d11ebe67a078ace677a18f06432ebf15c4c6d5a09e04b67dd041a"
61}
62extra-source "gpr1330.patch" {
63 src: "https://github.com/ocaml/ocaml/commit/bcc7a767279ff70518b3f4219cc0b9bffec7dd43.patch?full_index=1"
64 checksum: "sha256=594d4dd6c192fe77e9fc025674b51e3de74d70326b2e750a249a09eeded68716"
65}
66extra-source "fix-gcc10.patch" {
67 src:
68 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.02.3"
69 checksum: [
70 "sha256=7f66fe8a08dbb4f63f927b864576d15ab6062787d19ffe6dfa5c36b733c9e330"
71 "md5=4516183897da9033f49dd291fa198b8c"
72 ]
73}