this repo has no description
1opam-version: "2.0"
2synopsis: "Official 3.08.0 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.08"
9depends: [
10 "ocaml" {= "3.08.0" & 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.08/ocaml-3.08.0.tar.gz"
41 checksum: [
42 "sha256=bd9eb40425ab370a5d948160adca8e423bad280d1fb1d580cc5fb623152faf8c"
43 "md5=c6ef478362295c150101cdd2efcd38e0"
44 ]
45}
46patches: ["PIC.patch" "alt-signal-stack.patch"]
47available: arch != "arm64" & arch != "arm32" & arch != "ppc64"
48extra-source "alt-signal-stack.patch" {
49 src:
50 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/alt-signal-stack.patch.3.08.0"
51 checksum: [
52 "sha256=4e744b476c1c82ac7fd2c00be19ae00021fd2f06e872a6c5f3ca73e6a3f6dbe0"
53 "md5=eb6c71b1b8eb8d8ce38381252919d109"
54 ]
55}
56extra-source "PIC.patch" {
57 src:
58 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/PIC.patch.3.08.0"
59 checksum: [
60 "sha256=e618f73a07fe814e76ad6cfb829d4411e833e3094562cd8459a74913245dff6a"
61 "md5=53aa5accaa1308e7b9eb434f47068a24"
62 ]
63}