1
1
opam-version: "2.0"
2
- synopsis: "Latest 4.12 development"
2
+ synopsis: "Latest 4.14 development"
3
3
maintainer: "platform@lists.ocaml.org"
4
4
authors: ["Xavier Leroy" "Damien Doligez" "Alain Frisch" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon"]
5
5
homepage: "https://ocaml.org"
6
6
bug-reports: "https://github.com/ocaml/opam-repository/issues"
7
7
dev-repo: "git://github.com/ocaml-flambda/flambda-backend.git"
8
8
depends: [
9
- "ocaml" {= "4.12 .0" & post}
9
+ "ocaml" {= "4.14 .0" & post}
10
10
"base-unix" {post}
11
11
"base-bigarray" {post}
12
12
"base-threads" {post}
@@ -16,7 +16,7 @@ conflict-class: "ocaml-core-compiler"
16
16
flags: [ compiler avoid-version ]
17
17
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
18
18
install: [
19
- ["sh" "-c" "cd \"${TMPDIR:-/tmp}\" && mv \"%{build}%\"/*.tar.gz \"%{build}%\"/alt-signal-stack.patch . && tar xvf special_dune.tar.gz && tar xvf ocaml-4.12 .0.tar.gz && cd ocaml-4.12 .0 && patch -p1 < ../alt-signal-stack.patch && ./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=flambda \"--with-dune=%{build}%/dune.exe\" && PATH=\"${TMPDIR:-/tmp}/ocaml/bin:$PATH\" \"%{make}%\" -j%{jobs}% && PATH=\"${TMPDIR:-/tmp}/ocaml/bin:$PATH\" \"%{make}%\" install"]
19
+ ["sh" "-c" "cd \"${TMPDIR:-/tmp}\" && mv \"%{build}%\"/*.tar.gz \"%{build}%\"/alt-signal-stack.patch . && tar xvf special_dune.tar.gz && tar xvf ocaml-4.14 .0.tar.gz && cd ocaml-4.14 .0 && patch -p1 < ../alt-signal-stack.patch && ./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=flambda \"--with-dune=%{build}%/dune.exe\" && PATH=\"${TMPDIR:-/tmp}/ocaml/bin:$PATH\" \"%{make}%\" -j%{jobs}% && PATH=\"${TMPDIR:-/tmp}/ocaml/bin:$PATH\" \"%{make}%\" install"]
20
20
]
21
21
conflicts: [
22
22
"ocaml-option-32bit"
@@ -35,8 +35,8 @@ conflicts: [
35
35
extra-source "special_dune.tar.gz" {
36
36
src: "https://github.com/ocaml-flambda/dune/archive/special_dune.tar.gz"
37
37
}
38
- extra-source "ocaml-4.12 .0.tar.gz" {
39
- src: "https://github.com/ocaml/ocaml/archive/4.12 .0.tar.gz"
38
+ extra-source "ocaml-4.14 .0.tar.gz" {
39
+ src: "https://github.com/ocaml/ocaml/archive/4.14 .0.tar.gz"
40
40
}
41
41
url {
42
42
src: "git+https://github.com/ocaml-flambda/flambda-backend.git"
0 commit comments