-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
45 lines (45 loc) · 1.46 KB
/
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
opam-version: "2.0"
maintainer: "abe@sf.ecei.tohoku.ac.jp"
authors: [ "Akinori ABE <abe@sf.ecei.tohoku.ac.jp>" ]
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "https://github.com/akabe/slap"
build: [
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"
]
remove: [
["ocamlfind" "remove" "slap"]
]
depends: [
"ocaml" {<= "4.02.3" & >= "3.12.1"}
"base-bigarray"
"lacaml" {>= "7.0.12" & < "7.2.2"}
"ocamlfind"
"cppo"
"ocamlbuild" {build}
]
depopts: [
"ounit"
]
dev-repo: "git+https://github.com/akabe/slap"
bug-reports: "https://github.com/akabe/slap/issues"
synopsis:
"Linear algebra library with static size checking for matrix operations"
description: """
This OCaml-library is a wrapper of Lacaml, a binding of two widely used
linear algebra libraries BLAS and LAPACK for FORTRAN. Sized Linear Algebra
Library (SLAP) guarantees statically (i.e, at compile time) consistency
(with respect to dimensions) of most high-level matrix (and vector)
operations. For example, addition of two- and three-dimensional vectors causes
type error at compile time, and dynamic errors like exceptions do not happen."""
flags: light-uninstall
url {
src: "https://github.com/akabe/slap/archive/v0.2.1.tar.gz"
checksum: [
"sha256=7f32af54f2025425b77abc7351ce291c15f40ab0e8bb11802e89b089aa99120f"
"md5=0ee7f4937ed8cbdfc7d825341c841cfc"
]
}