this repo has no description
1opam-version: "2.0"
2synopsis: "First release candidate for 4.07.1, with flambda activated"
3maintainer: "David Allsopp <david@tarides.com>"
4depends: [
5 "ocaml" {= "4.07.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 ["./configure" "-prefix" prefix "-with-debug-runtime" "-flambda"]
22 {os != "openbsd" & os != "freebsd" & os != "macos"}
23 [
24 "./configure"
25 "-prefix"
26 prefix
27 "-with-debug-runtime"
28 "-flambda"
29 "-cc"
30 "cc"
31 "-aspp"
32 "cc -c"
33 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
34 [make "-j%{jobs}%" {os != "cygwin"} "world"]
35 [make "-j%{jobs}%" {os != "cygwin"} "world.opt"]
36]
37install: [make "install"]
38url {
39 src: "https://github.com/ocaml/ocaml/archive/4.07.1+rc1.tar.gz"
40 checksum: [
41 "sha256=ceb0fda60ab095956153c2076b8af76cddd699fccaccb3b202228fe92a829de5"
42 "md5=8ddb6eddeb3dfcaccb50c78aecf2d05d"
43 ]
44}
45post-messages: [
46 "A failure in the middle of the build may be caused by build parallelism
47 (enabled by default).
48 Please file a bug report at https://github.com/ocaml/opam-repository/issues"
49 {failure & jobs > 1 & os != "cygwin"}
50 "You can try installing again including --jobs=1
51 to force a sequential build instead."
52 {failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
53]
54patches: ["fix-gcc10.patch"]
55available: !(os = "macos" & arch = "arm64" | os = "win32")
56extra-source "fix-gcc10.patch" {
57 src:
58 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.07.1"
59 checksum: [
60 "sha256=efe1f8687fb54de7d0a21877615396d91d977686dc93aecf0a8832691b8237a9"
61 "md5=7f467849e5a4714f49a11517b187184f"
62 ]
63}
64x-maintained: false