this repo has no description
1opam-version: "2.0"
2synopsis: "second beta for 4.04.0, configured with flambda"
3maintainer: "David Allsopp <david@tarides.com>"
4depends: [
5 "ocaml" {= "4.04.0" & 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 "world"]
35 [make "world.opt"]
36]
37install: [make "install"]
38url {
39 src: "https://github.com/ocaml/ocaml/tarball/4.04.0+beta2"
40 checksum: [
41 "sha256=94fcab7a2f87986d10e8b3026f868a13749b9be914818eac9850f40efcfdd483"
42 "md5=532aa308d2030ae62797037548950e71"
43 ]
44}
45patches: ["fix-gcc10.patch"]
46available: !(os = "macos" & arch = "arm64" | os = "win32")
47extra-source "fix-gcc10.patch" {
48 src:
49 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.04.0"
50 checksum: [
51 "sha256=595b914548bec578fc1b6f55abad62d18a9d707dc7dbcf9775b09f0781b1f203"
52 "md5=8b0606a5733be21ee8ae2a19ce67059e"
53 ]
54}
55x-maintained: false