this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Official 4.07.0 release, with -no-flat-float-array"
4maintainer: "David Allsopp <david@tarides.com>"
5depends: [
6 "ocaml" {= "4.07.0" & post}
7 "base-unix" {post}
8 "base-bigarray" {post}
9 "base-threads" {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 "-no-flat-float-array"
28 ] {os != "openbsd" & os != "freebsd" & os != "macos"}
29 [
30 "./configure"
31 "-prefix"
32 prefix
33 "-with-debug-runtime"
34 "-no-flat-float-array"
35 "-cc"
36 "cc"
37 "-aspp"
38 "cc -c"
39 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
40 [make "-j%{jobs}%" {os != "cygwin"} "world"]
41 [make "-j%{jobs}%" {os != "cygwin"} "world.opt"]
42]
43install: [make "install"]
44url {
45 src: "https://github.com/ocaml/ocaml/archive/4.07.0.tar.gz"
46 checksum: [
47 "sha256=8dd39da81beaad53a158e71c428f902b609d8f7f33fedf37f15c56be6c4cf840"
48 "md5=1f78bb35a2f15d5ec737ee6a8dc6890d"
49 ]
50}
51post-messages: [
52 "A failure in the middle of the build may be caused by build parallelism
53 (enabled by default).
54 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
55 {failure & jobs > 1 & os != "cygwin"}
56 "You can try installing again including --jobs=1
57 to force a sequential build instead."
58 {failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
59]
60patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
61available: !(os = "macos" & arch = "arm64")
62license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
63authors: [
64 "Xavier Leroy"
65 "Damien Doligez"
66 "Alain Frisch"
67 "Jacques Garrigue"
68 "Didier Rémy"
69 "Jérôme Vouillon"
70]
71bug-reports: "https://github.com/ocaml/opam-repository/issues"
72homepage: "https://ocaml.org"
73dev-repo: "git+https://github.com/ocaml/ocaml.git#4.07"
74extra-source "alt-signal-stack.patch" {
75 src: "https://github.com/ocaml/ocaml/commit/00b8c4d503732343d5d01761ad09650fe50ff3a0.patch?full_index=1"
76 checksum: "sha256=80e7d6be30d75f69199908101b513ed0ee525f702ff7d4f9b15b53d646f7f0c6"
77}
78extra-source "fix-gcc10.patch" {
79 src:
80 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.07.0"
81 checksum: [
82 "sha256=f0a7ee630046ffb83fb2a78ca5a81e288e817fbda6b12692dadb79ab93a8737d"
83 "md5=b054fa6b6651763edc8e16b6bc4c58f6"
84 ]
85}