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 840f5e1 commit b9d1a35Copy full SHA for b9d1a35
intel-mkl-tool/src/entry.rs
@@ -230,6 +230,7 @@ impl Library {
230
return Ok(lib);
231
}
232
if let Ok(mklroot) = std::env::var("MKLROOT") {
233
+ log::info!("MKLROOT environment variable is detected: {}", mklroot);
234
if let Some(lib) = Self::seek_directory(config, mklroot)? {
235
236
@@ -294,6 +295,7 @@ impl Library {
294
295
296
/// Print `cargo:rustc-link-*` metadata to stdout
297
pub fn print_cargo_metadata(&self) -> Result<()> {
298
+ println!("cargo:rerun-if-env-changed=MKLROOT");
299
println!("cargo:rustc-link-search={}", self.library_dir.display());
300
if let Some(iomp5_dir) = &self.iomp5_dir {
301
if iomp5_dir != &self.library_dir {
0 commit comments