Skip to content

Commit 5730fa8

Browse files
committed
1 parent 67110a4 commit 5730fa8

File tree

1 file changed

+44
-0
lines changed
  • packages/ocaml-variants/ocaml-variants.4.14.0+pr968+flambda2

1 file changed

+44
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
opam-version: "2.0"
2+
synopsis: "Latest 4.14 development (https://github.com/ocaml-flambda/flambda-backend/pull/968)"
3+
maintainer: "platform@lists.ocaml.org"
4+
authors: ["Xavier Leroy" "Damien Doligez" "Alain Frisch" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon"]
5+
homepage: "https://ocaml.org"
6+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
7+
dev-repo: "git://github.com/ocaml-flambda/flambda-backend.git"
8+
depends: [
9+
"ocaml" {= "4.14.0" & post}
10+
"base-unix" {post}
11+
"base-bigarray" {post}
12+
"base-threads" {post}
13+
"base-flambda2" {post}
14+
"conf-autoconf" {build}
15+
]
16+
conflict-class: "ocaml-core-compiler"
17+
flags: [ compiler avoid-version ]
18+
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
19+
install: [
20+
["sh" "-c" "cd \"${TMPDIR:-/tmp}\" && mv \"%{build}%\"/*.tar.gz . && tar xvf special_dune.tar.gz && tar xvf ocaml-4.14.0.tar.gz && cd ocaml-4.14.0 && ./configure \"--prefix=${TMPDIR:-/tmp}/ocaml\" && make -j%{jobs}% && make install && PATH=\"${TMPDIR:-/tmp}/ocaml/bin:$PATH\" %{make}% -C \"${TMPDIR:-/tmp}/dune-special_dune\" release && cp \"${TMPDIR:-/tmp}/dune-special_dune/dune.exe\" \"%{build}%/\" && cd \"%{build}%\" && autoconf && PATH=\"${TMPDIR:-/tmp}/ocaml/bin:$PATH\" ./configure \"--prefix=%{prefix}%\" --enable-middle-end=flambda2 \"--with-dune=%{build}%/dune.exe\" && PATH=\"${TMPDIR:-/tmp}/ocaml/bin:$PATH\" \"%{make}%\" -j%{jobs}% && PATH=\"${TMPDIR:-/tmp}/ocaml/bin:$PATH\" \"%{make}%\" install"]
21+
]
22+
conflicts: [
23+
"ocaml-option-32bit"
24+
"ocaml-option-afl"
25+
"ocaml-option-bytecode-only"
26+
"ocaml-option-default-unsafe-string"
27+
"ocaml-option-no-flat-float-array"
28+
"ocaml-option-flambda"
29+
"ocaml-option-fp"
30+
"ocaml-option-musl"
31+
"ocaml-option-static"
32+
"ocaml-option-spacetime"
33+
"ocaml-option-nnp"
34+
"ocaml-option-nnpchecker"
35+
]
36+
extra-source "special_dune.tar.gz" {
37+
src: "https://github.com/ocaml-flambda/dune/archive/special_dune.tar.gz"
38+
}
39+
extra-source "ocaml-4.14.0.tar.gz" {
40+
src: "https://github.com/ocaml/ocaml/archive/4.14.0.tar.gz"
41+
}
42+
url {
43+
src: "git+https://github.com/Ekdohibs/flambda-backend.git#refactor-simplify-let-cont"
44+
}

0 commit comments

Comments
 (0)