-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkseum-riscv.opam
45 lines (41 loc) · 1.49 KB
/
checkseum-riscv.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: "0.3.1"
opam-version: "2.0"
maintainer: [ "Romain Calascibetta <[email protected]>" ]
authors: [ "Romain Calascibetta <[email protected]>" ]
homepage: "https://github.com/mirage/checkseum"
bug-reports: "https://github.com/mirage/checkseum/issues"
dev-repo: "git+https://github.com/mirage/checkseum.git"
doc: "https://mirage.github.io/checkseum/"
license: "MIT"
synopsis: "Adler-32, CRC32 and CRC32-C implementation in C and OCaml"
description: """
Checkseum is a library to provide implementation of Adler-32, CRC32 and CRC32-C
in C and OCaml.
This library use the linking trick to choose between the C implementation
(checkseum.c) or the OCaml implementation (checkseum.ocaml). This library is on
top of optint to get the best representation of an int32. """
build: [
[ "dune" "build" "-x" "riscv" "-p" "checkseum" "-j" jobs ]
# [ "./install/install.ml" ]
# [ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
]
# install: [
# [ "dune" "install" "-p" name ] {with-test}
# [ "./test/test_runes.ml" ] {with-test}
# ]
depends: [
"ocaml-riscv" {>= "4.07.0"}
"dune" {>= "2.6.0"}
"conf-pkg-config" {build}
"dune-configurator"
"optint-riscv" {>= "0.0.5"}
# "base-bytes-riscv"
"bigarray-compat-riscv"
"alcotest" {with-test}
"bos" {with-test}
"astring" {with-test}
"fmt" {with-test}
"fpath" {with-test}
"rresult" {with-test}
"ocamlfind" {with-test}
]