-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
75 lines (62 loc) · 1.54 KB
/
Cargo.toml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "bqskitrs"
version = "0.3.0"
authors = [
"Ethan Smith <[email protected]>",
"Ed Younis <[email protected]>",
]
publish = false
license = "LGPL-2.1 AND BSD-3-Clause"
edition = "2021"
build = "build.rs"
[features]
openblas = [
"openblas-src",
"openblas-src/static",
"ndarray-linalg/openblas-static",
]
accelerate = [
"accelerate-src",
]
mkl = [
"intel-mkl-src",
"ndarray-linalg/intel-mkl-static"
]
[dependencies]
ndarray = { version = "0.15.6", features = ["blas"] }
ndarray-linalg = "0.16.0"
openblas-src = { version = "0.10", optional = true }
accelerate-src = { version = "0.3.2", optional = true }
intel-mkl-src = { version = "0.8.1", optional = true }
ndarray_einsum_beta = "0.7.0"
nlopt = "0.6.0"
enum_dispatch = "0.3.8"
itertools = "0.10.5"
derive_more = "0.99.17"
mimalloc = { version = "0.1.30", optional = true, default-features = false, features = ["local_dynamic_tls"] }
ceres = { path="./ceres", features = ["static"] }
numpy = "0.17.2"
pyo3 = { version = "0.17.2", features = ["extension-module", "abi3-py38"] }
[target.'cfg(target_os = "windows")'.build-dependencies]
vcpkg = "0.2.15"
[lib]
name = "bqskitrs"
path = "src/lib.rs"
crate-type = ["cdylib"]
[profile.release]
lto = "fat"
codegen-units = 1
opt-level = 3
debug = true
[package.metadata.vcpkg]
git = "https://github.com/microsoft/vcpkg"
rev = "2022.09.27"
[package.metadata.vcpkg.target]
x86_64-pc-windows-msvc = { triplet="x64-windows-static-md", install=[
"ceres",
"eigen3",
"openblas",
"glog",
"gflags",
"clapack",
] }