this repo has no description
1opam-version: "2.0"
2synopsis: "OCaml 4.01.0 release with frame pointers enabled"
3maintainer: "David Allsopp <david@tarides.com>"
4depends: [
5 "ocaml" {= "4.01.0" & post}
6 "base-unix" {post}
7 "base-bigarray" {post}
8 "base-threads" {post}
9 "base-ocamlbuild" {post}
10]
11conflict-class: "ocaml-core-compiler"
12flags: compiler
13setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
14build: [
15 [
16 "sed"
17 "-ib"
18 "-e"
19 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
20 "config/auto-aux/hasgot"
21 ] {os = "macos"}
22 [
23 "./configure"
24 "-prefix"
25 prefix
26 "-with-debug-runtime"
27 "-with-frame-pointers"
28 ] {os != "openbsd" & os != "freebsd" & os != "macos"}
29 [
30 "./configure"
31 "-prefix"
32 prefix
33 "-with-debug-runtime"
34 "-with-frame-pointers"
35 "-cc"
36 "cc"
37 "-aspp"
38 "cc -c"
39 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
40 [make "world"]
41 [make "world.opt"]
42]
43install: [make "install"]
44patches: [
45 "bd7fa181cb64742c3b6cbb8ee13436554eb18cd7...fix-clang-build.diff"
46 "alt-signal-stack.patch"
47]
48url {
49 src: "http://caml.inria.fr/pub/distrib/ocaml-4.01/ocaml-4.01.0.tar.gz"
50 checksum: [
51 "sha256=ea1751deff454f5c738d10d8a0ad135afee0852d391cf95766b726c0faf7cfdb"
52 "md5=04dfdd7da189462a4f10ec6530359cef"
53 ]
54}
55extra-source "bd7fa181cb64742c3b6cbb8ee13436554eb18cd7...fix-clang-build.diff" {
56 src:
57 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/fix-clang-build-ocaml-401.patch"
58 checksum: [
59 "sha256=54c4a0e537dbe4e5a85d9c91671d2e82749042a7211305de3632e6a0529eef2d"
60 "md5=faccda3b3ab092fa9ac7d5d4d8beb004"
61 ]
62}
63available: os = "linux" & arch = "x86_64"
64license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
65authors: [
66 "Xavier Leroy"
67 "Damien Doligez"
68 "Alain Frisch"
69 "Jacques Garrigue"
70 "Didier Rémy"
71 "Jérôme Vouillon"
72]
73bug-reports: "https://github.com/ocaml/opam-repository/issues"
74homepage: "https://ocaml.org"
75dev-repo: "git+https://github.com/ocaml/ocaml.git#4.01"
76extra-source "alt-signal-stack.patch" {
77 src: "https://github.com/ocaml/ocaml/commit/d111407bf4ff71171598d30825c8e59ed5f75fd6.patch?full_index=1"
78 checksum: "sha256=cadeb58478a5ca998fdfa54dc99fbb31235a0ce7689a740338a8fdb391e9b436"
79}