We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a422662 commit 40b630bCopy full SHA for 40b630b
intel-mkl-tool/src/lib.rs
@@ -91,7 +91,6 @@
91
//!
92
93
use anyhow::*;
94
-use log::*;
95
use std::path::*;
96
97
mod config;
@@ -149,19 +148,3 @@ pub fn xdg_home_path() -> PathBuf {
149
148
mkl::VERSION_UPDATE
150
))
151
}
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