this repo has no description
1opam-version: "2.0"
2synopsis: "OCaml 4.12.0, with support for multicore domains and effects"
3maintainer: [
4 "David Allsopp <david@tarides.com>"
5 "Florian Angeletti <florian.angeletti@inria.fr>"
6]
7authors: "Xavier Leroy and many contributors"
8homepage: "https://github.com/ocaml-multicore/ocaml-multicore"
9bug-reports: "https://github.com/ocaml-multicore/ocaml-multicore/issues"
10depends: [
11 "ocaml" {= "4.12.0" & post}
12 "base-unix" {post}
13 "base-bigarray" {post}
14 "base-threads" {post}
15 "base-domains" {post}
16 "base-effects" {post}
17 "ocaml-option-nnp"
18]
19conflict-class: "ocaml-core-compiler"
20flags: [compiler avoid-version]
21setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
22build: [
23 [
24 "./configure"
25 "--prefix=%{prefix}%"
26 "--with-afl" {ocaml-option-afl:installed}
27 "--disable-native-compiler" {ocaml-option-bytecode-only:installed}
28 "--disable-force-safe-string" {ocaml-option-default-unsafe-string:installed}
29 "DEFAULT_STRING=unsafe" {ocaml-option-default-unsafe-string:installed}
30 "--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed}
31 "--enable-flambda" {ocaml-option-flambda:installed}
32 "--enable-frame-pointers" {ocaml-option-fp:installed}
33 "CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
34 "CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"}
35 "CFLAGS=-Os" {ocaml-option-musl:installed}
36 #"CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"}
37 #"CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"}
38 "ASPP=cc -c" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
39 "ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"}
40 #"ASPP=gcc -m32 -c" {ocaml-option-32bit:installed & os="linux"}
41 #"ASPP=gcc -arch i386 -m32 -c" {ocaml-option-32bit:installed & os="macos"}
42 #"AS=as --32" {ocaml-option-32bit:installed & os="linux"}
43 #"AS=as -arch i386" {ocaml-option-32bit:installed & os="macos"}
44 #"--host=i386-linux" {ocaml-option-32bit:installed & os="linux"}
45 #"--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"}
46 #"PARTIALLD=ld -r -melf_i386" {ocaml-option-32bit:installed & os="linux"}
47 # 32bit options above commented out just to reduce diff with ocaml-variants.4.12.0+options
48 "LIBS=-static" {ocaml-option-static:installed}
49 "--disable-warn-error"
50 ]
51 [make "-j%{jobs}%"]
52]
53install: [make "install"]
54url {
55 src: "git+https://github.com/ocaml-multicore/ocaml-multicore.git#4.12+domains+effects"
56}
57conflicts: [
58 "ocaml-option-32bit" # Not yet implemented
59 "ocaml-option-nnpchecker" # Fundamentally not possible
60]
61depopts: [
62 "ocaml-option-afl"
63 "ocaml-option-bytecode-only"
64 "ocaml-option-default-unsafe-string"
65 "ocaml-option-no-flat-float-array"
66 "ocaml-option-flambda"
67 "ocaml-option-fp"
68 "ocaml-option-musl"
69 "ocaml-option-static"
70]