-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
52 lines (52 loc) · 1.59 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
46
47
48
49
50
51
52
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: "http://akabe.github.io/slap/"
dev-repo: "git+https://github.com/akabe/slap.git"
bug-reports: "https://github.com/akabe/slap/issues"
build: [
[
"ocaml"
"setup.ml"
"-configure"
"--prefix"
prefix
"--disable-ppx" {ocaml:version < "4.02"}
]
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
remove: [
["ocamlfind" "remove" "slap"]
["rm" "-f" "%{bin}%/ppx_slap"]
]
depends: [
"ocaml" {>= "3.12" & < "4.11"}
"base-bigarray"
"base-bytes"
"ocamlfind" {build & >= "1.5.0"}
"lacaml" {>= "8.0.0" & < "10.0.0"}
"cppo" {build & >= "1.1.0"}
]
depopts: [
"ounit" {with-test}
]
synopsis:
"A linear algebra library with static size checking for matrix operations"
description: """
Sized Linear Algebra Package (SLAP) is a wrapper of Lacaml, a binding of two
widely used linear algebra libraries BLAS and LAPACK for FORTRAN. This
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/v3.0.1.tar.gz"
checksum: [
"sha256=e3bdbaad3574e8d7c4521821bf9f0a8f09284af31f16f69184dac65b6657d182"
"md5=6f237f6812b3f732b311d482528a39a7"
]
}