@grain/binaryen.ml 0.24.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- binaryen-archive/CHANGELOG.md +30 -0
- binaryen-archive/README.md +1 -1
- binaryen-archive/binaryen.opam +3 -3
- binaryen-archive/esy.lock/index.json +637 -586
- binaryen-archive/esy.lock/opam/astring.0.8.5/opam +7 -2
- binaryen-archive/esy.lock/opam/base-bytes.base/opam +1 -0
- binaryen-archive/esy.lock/opam/{base.v0.16.3 → base.v0.16.4}/opam +3 -3
- binaryen-archive/esy.lock/opam/camlp-streams.5.0.1/opam +1 -0
- binaryen-archive/esy.lock/opam/{chrome-trace.3.11.1 → chrome-trace.3.18.2}/opam +6 -5
- binaryen-archive/esy.lock/opam/{cmdliner.1.2.0 → cmdliner.1.3.0}/opam +4 -3
- binaryen-archive/esy.lock/opam/{dune-build-info.3.11.1 → dune-build-info.3.18.2}/opam +6 -5
- binaryen-archive/esy.lock/opam/{dune-configurator.3.11.1 → dune-configurator.3.18.2}/opam +7 -6
- binaryen-archive/esy.lock/opam/{dune-rpc.3.11.1 → dune-rpc.3.18.2}/opam +6 -5
- binaryen-archive/esy.lock/opam/dune.3.18.2/opam +73 -0
- binaryen-archive/esy.lock/opam/{dyn.3.11.1 → dyn.3.18.2}/opam +6 -5
- binaryen-archive/esy.lock/opam/either.1.0.0/opam +1 -0
- binaryen-archive/esy.lock/opam/fiber.3.7.0/opam +1 -1
- binaryen-archive/esy.lock/opam/{fix.20230505 → fix.20250428}/opam +3 -3
- binaryen-archive/esy.lock/opam/fpath.0.7.3/opam +7 -2
- binaryen-archive/esy.lock/opam/gen.1.1/opam +1 -1
- binaryen-archive/esy.lock/opam/{js_of_ocaml-compiler.5.4.0 → js_of_ocaml-compiler.5.9.1}/opam +10 -9
- binaryen-archive/esy.lock/opam/{menhir.20230608 → menhir.20240715}/opam +4 -3
- binaryen-archive/esy.lock/opam/menhirCST.20240715/opam +29 -0
- binaryen-archive/esy.lock/opam/{menhirLib.20230608 → menhirLib.20240715}/opam +4 -4
- binaryen-archive/esy.lock/opam/{menhirSdk.20230608 → menhirSdk.20240715}/opam +4 -4
- binaryen-archive/esy.lock/opam/ocaml-compiler-libs.v0.12.4/opam +1 -1
- binaryen-archive/esy.lock/opam/ocamlbuild.0.16.1/opam +44 -0
- binaryen-archive/esy.lock/opam/{ocamlfind.1.9.6 → ocamlfind.1.9.8}/opam +16 -16
- binaryen-archive/esy.lock/opam/{ocamlformat-rpc-lib.0.26.1 → ocamlformat-rpc-lib.0.27.0}/opam +4 -4
- binaryen-archive/esy.lock/opam/ocamlformat.0.24.1/opam +2 -2
- binaryen-archive/esy.lock/opam/ocp-indent.1.7.0/opam +1 -1
- binaryen-archive/esy.lock/opam/octavius.1.2.2/opam +4 -1
- binaryen-archive/esy.lock/opam/omd.1.3.2/opam +1 -1
- binaryen-archive/esy.lock/opam/{ordering.3.11.1 → ordering.3.18.2}/opam +6 -5
- binaryen-archive/esy.lock/opam/{pp.1.2.0 → pp.2.0.0}/opam +6 -5
- binaryen-archive/esy.lock/opam/ppx_derivers.1.2.1/opam +4 -1
- binaryen-archive/esy.lock/opam/{ppxlib.0.29.1 → ppxlib.0.35.0}/opam +14 -13
- binaryen-archive/esy.lock/opam/{re.1.11.0 → re.1.12.0}/opam +6 -6
- binaryen-archive/esy.lock/opam/result.1.5/opam +4 -1
- binaryen-archive/esy.lock/opam/{sedlex.3.2 → sedlex.3.4}/opam +3 -3
- binaryen-archive/esy.lock/opam/seq.base/opam +16 -4
- binaryen-archive/esy.lock/opam/{spawn.v0.15.1 → spawn.v0.17.0}/opam +7 -6
- binaryen-archive/esy.lock/opam/{stdune.3.11.1 → stdune.3.18.2}/opam +7 -6
- binaryen-archive/esy.lock/opam/{topkg.1.0.7 → topkg.1.0.8}/opam +8 -5
- binaryen-archive/esy.lock/opam/{uucp.15.1.0 → uucp.16.0.0}/opam +6 -5
- binaryen-archive/esy.lock/opam/{uuseg.15.1.0 → uuseg.16.0.0}/opam +5 -4
- binaryen-archive/esy.lock/opam/uutf.1.0.4/opam +42 -0
- binaryen-archive/esy.lock/opam/{xdg.3.11.1 → xdg.3.18.2}/opam +5 -5
- binaryen-archive/esy.lock/opam/{yojson.2.1.1 → yojson.2.2.2}/opam +5 -6
- binaryen-archive/esy.lock/overrides/{opam__s__ocamlfind_opam__c__1.9.6_opam_override → opam__s__ocamlfind_opam__c__1.9.8_opam_override}/files/findlib.patch +2 -2
- binaryen-archive/package.json +3 -6
- binaryen-archive/src/expression.c +4 -4
- binaryen-archive/src/expression.js +6 -6
- binaryen-archive/src/expression.ml +4 -4
- binaryen-archive/src/module.js +2 -2
- binaryen-archive/src/module.ml +2 -2
- binaryen-archive/src/module.mli +1 -1
- binaryen-archive/src/module_feature.c +2 -2
- binaryen-archive/src/module_feature.js +3 -3
- binaryen-archive/test/dune +1 -2
- binaryen-archive/test/test.expected +19 -19
- binaryen-archive/test/test.ml +1 -1
- binaryen-archive/esy.lock/opam/cppo.1.6.9/opam +0 -39
- binaryen-archive/esy.lock/opam/dune.3.11.1/opam +0 -57
- binaryen-archive/esy.lock/opam/ocamlbuild.0.14.2+win/opam +0 -38
- binaryen-archive/esy.lock/opam/ocamlfind.1.9.6/files/0001-Harden-test-for-OCaml-5.patch +0 -12
- binaryen-archive/esy.lock/opam/seq.base/files/META.seq +0 -4
- binaryen-archive/esy.lock/opam/seq.base/files/seq.install +0 -3
- binaryen-archive/esy.lock/opam/uutf.1.0.3/opam +0 -36
- binaryen-archive/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.2+win_opam_override/files/ocamlbuild-0.14.2.patch +0 -0
- binaryen-archive/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.2+win_opam_override/files/winpatch.patch +0 -11
- binaryen-archive/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.2+win_opam_override/package.json +0 -29
- /binaryen-archive/esy.lock/overrides/{opam__s__ocamlfind_opam__c__1.9.6_opam_override → opam__s__ocamlfind_opam__c__1.9.8_opam_override}/package.json +0 -0
|
@@ -120,9 +120,9 @@ caml_binaryen_feature_strings(value unit) {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
CAMLprim value
|
|
123
|
-
|
|
123
|
+
caml_binaryen_feature_multi_memory(value unit) {
|
|
124
124
|
CAMLparam1(unit);
|
|
125
|
-
CAMLreturn(Val_int(
|
|
125
|
+
CAMLreturn(Val_int(BinaryenFeatureMultiMemory()));
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
CAMLprim value
|
|
@@ -104,10 +104,10 @@ function caml_binaryen_feature_strings() {
|
|
|
104
104
|
return Binaryen.Features.Strings;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
//Provides:
|
|
107
|
+
//Provides: caml_binaryen_feature_multi_memory
|
|
108
108
|
//Requires: Binaryen
|
|
109
|
-
function
|
|
110
|
-
return Binaryen.Features.
|
|
109
|
+
function caml_binaryen_feature_multi_memory() {
|
|
110
|
+
return Binaryen.Features.MultiMemory;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
//Provides: caml_binaryen_feature_all
|
binaryen-archive/test/dune
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
(i32.const 0)
|
|
8
8
|
)
|
|
9
9
|
(module
|
|
10
|
-
(type $
|
|
11
|
-
(type $
|
|
12
|
-
(type $
|
|
13
|
-
(type $
|
|
14
|
-
(import "future-wasi" "write" (func $write (type $
|
|
10
|
+
(type $0 (func (param i32 i32) (result i32)))
|
|
11
|
+
(type $1 (func))
|
|
12
|
+
(type $2 (func (param anyref i32 i32) (result i32)))
|
|
13
|
+
(type $3 (func (param anyref) (result i32)))
|
|
14
|
+
(import "future-wasi" "write" (func $write (type $2) (param anyref i32 i32) (result i32)))
|
|
15
15
|
(global $max_int64 i64 (i64.const 9223372036854775807))
|
|
16
16
|
(global $max_int64_mut (mut i64) (i64.const 9223372036854775807))
|
|
17
17
|
(global $test_float64_bits f64 (f64.const 1.23))
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
(export "memory" (memory $0))
|
|
25
25
|
(export "hello" (func $hello))
|
|
26
26
|
(start $start)
|
|
27
|
-
(func $adder (type $
|
|
27
|
+
(func $adder (type $0) (param $0 i32) (param $1 i32) (result i32)
|
|
28
28
|
(block $add (result i32)
|
|
29
29
|
(if
|
|
30
30
|
(i32.const 0)
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
)
|
|
43
43
|
)
|
|
44
44
|
)
|
|
45
|
-
(func $start (type $
|
|
45
|
+
(func $start (type $1)
|
|
46
46
|
(block $start
|
|
47
47
|
(memory.init $1
|
|
48
48
|
(i32.const 2048)
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
(i32.const 5)
|
|
51
51
|
)
|
|
52
52
|
(drop
|
|
53
|
-
(call_indirect $table (type $
|
|
53
|
+
(call_indirect $table (type $0)
|
|
54
54
|
(i32.const 3)
|
|
55
55
|
(i32.const 5)
|
|
56
56
|
(i32.const 0)
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
)
|
|
59
59
|
)
|
|
60
60
|
)
|
|
61
|
-
(func $hello (type $
|
|
61
|
+
(func $hello (type $3) (param $0 anyref) (result i32)
|
|
62
62
|
(call $write
|
|
63
63
|
(local.get $0)
|
|
64
64
|
(i32.const 0)
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
)
|
|
68
68
|
)
|
|
69
69
|
(module
|
|
70
|
-
(type $
|
|
71
|
-
(type $
|
|
72
|
-
(type $
|
|
73
|
-
(type $
|
|
74
|
-
(import "future-wasi" "write" (func $write (type $
|
|
70
|
+
(type $0 (func (param i32 i32) (result i32)))
|
|
71
|
+
(type $1 (func))
|
|
72
|
+
(type $2 (func (param anyref i32 i32) (result i32)))
|
|
73
|
+
(type $3 (func (param anyref) (result i32)))
|
|
74
|
+
(import "future-wasi" "write" (func $write (type $2) (param anyref i32 i32) (result i32)))
|
|
75
75
|
(memory $0 1)
|
|
76
76
|
(data $0 (i32.const 0) "hello")
|
|
77
77
|
(data $1 "world")
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
(export "memory" (memory $0))
|
|
82
82
|
(export "hello" (func $hello))
|
|
83
83
|
(start $start)
|
|
84
|
-
(func $adder (type $
|
|
84
|
+
(func $adder (type $0) (; has Stack IR ;) (param $0 i32) (param $1 i32) (result i32)
|
|
85
85
|
(i32.add
|
|
86
86
|
(select
|
|
87
87
|
(local.get $0)
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
(local.get $1)
|
|
94
94
|
)
|
|
95
95
|
)
|
|
96
|
-
(func $start (type $
|
|
96
|
+
(func $start (type $1) (; has Stack IR ;)
|
|
97
97
|
(memory.init $1
|
|
98
98
|
(i32.const 2048)
|
|
99
99
|
(i32.const 0)
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
)
|
|
107
107
|
)
|
|
108
108
|
)
|
|
109
|
-
(func $hello (type $
|
|
109
|
+
(func $hello (type $3) (; has Stack IR ;) (param $0 anyref) (result i32)
|
|
110
110
|
(call $write
|
|
111
111
|
(local.get $0)
|
|
112
112
|
(i32.const 0)
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
(func $0 (type $type$1) (param $0 i32) (param $1 i32) (result i32)
|
|
181
181
|
local.get $0
|
|
182
182
|
local.get $1
|
|
183
|
-
i32.load
|
|
183
|
+
i32.load
|
|
184
184
|
i32.const 1
|
|
185
185
|
select
|
|
186
186
|
local.get $1
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
i32.const 2048
|
|
191
191
|
i32.const 0
|
|
192
192
|
i32.const 5
|
|
193
|
-
memory.init $
|
|
193
|
+
memory.init $1
|
|
194
194
|
i32.const 3
|
|
195
195
|
i32.const 5
|
|
196
196
|
call $0
|
binaryen-archive/test/test.ml
CHANGED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis: "Code preprocessor like cpp for OCaml"
|
|
3
|
-
description: """\
|
|
4
|
-
Cppo is an equivalent of the C preprocessor for OCaml programs.
|
|
5
|
-
It allows the definition of simple macros and file inclusion.
|
|
6
|
-
|
|
7
|
-
Cppo is:
|
|
8
|
-
|
|
9
|
-
* more OCaml-friendly than cpp
|
|
10
|
-
* easy to learn without consulting a manual
|
|
11
|
-
* reasonably fast
|
|
12
|
-
* simple to install and to maintain"""
|
|
13
|
-
maintainer: [
|
|
14
|
-
"Martin Jambon <martin@mjambon.com>" "Yishuai Li <yishuai@upenn.edu>"
|
|
15
|
-
]
|
|
16
|
-
authors: "Martin Jambon"
|
|
17
|
-
license: "BSD-3-Clause"
|
|
18
|
-
homepage: "https://github.com/ocaml-community/cppo"
|
|
19
|
-
doc: "https://ocaml-community.github.io/cppo"
|
|
20
|
-
bug-reports: "https://github.com/ocaml-community/cppo/issues"
|
|
21
|
-
depends: [
|
|
22
|
-
"ocaml" {>= "4.02.3"}
|
|
23
|
-
"dune" {>= "1.10"}
|
|
24
|
-
"base-unix"
|
|
25
|
-
]
|
|
26
|
-
build: [
|
|
27
|
-
["dune" "subst"] {dev}
|
|
28
|
-
["dune" "build" "-p" name "-j" jobs]
|
|
29
|
-
["dune" "runtest" "-p" name "-j" jobs] {with-test}
|
|
30
|
-
["dune" "build" "-p" name "@doc"] {with-doc}
|
|
31
|
-
]
|
|
32
|
-
dev-repo: "git+https://github.com/ocaml-community/cppo.git"
|
|
33
|
-
url {
|
|
34
|
-
src: "https://github.com/ocaml-community/cppo/archive/v1.6.9.tar.gz"
|
|
35
|
-
checksum: [
|
|
36
|
-
"md5=d23ffe85ac7dc8f0afd1ddf622770d09"
|
|
37
|
-
"sha512=26ff5a7b7f38c460661974b23ca190f0feae3a99f1974e0fd12ccf08745bd7d91b7bc168c70a5385b837bfff9530e0e4e41cf269f23dd8cf16ca658008244b44"
|
|
38
|
-
]
|
|
39
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis: "Fast, portable, and opinionated build system"
|
|
3
|
-
description: """
|
|
4
|
-
|
|
5
|
-
dune is a build system that was designed to simplify the release of
|
|
6
|
-
Jane Street packages. It reads metadata from "dune" files following a
|
|
7
|
-
very simple s-expression syntax.
|
|
8
|
-
|
|
9
|
-
dune is fast, has very low-overhead, and supports parallel builds on
|
|
10
|
-
all platforms. It has no system dependencies; all you need to build
|
|
11
|
-
dune or packages using dune is OCaml. You don't need make or bash
|
|
12
|
-
as long as the packages themselves don't use bash explicitly.
|
|
13
|
-
|
|
14
|
-
dune supports multi-package development by simply dropping multiple
|
|
15
|
-
repositories into the same directory.
|
|
16
|
-
|
|
17
|
-
It also supports multi-context builds, such as building against
|
|
18
|
-
several opam roots/switches simultaneously. This helps maintaining
|
|
19
|
-
packages across several versions of OCaml and gives cross-compilation
|
|
20
|
-
for free.
|
|
21
|
-
"""
|
|
22
|
-
maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
|
|
23
|
-
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
|
|
24
|
-
license: "MIT"
|
|
25
|
-
homepage: "https://github.com/ocaml/dune"
|
|
26
|
-
doc: "https://dune.readthedocs.io/"
|
|
27
|
-
bug-reports: "https://github.com/ocaml/dune/issues"
|
|
28
|
-
conflicts: [
|
|
29
|
-
"merlin" {< "3.4.0"}
|
|
30
|
-
"ocaml-lsp-server" {< "1.3.0"}
|
|
31
|
-
"dune-configurator" {< "2.3.0"}
|
|
32
|
-
"odoc" {< "2.0.1"}
|
|
33
|
-
"dune-release" {< "1.3.0"}
|
|
34
|
-
"js_of_ocaml-compiler" {< "3.6.0"}
|
|
35
|
-
"jbuilder" {= "transition"}
|
|
36
|
-
]
|
|
37
|
-
dev-repo: "git+https://github.com/ocaml/dune.git"
|
|
38
|
-
build: [
|
|
39
|
-
["ocaml" "boot/bootstrap.ml" "-j" jobs]
|
|
40
|
-
["./_boot/dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" jobs]
|
|
41
|
-
]
|
|
42
|
-
depends: [
|
|
43
|
-
# Please keep the lower bound in sync with .github/workflows/workflow.yml,
|
|
44
|
-
# dune-project and min_ocaml_version in bootstrap.ml
|
|
45
|
-
("ocaml" {>= "4.08"} | ("ocaml" {>= "4.02" & < "4.08~~"} & "ocamlfind-secondary"))
|
|
46
|
-
"base-unix"
|
|
47
|
-
"base-threads"
|
|
48
|
-
]
|
|
49
|
-
url {
|
|
50
|
-
src:
|
|
51
|
-
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
52
|
-
checksum: [
|
|
53
|
-
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
54
|
-
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
55
|
-
]
|
|
56
|
-
}
|
|
57
|
-
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis:
|
|
3
|
-
"OCamlbuild is a build system with builtin rules to easily build most OCaml projects"
|
|
4
|
-
maintainer: "Gabriel Scherer <gabriel.scherer@gmail.com>"
|
|
5
|
-
authors: ["Nicolas Pouillard" "Berke Durak"]
|
|
6
|
-
license: "LGPL-2.0-or-later WITH OCaml-LGPL-linking-exception"
|
|
7
|
-
homepage: "https://github.com/ocaml/ocamlbuild/"
|
|
8
|
-
doc: "https://github.com/ocaml/ocamlbuild/blob/master/manual/manual.adoc"
|
|
9
|
-
bug-reports: "https://github.com/ocaml/ocamlbuild/issues"
|
|
10
|
-
depends: [
|
|
11
|
-
"ocaml" {>= "4.03"}
|
|
12
|
-
]
|
|
13
|
-
conflicts: [
|
|
14
|
-
"base-ocamlbuild"
|
|
15
|
-
"ocamlfind" {< "1.6.2"}
|
|
16
|
-
]
|
|
17
|
-
build: [
|
|
18
|
-
[make "all"]
|
|
19
|
-
]
|
|
20
|
-
install: [
|
|
21
|
-
[make "install"]
|
|
22
|
-
["mkdir" "-p" "%{lib}%/ocamlbuild"]
|
|
23
|
-
["install" "-m" "0644" "META" "%{lib}%/ocamlbuild"]
|
|
24
|
-
]
|
|
25
|
-
dev-repo: "git+https://github.com/ocaml/ocamlbuild.git"
|
|
26
|
-
url {
|
|
27
|
-
src: "https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.14.2.tar.gz"
|
|
28
|
-
checksum: [
|
|
29
|
-
"md5=2f407fadd57b073155a6aead887d9676"
|
|
30
|
-
"sha512=f568bf10431a1f701e8bd7554dc662400a0d978411038bbad93d44dceab02874490a8a5886a9b44e017347e7949997f13f5c3752f74e1eb5e273d2beb19a75fd"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
extra-source "ocamlbuild-0.14.2.patch" {
|
|
34
|
-
src: "https://raw.githubusercontent.com/ocaml-opam/opam-repository-mingw/354a87b397856f2a70024c5c83fc5001074935b6/packages/ocamlbuild/ocamlbuild.0.14.2/files/ocamlbuild-0.14.2.patch"
|
|
35
|
-
checksum: "sha256=a9b7e1829a3304e5a073d8ddea29d3d8272698e93b7e1ee659ae5e31e5cfb6b9"
|
|
36
|
-
}
|
|
37
|
-
patches: "ocamlbuild-0.14.2.patch"
|
|
38
|
-
available: os = "win32"
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
diff a/configure b/configure
|
|
2
|
-
--- a/configure
|
|
3
|
-
+++ b/configure
|
|
4
|
-
@@ -294,7 +294,7 @@
|
|
5
|
-
# If findlib has been configured -sitelib $(ocamlc -where) then there's
|
|
6
|
-
# nothing to do, but otherwise we need to put OCaml's Standard Library
|
|
7
|
-
# into the path setting.
|
|
8
|
-
- if [ ! -e "${ocaml_sitelib}/stdlib/META" ]; then
|
|
9
|
-
+ if [ ! -e "${ocaml_sitelib}/stdlib.cmi" ]; then
|
|
10
|
-
ocamlpath="${ocaml_core_stdlib}${path_sep}${ocamlpath}"
|
|
11
|
-
fi
|
|
12
|
-
fi
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis: """Non-blocking streaming Unicode codec for OCaml"""
|
|
3
|
-
maintainer: ["Daniel Bünzli <daniel.buenzl i@erratique.ch>"]
|
|
4
|
-
authors: ["The uutf programmers"]
|
|
5
|
-
homepage: "https://erratique.ch/software/uutf"
|
|
6
|
-
doc: "https://erratique.ch/software/uutf/doc/"
|
|
7
|
-
dev-repo: "git+https://erratique.ch/repos/uutf.git"
|
|
8
|
-
bug-reports: "https://github.com/dbuenzli/uutf/issues"
|
|
9
|
-
license: ["ISC"]
|
|
10
|
-
tags: ["unicode" "text" "utf-8" "utf-16" "codec" "org:erratique"]
|
|
11
|
-
depends: ["ocaml" {>= "4.03.0"}
|
|
12
|
-
"ocamlfind" {build}
|
|
13
|
-
"ocamlbuild" {build}
|
|
14
|
-
"topkg" {build & >= "1.0.3"}]
|
|
15
|
-
depopts: ["cmdliner"]
|
|
16
|
-
conflicts: ["cmdliner" {< "0.9.8"}]
|
|
17
|
-
build: [["ocaml" "pkg/pkg.ml" "build" "--dev-pkg" "%{dev}%"
|
|
18
|
-
"--with-cmdliner" "%{cmdliner:installed}%"]]
|
|
19
|
-
url {
|
|
20
|
-
src: "https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz"
|
|
21
|
-
checksum: "sha512=50cc4486021da46fb08156e9daec0d57b4ca469b07309c508d5a9a41e9dbcf1f32dec2ed7be027326544453dcaf9c2534919395fd826dc7768efc6cc4bfcc9f8"}
|
|
22
|
-
description: """
|
|
23
|
-
Uutf is a non-blocking streaming codec to decode and encode the UTF-8,
|
|
24
|
-
UTF-16, UTF-16LE and UTF-16BE encoding schemes. It can efficiently
|
|
25
|
-
work character by character without blocking on IO. Decoders perform
|
|
26
|
-
character position tracking and support newline normalization.
|
|
27
|
-
|
|
28
|
-
Functions are also provided to fold over the characters of UTF encoded
|
|
29
|
-
OCaml string values and to directly encode characters in OCaml
|
|
30
|
-
Buffer.t values. **Note** that since OCaml 4.14, that functionality
|
|
31
|
-
can be found in the Stdlib and you are encouraged to migrate to it.
|
|
32
|
-
|
|
33
|
-
Uutf has no dependency and is distributed under the ISC license.
|
|
34
|
-
|
|
35
|
-
Home page: http://erratique.ch/software/uutf
|
|
36
|
-
Contact: Daniel Bünzli `<daniel.buenzl i@erratique.ch>`"""
|
|
File without changes
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
--- ./Makefile
|
|
2
|
-
+++ ./Makefile
|
|
3
|
-
@@ -271,7 +271,7 @@
|
|
4
|
-
echo ' "ocamlbuild.byte" {"ocamlbuild.byte"}' >> ocamlbuild.install
|
|
5
|
-
ifeq ($(OCAML_NATIVE), true)
|
|
6
|
-
echo ' "ocamlbuild.native" {"ocamlbuild.native"}' >> ocamlbuild.install
|
|
7
|
-
- echo ' "ocamlbuild.native" {"ocamlbuild"}' >> ocamlbuild.install
|
|
8
|
-
+ echo " \"ocamlbuild.native\" {\"ocamlbuild${EXE}\"}" >> ocamlbuild.install
|
|
9
|
-
else
|
|
10
|
-
echo ' "ocamlbuild.byte" {"ocamlbuild"}' >> ocamlbuild.install
|
|
11
|
-
endif
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"build": [
|
|
3
|
-
[
|
|
4
|
-
"bash",
|
|
5
|
-
"-c",
|
|
6
|
-
"#{os == 'windows' ? 'patch -p1 < winpatch.patch' : 'true'}"
|
|
7
|
-
],
|
|
8
|
-
[
|
|
9
|
-
"make",
|
|
10
|
-
"-f",
|
|
11
|
-
"configure.make",
|
|
12
|
-
"all",
|
|
13
|
-
"OCAMLBUILD_PREFIX=#{self.install}",
|
|
14
|
-
"OCAMLBUILD_BINDIR=#{self.bin}",
|
|
15
|
-
"OCAMLBUILD_LIBDIR=#{self.lib}",
|
|
16
|
-
"OCAMLBUILD_MANDIR=#{self.man}",
|
|
17
|
-
"OCAMLBUILD_NATIVE=true",
|
|
18
|
-
"OCAMLBUILD_NATIVE_TOOLS=true",
|
|
19
|
-
"EXE=#{os == 'windows' ? '.exe': ''}"
|
|
20
|
-
],
|
|
21
|
-
[
|
|
22
|
-
"make",
|
|
23
|
-
"check-if-preinstalled",
|
|
24
|
-
"all",
|
|
25
|
-
"EXE=#{os == 'windows' ? '.exe': ''}",
|
|
26
|
-
"opam-install"
|
|
27
|
-
]
|
|
28
|
-
]
|
|
29
|
-
}
|