-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
47 lines (47 loc) · 1.68 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
opam-version: "2.0"
maintainer: "Liang Wang (ryanrhymes@gmail.com)"
authors: [ "Liang Wang (ryanrhymes@gmail.com)" ]
license: "MIT"
homepage: "https://github.com/ryanrhymes/eigen"
dev-repo: "git+https://github.com/ryanrhymes/eigen.git"
bug-reports: "https://github.com/ryanrhymes/eigen/issues"
build: [
["oasis" "setup"]
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
["oasis" "setup"] {with-test}
["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test}
["ocaml" "setup.ml" "-build"] {with-test}
["ocaml" "setup.ml" "-test"] {with-test}
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
remove: [
["ocaml" "%{etc}%/eigen/_oasis_remove_.ml" "%{etc}%/eigen"]
]
depends: [
"ocaml" {>= "4.02"}
"ctypes" {>= "0.6.0" & < "0.17.0"}
"oasis" {build & >= "0.4"}
"ocamlbuild" {build}
"ocamlfind" {build}
]
available: false # writes outside the sandbox https://github.com/owlbarn/eigen/blob/0.0.3/_oasis#L24
synopsis: "Owl's OCaml interface to Eigen3 C++ library"
description:
"Eigen is a thin OCaml interface to Eigen3 C++ template library used in Owl to provide basic numerical support for both sparse and dense matrix operations."
url {
src: "https://github.com/ryanrhymes/eigen/archive/0.0.3.tar.gz"
checksum: [
"sha256=c48990d4a6420be1ca66f09c475c2ab5f5093e195c95ab334ff0d2c9c6feb4d6"
"md5=7b760555c2eb69bab93344730eb2833a"
]
}
extra-source "eigen.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/eigen/eigen.install.0.0.3"
checksum: [
"sha256=5b010bcd931b45da20d8004cb55ee72cc8193b8b0fe12070896fbdb73a00517b"
"md5=0d1b822c897681cf54b3e1aed52dda99"
]
}