this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Official 4.07.0 release with flambda activated and -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 "-flambda"
28 "-no-flat-float-array"
29 ] {os != "openbsd" & os != "freebsd" & os != "macos"}
30 [
31 "./configure"
32 "-prefix"
33 prefix
34 "-with-debug-runtime"
35 "-flambda"
36 "-no-flat-float-array"
37 "-cc"
38 "cc"
39 "-aspp"
40 "cc -c"
41 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
42 [make "-j%{jobs}%" {os != "cygwin"} "world"]
43 [make "-j%{jobs}%" {os != "cygwin"} "world.opt"]
44]
45install: [make "install"]
46url {
47 src: "https://github.com/ocaml/ocaml/archive/4.07.0.tar.gz"
48 checksum: [
49 "sha256=8dd39da81beaad53a158e71c428f902b609d8f7f33fedf37f15c56be6c4cf840"
50 "md5=1f78bb35a2f15d5ec737ee6a8dc6890d"
51 ]
52}
53post-messages: [
54 "A failure in the middle of the build may be caused by build parallelism
55 (enabled by default).
56 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
57 {failure & jobs > 1 & os != "cygwin"}
58 "You can try installing again including --jobs=1
59 to force a sequential build instead."
60 {failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
61]
62patches: ["fix-gcc10.patch" "alt-signal-stack.patch"]
63available: !(os = "macos" & arch = "arm64")
64license: "QPL-1.0 AND 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.07"
76extra-source "alt-signal-stack.patch" {
77 src: "https://github.com/ocaml/ocaml/commit/00b8c4d503732343d5d01761ad09650fe50ff3a0.patch?full_index=1"
78 checksum: "sha256=80e7d6be30d75f69199908101b513ed0ee525f702ff7d4f9b15b53d646f7f0c6"
79}
80extra-source "fix-gcc10.patch" {
81 src:
82 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.07.0"
83 checksum: [
84 "sha256=f0a7ee630046ffb83fb2a78ca5a81e288e817fbda6b12692dadb79ab93a8737d"
85 "md5=b054fa6b6651763edc8e16b6bc4c58f6"
86 ]
87}