-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
62 lines (62 loc) · 1.63 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
53
54
55
56
57
58
59
60
61
62
opam-version: "2.0"
maintainer: "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
authors: [ "Christophe Troestler <Christophe.Troestler@umons.ac.be>" ]
license: "LGPL-3.0-only WITH OCaml-LGPL-linking-exception"
homepage: "https://github.com/Chris00/L-BFGS-ocaml"
dev-repo: "git+https://github.com/Chris00/L-BFGS-ocaml.git"
bug-reports: "https://github.com/Chris00/L-BFGS-ocaml/issues"
build: [
[
"ocaml"
"setup.ml"
"-configure"
"--prefix"
prefix
"--%{lacaml:enable}%-lacaml"
]
["ocaml" "setup.ml" "-build"]
[
"ocaml"
"setup.ml"
"-configure"
"--enable-tests"
"--%{lacaml:enable}%-lacaml"
] {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: [
["ocamlfind" "remove" "lbfgs"]
]
depends: [
"ocaml" {< "4.06.0"}
"base-bigarray"
"base-bytes"
"camlp4" {build}
"ocamlfind" {build & >= "1.5"}
"ocamlbuild" {build}
]
depopts: [
"lacaml"
]
depexts: [
["gfortran"] {os-family = "debian"}
["mingw64-x86_64-gcc-fortran"] {os = "cygwin"}
["gcc"] {os = "macos" & os-distribution = "homebrew"}
]
synopsis:
"Minimization of multidimensional functions on bounded or unbounded domains."
description: """
This is a binding to L-BFGS-B, a library for Large-scale
Bound-constrained Optimization."""
flags: light-uninstall
url {
src:
"https://github.com/Chris00/L-BFGS-ocaml/releases/download/0.8.7/lbfgs-0.8.7.tar.gz"
checksum: [
"sha256=9e663e3fc6754aa5b0053c299bb8713aab5870e90b50d39a1a10fa71f433c8a7"
"md5=177ae85c0703e6a122d235259dcf04dd"
]
}