diff --git a/Cargo.toml b/Cargo.toml index 2a0a84c..6fab29d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,10 +8,10 @@ build = "build.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cblas = "0.2.0" -openblas-src = { version = "0.9.0", features = ["cache", "static"] } +openblas-src = { version = "0.9.0", features = ["system"] } serde = {version = "1.0", features = ["derive"]} serde_json = "1.0" +cblas-src = "0.1" [build-dependencies] bindgen = "0.54" diff --git a/build.rs b/build.rs index 196c825..c042f84 100644 --- a/build.rs +++ b/build.rs @@ -40,8 +40,7 @@ fn extract, P2: AsRef>(filename: P1, outpath: P2) -> anyho } fn main() { - // println!("cargo:rustc-link-lib=dylib=lapacke"); - // println!("cargo:rustc-link-lib=dylib=cblas"); + println!("cargo:rustc-link-lib=dylib=lapack"); let out_path = PathBuf::from(env::var("OUT_DIR").unwrap()); diff --git a/src/lib.rs b/src/lib.rs index 9086cba..6163db0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -extern crate cblas; +extern crate cblas_src; extern crate openblas_src; #[used]