File tree Expand file tree Collapse file tree 20 files changed +32
-29
lines changed
benchmarks/benchmark-fiat-crypto
toplevel/examples/lwt_toplevel Expand file tree Collapse file tree 20 files changed +32
-29
lines changed Original file line number Diff line number Diff line change 97
97
- run : opam install conf-pkg-config conf-mingw-w64-gcc-i686 conf-mingw-w64-g++-x86_64
98
98
if : runner.os == 'Windows'
99
99
100
- - name : Pin dune
101
- if : runner.os == 'Windows'
102
- run : opam pin add -n dune https://github.com/hhugo/dune.git#jsoo-effects
103
-
104
- - name : Install dune
105
- run : opam install dune
106
-
107
100
- name : Pin wasm_of_ocaml
108
101
working-directory : ./wasm_of_ocaml
109
102
run : opam pin . -n --with-version dev
Original file line number Diff line number Diff line change 2
2
3
3
## Features/Changes
4
4
* Misc: drop support for OCaml 4.12 and bellow
5
+ * Misc: switch to dune.3.19
5
6
* Compiler: use a Wasm text files preprocessor (#1822 )
6
7
* Compiler: support for OCaml 4.14.3+trunk (#1844 )
7
8
* Compiler: optimize compilation of switches
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ SHELL=/bin/bash -o pipefail
6
6
7
7
bench :
8
8
@date -u +" %FT%TZ - $( NAME) : starting"
9
- $(MAKE ) perform COMPILER=js_of_ocaml EXTRA_ARGS=" --enable effects" KIND=js
9
+ $(MAKE ) perform COMPILER=js_of_ocaml EXTRA_ARGS=" --effects cps " KIND=js
10
10
$(MAKE ) perform COMPILER=wasm_of_ocaml EXTRA_ARGS=" " KIND=wasm
11
11
@date -u +" %FT%TZ - $( NAME) : done"
12
12
Original file line number Diff line number Diff line change 3
3
let effects_flags l =
4
4
match l, major > = 5 with
5
5
| [ " with-effects-double-translation" ], true -> [ " --effects" ; " double-translation" ]
6
- | [ " with-effects" ], true -> [ " --enable " ; " effects " ]
7
- | _ , true -> [ " --disable " ; " effects " ]
8
- | _ , false -> [ " --disable " ; " effects " ]
6
+ | [ " with-effects" ], true -> [ " --effects " ; " cps " ]
7
+ | _ , true -> []
8
+ | _ , false -> []
9
9
in
10
10
match Sys. argv |> Array. to_list |> List. tl with
11
11
| "txt" :: rest -> List. iter print_endline (effects_flags rest)
Original file line number Diff line number Diff line change 4
4
(_
5
5
(js_of_ocaml
6
6
(flags
7
- (:standard --enable effects)))))
7
+ (:standard --effects cps )))))
8
8
9
9
(library
10
10
(name jsoo_testsuite_effect)
Original file line number Diff line number Diff line change 4
4
(_
5
5
(js_of_ocaml
6
6
(flags
7
- (:standard --enable effects)))))
7
+ (:standard --effects cps )))))
8
8
9
9
(tests
10
10
(names
Original file line number Diff line number Diff line change 4
4
(_
5
5
(js_of_ocaml
6
6
(flags
7
- (:standard --enable effects)))))
7
+ (:standard --effects cps )))))
8
8
9
9
(tests
10
10
(build_if
Original file line number Diff line number Diff line change 9
9
(js_of_ocaml
10
10
(compilation_mode separate)
11
11
(flags
12
- (:standard --enable effects)))
12
+ (:standard --effects cps )))
13
13
(wasm_of_ocaml
14
14
(compilation_mode separate)
15
15
(flags
16
- (:standard --enable effects)))
16
+ (:standard --effects cps )))
17
17
(binaries
18
18
(tools/node_wrapper.exe as node)
19
19
(tools/node_wrapper.exe as node.exe)))
Original file line number Diff line number Diff line change 1
- (lang dune 3 .17 )
1
+ (lang dune 3 .19 )
2
2
(using menhir 3 .0)
3
3
(name js_of_ocaml)
4
4
( generate_opam_files true )
Original file line number Diff line number Diff line change 1
- (lang dune 3.17 )
1
+ (lang dune 3.19 )
2
2
3
3
(env
4
4
(_
Original file line number Diff line number Diff line change 1
- (lang dune 3.17 )
1
+ (lang dune 3.19 )
2
2
3
3
;; Install the following opam switches, copy this file as
4
4
;; dune-workspace and run:
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12
12
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
13
13
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
14
14
depends: [
15
- "dune" {>= "3.17 "}
15
+ "dune" {>= "3.19 "}
16
16
"ocaml" {>= "4.13" & < "5.4"}
17
17
"num" {with-test}
18
18
"ppx_expect" {>= "v0.16.1" & with-test}
@@ -33,6 +33,7 @@ conflicts: [
33
33
"js_of_ocaml" {< "3.0"}
34
34
]
35
35
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
36
+ x-maintenance-intent: ["(latest)"]
36
37
build: [
37
38
[
38
39
"dune"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12
12
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
13
13
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
14
14
depends: [
15
- "dune" {>= "3.17 "}
15
+ "dune" {>= "3.19 "}
16
16
"ocaml" {>= "4.13"}
17
17
"js_of_ocaml" {= version}
18
18
"js_of_ocaml-ppx" {= version}
@@ -25,6 +25,7 @@ depends: [
25
25
]
26
26
depopts: ["graphics" "lwt_log"]
27
27
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
28
+ x-maintenance-intent: ["(latest)"]
28
29
build: [
29
30
[
30
31
"dune"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12
12
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
13
13
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
14
14
depends: [
15
- "dune" {>= "3.17 "}
15
+ "dune" {>= "3.19 "}
16
16
"ocaml" {>= "4.13"}
17
17
"js_of_ocaml" {= version}
18
18
"ppxlib" {>= "0.15"}
@@ -23,6 +23,7 @@ depends: [
23
23
"odoc" {with-doc}
24
24
]
25
25
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
26
+ x-maintenance-intent: ["(latest)"]
26
27
build: [
27
28
[
28
29
"dune"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12
12
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
13
13
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
14
14
depends: [
15
- "dune" {>= "3.17 "}
15
+ "dune" {>= "3.19 "}
16
16
"ocaml" {>= "4.13"}
17
17
"js_of_ocaml" {= version}
18
18
"ppxlib" {>= "0.15"}
@@ -22,6 +22,7 @@ depends: [
22
22
"odoc" {with-doc}
23
23
]
24
24
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
25
+ x-maintenance-intent: ["(latest)"]
25
26
build: [
26
27
[
27
28
"dune"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12
12
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
13
13
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
14
14
depends: [
15
- "dune" {>= "3.17 "}
15
+ "dune" {>= "3.19 "}
16
16
"ocaml" {>= "4.13"}
17
17
"js_of_ocaml-compiler" {= version}
18
18
"ocamlfind" {>= "1.5.1"}
@@ -24,6 +24,7 @@ depends: [
24
24
"odoc" {with-doc}
25
25
]
26
26
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
27
+ x-maintenance-intent: ["(latest)"]
27
28
build: [
28
29
[
29
30
"dune"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12
12
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
13
13
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
14
14
depends: [
15
- "dune" {>= "3.17 "}
15
+ "dune" {>= "3.19 "}
16
16
"ocaml" {>= "4.13"}
17
17
"js_of_ocaml" {= version}
18
18
"js_of_ocaml-ppx" {= version}
@@ -26,6 +26,7 @@ depends: [
26
26
"odoc" {with-doc}
27
27
]
28
28
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
29
+ x-maintenance-intent: ["(latest)"]
29
30
build: [
30
31
[
31
32
"dune"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12
12
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
13
13
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
14
14
depends: [
15
- "dune" {>= "3.17 "}
15
+ "dune" {>= "3.19 "}
16
16
"ocaml" {>= "4.13"}
17
17
"js_of_ocaml-compiler" {= version}
18
18
"ppxlib" {>= "0.15"}
@@ -22,6 +22,7 @@ depends: [
22
22
"odoc" {with-doc}
23
23
]
24
24
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
25
+ x-maintenance-intent: ["(latest)"]
25
26
build: [
26
27
[
27
28
"dune"
Original file line number Diff line number Diff line change 3
3
let effects_flags l =
4
4
match l, major > = 5 with
5
5
| [ " with-effects-double-translation" ], true -> [ " --effects" ; " double-translation" ]
6
- | _ , true -> [ " --enable" ; " effects" ]
7
- | _ , false -> [ " --disable" ; " effects" ]
6
+ | [ " with-effects" ], true -> [ " --effects" ; " cps" ]
7
+ | _ , true -> [ " --effects" ; " cps" ]
8
+ | _ , false -> []
8
9
in
9
10
match Sys. argv |> Array. to_list |> List. tl with
10
11
| "txt" :: rest -> List. iter print_endline (effects_flags rest)
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12
12
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
13
13
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
14
14
depends: [
15
- "dune" {>= "3.17 "}
15
+ "dune" {>= "3.19 "}
16
16
"ocaml" {>= "4.14"}
17
17
"js_of_ocaml" {= version}
18
18
"num" {with-test}
@@ -35,6 +35,7 @@ conflicts: [
35
35
"js_of_ocaml" {< "3.0"}
36
36
]
37
37
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
38
+ x-maintenance-intent: ["(latest)"]
38
39
build: [
39
40
[
40
41
"dune"
You can’t perform that action at this time.
0 commit comments