revert system blas

This commit is contained in:
Andrey Tkachenko 2020-08-27 22:20:15 +04:00
parent ef1a1149e8
commit 7f7815c24b
2 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,7 @@ build = "build.rs"
[dependencies] [dependencies]
cblas = "0.2.0" cblas = "0.2.0"
openblas-src = { version = "0.9.0", features = ["cblas", "lapacke", "system"] } openblas-src = { version = "0.9.0", features = ["cache", "static"] }
serde = {version = "1.0", features = ["derive"]} serde = {version = "1.0", features = ["derive"]}
serde_json = "1.0" serde_json = "1.0"

View File

@ -40,7 +40,8 @@ fn extract<P1: AsRef<Path>, P2: AsRef<Path>>(filename: P1, outpath: P2) -> anyho
} }
fn main() { fn main() {
println!("cargo:rustc-link-lib=dylib=lapacke"); // println!("cargo:rustc-link-lib=dylib=lapacke");
// println!("cargo:rustc-link-lib=dylib=cblas");
let out_path = PathBuf::from(env::var("OUT_DIR").unwrap()); let out_path = PathBuf::from(env::var("OUT_DIR").unwrap());