this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Official 4.05.0 release compiled with musl-clang -static and with flambda activated"
4description:
5 "Requires musl-clang to be installed (package musl on Arch Linux, musl-tools on Debian, musl-dev on Alpine)"
6maintainer: "David Allsopp <david@tarides.com>"
7depends: [
8 "ocaml" {= "4.05.0" & post}
9 "base-unix" {post}
10 "base-bigarray" {post}
11 "base-threads" {post}
12]
13depexts: [
14 ["musl-tools"] {os-family = "debian"}
15 ["musl"] {os-distribution = "arch"}
16 ["musl-dev"] {os-distribution = "alpine"}
17]
18conflict-class: "ocaml-core-compiler"
19flags: compiler
20setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
21build: [
22 [
23 "sed"
24 "-ib"
25 "-e"
26 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
27 "config/auto-aux/hasgot"
28 ] {os = "macos"}
29 [
30 "./configure"
31 "-prefix"
32 prefix
33 "-with-debug-runtime"
34 "-flambda"
35 "-cc"
36 "musl-clang -Os" {os-distribution != "alpine"}
37 "clang -Os" {os-distribution = "alpine"}
38 "-aspp"
39 "musl-clang -c" {os-distribution != "alpine"}
40 "clang -c" {os-distribution = "alpine"}
41 "-libs"
42 "-static"
43 "-no-curses"
44 "-no-graph"
45 ]
46 [make "world"]
47 [make "world.opt"]
48]
49install: [make "install"]
50url {
51 src: "https://github.com/ocaml/ocaml/archive/4.05.0.tar.gz"
52 checksum: [
53 "sha256=e5d8a6f629020c580473d8afcfcb06c3966d01929f7b734f41dc0c737cd8ea3f"
54 "md5=7e0079162134336a24b9028349c756bb"
55 ]
56}
57patches: ["fix-gcc10.patch" "gpr1330.patch" "alt-signal-stack.patch"]
58available: !(os = "macos" & arch = "arm64")
59license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
60authors: [
61 "Xavier Leroy"
62 "Damien Doligez"
63 "Alain Frisch"
64 "Jacques Garrigue"
65 "Didier Rémy"
66 "Jérôme Vouillon"
67]
68bug-reports: "https://github.com/ocaml/opam-repository/issues"
69homepage: "https://ocaml.org"
70dev-repo: "git+https://github.com/ocaml/ocaml.git#4.05"
71extra-source "alt-signal-stack.patch" {
72 src: "https://github.com/ocaml/ocaml/commit/50c2d1275e537906ea144bd557fde31e0bf16e5f.patch?full_index=1"
73 checksum: "sha256=22f9244e4d91c2a939594b79c41707acd75a4fc7c63feb0cb5528b43949844f8"
74}
75extra-source "gpr1330.patch" {
76 src: "https://github.com/ocaml/ocaml/commit/b00000c6679804731692362b0baac27fa3fddfd5.patch?full_index=1"
77 checksum: "sha256=e319f67b687499b7bdc3511eee0046dff7d81678c4d6fe4c760494d25c66af3e"
78}
79extra-source "fix-gcc10.patch" {
80 src:
81 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.05.0"
82 checksum: [
83 "sha256=7a4645db04d32520f59e2676219d5626d361dbd7d55cf509b7839f3613a51028"
84 "md5=3791e3c17d11ec0f246fc6c5c5e5e2f3"
85 ]
86}