Skip to content

Commit 2c88594

Browse files
committed
Fix features and FFI link
1 parent bc7fa0f commit 2c88594

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

lax/src/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
//! Linear Algebra eXtension (LAX)
22
3+
extern crate blas_src;
4+
extern crate lapack_src;
5+
36
pub mod cholesky;
47
pub mod eig;
58
pub mod eigh;

ndarray-linalg/Cargo.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ license = "MIT"
1212
readme = "README.md"
1313
categories = ["algorithms", "science"]
1414

15+
[features]
16+
default = []
17+
intel-mkl = ["lax/intel-mkl"]
18+
netlib = ["lax/netlib"]
19+
openblas = ["lax/openblas"]
20+
1521
[dependencies]
1622
cauchy = "0.2.2"
1723
num-complex = "0.2.4"
@@ -28,7 +34,6 @@ default-features = false
2834
version = "0.1.0"
2935
path = "../lax"
3036
default-features = false
31-
features = ["openblas"]
3237

3338
[dev-dependencies]
3439
paste = "0.1.9"

0 commit comments

Comments
 (0)