this repo has no description
1opam-version: "2.0"
2synopsis: "4.01.0 release with runtime compiled with -fPIC"
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 "-cc"
28 "gcc -fPIC"
29 "-aspp"
30 "gcc -c -fPIC"
31 ]
32 [make "world"]
33 [make "world.opt"]
34]
35install: [make "install"]
36patches: [
37 "bd7fa181cb64742c3b6cbb8ee13436554eb18cd7...fix-clang-build.diff"
38 "alt-signal-stack.patch"
39]
40url {
41 src: "http://caml.inria.fr/pub/distrib/ocaml-4.01/ocaml-4.01.0.tar.gz"
42 checksum: [
43 "sha256=ea1751deff454f5c738d10d8a0ad135afee0852d391cf95766b726c0faf7cfdb"
44 "md5=04dfdd7da189462a4f10ec6530359cef"
45 ]
46}
47extra-source "bd7fa181cb64742c3b6cbb8ee13436554eb18cd7...fix-clang-build.diff" {
48 src:
49 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/fix-clang-build-ocaml-401.patch"
50 checksum: [
51 "sha256=54c4a0e537dbe4e5a85d9c91671d2e82749042a7211305de3632e6a0529eef2d"
52 "md5=faccda3b3ab092fa9ac7d5d4d8beb004"
53 ]
54}
55available: !(os = "macos" & arch = "arm64")
56license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
57authors: [
58 "Xavier Leroy"
59 "Damien Doligez"
60 "Alain Frisch"
61 "Jacques Garrigue"
62 "Didier Rémy"
63 "Jérôme Vouillon"
64]
65bug-reports: "https://github.com/ocaml/opam-repository/issues"
66homepage: "https://ocaml.org"
67dev-repo: "git+https://github.com/ocaml/ocaml.git#4.01"
68extra-source "alt-signal-stack.patch" {
69 src: "https://github.com/ocaml/ocaml/commit/d111407bf4ff71171598d30825c8e59ed5f75fd6.patch?full_index=1"
70 checksum: "sha256=cadeb58478a5ca998fdfa54dc99fbb31235a0ce7689a740338a8fdb391e9b436"
71}