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