this repo has no description
1opam-version: "2.0"
2synopsis:
3 "First release candidate for 4.07.1, without safe strings by default"
4maintainer: "David Allsopp <david@tarides.com>"
5depends: [
6 "ocaml" {= "4.07.1" & 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 "-default-unsafe-string"
28 ] {os != "openbsd" & os != "freebsd" & os != "macos"}
29 [
30 "./configure"
31 "-prefix"
32 prefix
33 "-with-debug-runtime"
34 "-default-unsafe-string"
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.1+rc1.tar.gz"
46 checksum: [
47 "sha256=ceb0fda60ab095956153c2076b8af76cddd699fccaccb3b202228fe92a829de5"
48 "md5=8ddb6eddeb3dfcaccb50c78aecf2d05d"
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"]
61available: !(os = "macos" & arch = "arm64" | os = "win32")
62extra-source "fix-gcc10.patch" {
63 src:
64 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.07.1"
65 checksum: [
66 "sha256=efe1f8687fb54de7d0a21877615396d91d977686dc93aecf0a8832691b8237a9"
67 "md5=7f467849e5a4714f49a11517b187184f"
68 ]
69}
70x-maintained: false