this repo has no description
1opam-version: "2.0"
2synopsis: "Official 3.09.3 release"
3maintainer: "David Allsopp <david@tarides.com>"
4license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
5authors: ["Xavier Leroy" "Damien Doligez" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon"]
6homepage: "https://ocaml.org"
7bug-reports: "https://github.com/ocaml/opam-repository/issues"
8dev-repo: "git+https://github.com/ocaml/ocaml.git#3.09"
9depends: [
10 "ocaml" {= "3.09.3" & post}
11 "base-unix" {post}
12 "base-bigarray" {post}
13 "base-threads" {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 ["sed" "-i" "-e" "s/struct sigaltstack/stack_t/" "asmrun/signals.c"]
27 ["./configure" "-prefix" prefix]
28 {os != "openbsd" & os != "freebsd" & os != "macos"}
29 ["./configure" "-prefix" prefix "-cc" "cc" "-aspp" "cc -c"]
30 {os = "openbsd" | os = "freebsd" | os = "macos"}
31 [make "world"]
32 [make "world.opt"]
33]
34install: [
35 [make "install"]
36 ["mkdir" "-p" "%{prefix}%/lib/ocaml/compiler-libs"]
37 ["cp" "-r" "typing" "parsing" "utils" "%{prefix}%/lib/ocaml/compiler-libs/"]
38]
39url {
40 src: "https://caml.inria.fr/pub/distrib/ocaml-3.09/ocaml-3.09.3.tar.gz"
41 checksum: [
42 "sha256=83bcf0e1744f8b5c7e0e69a941db500e159a1492c34c226e9f718d0fd2a10331"
43 "md5=11a91651007f70a2cb4d5ecfe20fab89"
44 ]
45}
46patches: [
47 "pr4439.patch"
48 "ocamlopt-fPIC.patch"
49 "pr4867.patch"
50 "alt-signal-stack.patch"
51]
52available: arch != "arm64" & arch != "arm32" & arch != "ppc64"
53extra-source "pr4867.patch" {
54 src:
55 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/pr4867.patch.3.09.3"
56 checksum: [
57 "sha256=77843539d7f92a4bb1ec27d3158e5ffef057f42a141fd0345c598192a6a2dba6"
58 "md5=ca6675db25c2cde402301cf7b0bec8d6"
59 ]
60}
61extra-source "pr4439.patch" {
62 src:
63 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/pr4439.patch"
64 checksum: [
65 "sha256=3ba0a1977d21fa853c6e90f1dac62916fb04677771387067ac299c033bbfba98"
66 "md5=da2ef48cb1b5f33f4328dbaf522d8af1"
67 ]
68}
69extra-source "ocamlopt-fPIC.patch" {
70 src:
71 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/ocamlopt-fPIC.patch"
72 checksum: [
73 "sha256=f52255a466b2c032a229edcc520b1f640b2c4722ff7f2280ba70ba7aec5c5b4d"
74 "md5=faa0d816425f8fcbf8a8c3458bc6ed3f"
75 ]
76}
77extra-source "alt-signal-stack.patch" {
78 src:
79 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/alt-signal-stack.patch.3.09.3"
80 checksum: [
81 "sha256=8ea62f959faf2775ea7f11881a50c53c9f043c755a94e5659ea97e975334b7fb"
82 "md5=f0fe444ea7afc5ef5d9e55412d6c1d3d"
83 ]
84}