-
Notifications
You must be signed in to change notification settings - Fork 9
/
opam
45 lines (43 loc) · 1 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: "1.2"
available: [ ocaml-version >= "4.03" ]
maintainer: "Leonid Rozenberg <[email protected]>"
authors: "Leonid Rozenberg <[email protected]>"
homepage: "https://github.com/hammerlab/oml/"
dev-repo: "https://github.com/hammerlab/oml.git"
bug-reports: "https://github.com/hammerlab/oml/issues"
license: "Apache2"
depends: [
"ocamlfind" {build}
"ocamlbuild" {build}
"topkg" {build}
"kaputt" {test}
"dsfo" {test}
]
depopts: [
"lacaml"
"lbfgs"
"ocephes"
]
conflicts: [
"lacaml" { <= "8.06"}
"lacaml" { >= "9.2.3" }
"lbfgs" { < "0.8.7" }
"ocephes" { < "0.8" }
]
build: [[
"ocaml" "pkg/pkg.ml" "build"
"--pinned" "%{pinned}%"
"--with-lacaml" lacaml:installed
"--with-lbfgs" lbfgs:installed
"--with-ocephes" ocephes:installed
]]
build-test: [
[ "ocaml" "pkg/pkg.ml" "build"
"--pinned" "%{pinned}%"
"--build-dir" "_test"
"-n" "omltest"
"--tests" "true" ]
[ "ocaml" "pkg/pkg.ml" "test"
"--build-dir" "_test"
]
]