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