Skip to content

Commit 40b630b

Browse files
committed
Remove unused
1 parent a422662 commit 40b630b

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

intel-mkl-tool/src/lib.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@
9191
//!
9292
9393
use anyhow::*;
94-
use log::*;
9594
use std::path::*;
9695

9796
mod config;
@@ -149,19 +148,3 @@ pub fn xdg_home_path() -> PathBuf {
149148
mkl::VERSION_UPDATE
150149
))
151150
}
152-
153-
pub fn seek_pkg_config() -> Option<PathBuf> {
154-
if let Ok(lib) = pkg_config::probe_library("mkl-dynamic-lp64-seq") {
155-
if lib.libs.len() > 1 {
156-
warn!("Found {} MKL libraries. Use first found.", lib.libs.len())
157-
}
158-
return Some(PathBuf::from(lib.libs[0].clone()));
159-
}
160-
None
161-
}
162-
163-
pub fn download_default<P: AsRef<Path>>(out_dir: P) -> Result<()> {
164-
let cfg = Config::from_str("mkl-dynamic-lp64-seq").unwrap();
165-
cfg.download(out_dir)?;
166-
Ok(())
167-
}

0 commit comments

Comments
 (0)