this repo has no description
1opam-version: "2.0"
2synopsis: "Official 3.10.2 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.10"
9depends: [
10 "ocaml" {= "3.10.2" & post}
11 "base-unix" {post}
12 "base-bigarray" {post}
13 "base-threads" {post}
14 "base-ocamlbuild" {post}
15]
16conflict-class: "ocaml-core-compiler"
17flags: compiler
18setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
19build: [
20 [
21 "sed"
22 "-ib"
23 "-e"
24 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
25 "config/auto-aux/hasgot"
26 ] {os = "macos"}
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]
39patches: ["pr4867.patch" "alt-signal-stack.patch"]
40url {
41 src: "http://caml.inria.fr/pub/distrib/ocaml-3.10/ocaml-3.10.2.tar.gz"
42 checksum: [
43 "sha256=4db8697ec5a8c12e8428b204ad2bf47cb45eb26bbe57f09176e90a3cd7c5ed47"
44 "md5=52c795592c90ecb15c2c4754f04eeff4"
45 ]
46}
47available: arch != "arm64" & arch != "arm32" & arch != "ppc64"
48extra-source "pr4867.patch" {
49 src:
50 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/pr4867.patch.3.10.2"
51 checksum: [
52 "sha256=a73bc8766a519c9ec0fe41ed9e6be65250e058c87fc51fc04970bbf1d46e001c"
53 "md5=3875e5e32cfa8b639785e0963e9eb7c4"
54 ]
55}
56extra-source "alt-signal-stack.patch" {
57 src:
58 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/alt-signal-stack.patch.3.10.2"
59 checksum: [
60 "sha256=22343bb939f2bb3677c5d8b088fa43699db0b71d117d0989db08de2e4f95bd97"
61 "md5=49d033082674c9092387a5605c51d34c"
62 ]
63}