this repo has no description
1opam-version: "2.0"
2synopsis: "4.02.3+buckle-1"
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/4.02.3+buckle-1.tar.gz"
43 checksum: [
44 "sha256=e994fe990e8ae81df62c07aa6d45270c816b4bc09c12bf1494140fde8a7791e4"
45 "md5=081dd8b58ef668a77c74ec910ae06a39"
46 ]
47}
48patches: ["fix-gcc10.patch" "gpr1330.patch" "alt-signal-stack.patch"]
49available: !(os = "macos" & arch = "arm64")
50license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
51authors: [
52 "Xavier Leroy"
53 "Damien Doligez"
54 "Alain Frisch"
55 "Jacques Garrigue"
56 "Didier Rémy"
57 "Jérôme Vouillon"
58]
59bug-reports: "https://github.com/ocaml/opam-repository/issues"
60homepage: "https://ocaml.org"
61dev-repo: "git+https://github.com/ocaml/ocaml.git#4.02"
62extra-source "alt-signal-stack.patch" {
63 src: "https://github.com/ocaml/ocaml/commit/9de2b77472aee18a94b41cff70caee27fb901225.patch?full_index=1"
64 checksum: "sha256=91841447cc2d11ebe67a078ace677a18f06432ebf15c4c6d5a09e04b67dd041a"
65}
66extra-source "gpr1330.patch" {
67 src: "https://github.com/ocaml/ocaml/commit/bcc7a767279ff70518b3f4219cc0b9bffec7dd43.patch?full_index=1"
68 checksum: "sha256=594d4dd6c192fe77e9fc025674b51e3de74d70326b2e750a249a09eeded68716"
69}
70extra-source "fix-gcc10.patch" {
71 src:
72 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.02.3"
73 checksum: [
74 "sha256=7f66fe8a08dbb4f63f927b864576d15ab6062787d19ffe6dfa5c36b733c9e330"
75 "md5=4516183897da9033f49dd291fa198b8c"
76 ]
77}