this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Official release 4.08.0, compiled with musl-gcc and with flambda activated"
4description:
5 "Requires musl-gcc to be installed (package musl on Arch Linux or musl-tools on Debian)"
6maintainer: [
7 "David Allsopp <david@tarides.com>"
8 "Florian Angeletti <florian.angeletti@inria.fr>"
9]
10authors: "Xavier Leroy and many contributors"
11homepage: "https://ocaml.org"
12bug-reports: "https://github.com/ocaml/opam-repository/issues"
13dev-repo: "git+https://github.com/ocaml/ocaml"
14depends: [
15 "ocaml" {= "4.08.0" & post}
16 "base-unix" {post}
17 "base-bigarray" {post}
18 "base-threads" {post}
19]
20conflict-class: "ocaml-core-compiler"
21flags: compiler
22setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
23build: [
24 ["./configure" "--prefix=%{prefix}%"]
25 {os != "openbsd" & os != "freebsd" & os != "macos" & os != "linux"}
26 [
27 "./configure"
28 "--prefix=%{prefix}%"
29 "CC=musl-gcc -Os"
30 "ASPP=musl-gcc -c"
31 "--enable-flambda"
32 "--disable-graph-lib"
33 ] {os = "openbsd" | os = "freebsd" | os = "macos" | os = "linux"}
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.08.0.tar.gz"
40 checksum: [
41 "sha256=c8ff78d010cb037ac6d6729e40ebdbee109218899007ef23a20b8f459ac186d6"
42 "md5=42ed24e9a7c0e3998cab7d5e7c9f7618"
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" "alt-signal-stack.patch"]
55available: !(os = "macos" & arch = "arm64")
56license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
57extra-source "alt-signal-stack.patch" {
58 src: "https://github.com/ocaml/ocaml/commit/17df117b4939486d3285031900587afce5262c8c.patch?full_index=1"
59 checksum: "sha256=92d747e6a9edffbe178d7c356a271c34f1c9e7597548ae8d6defc0815c56315a"
60}
61extra-source "fix-gcc10.patch" {
62 src:
63 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.08.0"
64 checksum: [
65 "sha256=f658efe87952165713affe6f1653ab94ca85a8d6bb77ff665b1de43074aa5b00"
66 "md5=f406119ae0091835cdf158d7d0ff53f7"
67 ]
68}