use system lapack and openblas
This commit is contained in:
parent
7f7815c24b
commit
a2d5d6a518
@ -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"
|
||||
|
3
build.rs
3
build.rs
@ -40,8 +40,7 @@ fn extract<P1: AsRef<Path>, P2: AsRef<Path>>(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());
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
extern crate cblas;
|
||||
extern crate cblas_src;
|
||||
extern crate openblas_src;
|
||||
|
||||
#[used]
|
||||
|
Loading…
Reference in New Issue
Block a user