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 9414e8d commit 550ddbeCopy full SHA for 550ddbe
intel-mkl-src/build.rs
@@ -66,10 +66,18 @@ fn main() -> Result<()> {
66
// where ocipkg download archive is not searched by ld
67
// unless user set `LD_LIBRARY_PATH` explictly.
68
if cfg.link == LinkType::Static {
69
- let _ = ocipkg::link_package(&format!(
70
- "ghcr.io/rust-math/rust-mkl/{}:2020.1-2851133947",
71
- MKL_CONFIG
72
- ));
+ if cfg!(target_os = "linux") {
+ let _ = ocipkg::link_package(&format!(
+ "ghcr.io/rust-math/rust-mkl/linux/{}:2020.1-3038006115",
+ MKL_CONFIG
73
+ ));
74
+ }
75
+ if cfg!(target_os = "windows") {
76
77
+ "ghcr.io/rust-math/rust-mkl/windows/{}:2022.0-3038006115",
78
79
80
81
}
82
83
Ok(())
0 commit comments