this repo has no description
1opam-version: "2.0"
2synopsis: "OCaml 4.04.1 compiled with -fPIC runtime libs"
3maintainer: "David Allsopp <david@tarides.com>"
4depends: [
5 "ocaml" {= "4.04.1" & post}
6 "base-unix" {post}
7 "base-bigarray" {post}
8 "base-threads" {post}
9]
10conflict-class: "ocaml-core-compiler"
11flags: compiler
12setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
13build: [
14 [
15 "sed"
16 "-ib"
17 "-e"
18 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
19 "config/auto-aux/hasgot"
20 ] {os = "macos"}
21 [
22 "./configure"
23 "-cc"
24 "cc -fPIC"
25 "-aspp"
26 "cc -c -fPIC"
27 "-prefix"
28 prefix
29 "-with-debug-runtime"
30 ]
31 [make "world"]
32 [make "world.opt"]
33]
34install: [make "install"]
35url {
36 src: "https://github.com/ocaml/ocaml/archive/4.04.1.tar.gz"
37 checksum: [
38 "sha256=9aea1867848e370ae79f9aea4d48b04daf416478b0f43dfcb3a0f4d3ecf5f8e4"
39 "md5=ca6f8d941c4c86c43cccb29ae2a9cd0e"
40 ]
41}
42patches: ["fix-gcc10.patch" "gpr1330.patch" "alt-signal-stack.patch"]
43available: !(os = "macos" & arch = "arm64")
44license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
45authors: [
46 "Xavier Leroy"
47 "Damien Doligez"
48 "Alain Frisch"
49 "Jacques Garrigue"
50 "Didier Rémy"
51 "Jérôme Vouillon"
52]
53bug-reports: "https://github.com/ocaml/opam-repository/issues"
54homepage: "https://ocaml.org"
55dev-repo: "git+https://github.com/ocaml/ocaml.git#4.04"
56extra-source "alt-signal-stack.patch" {
57 src: "https://github.com/ocaml/ocaml/commit/6bcff7e6ce1a43e088469278eb3a9341e6a2ca5b.patch?full_index=1"
58 checksum: "sha256=dc1e56a04f557c751c7e09b8d70247181842cfd99f235eff6e4d143c9d892925"
59}
60extra-source "gpr1330.patch" {
61 src: "https://github.com/ocaml/ocaml/commit/db11f141a0e35c7fbaec419a33c4c39d199e2635.patch?full_index=1"
62 checksum: "sha256=ba3e0b48250e66a08eef0a5162bfdea2e20e3cdefd098ee38f345ae8e8175ff4"
63}
64extra-source "fix-gcc10.patch" {
65 src:
66 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.04.1"
67 checksum: [
68 "sha256=ca5ea3fb78daac1c3899abfddb7bda4680255e6364e53e63d651392e669ab73a"
69 "md5=c59d1ac3de4c892f4aa74d8d1112de00"
70 ]
71}