File tree Expand file tree Collapse file tree 3 files changed +27
-5
lines changed Expand file tree Collapse file tree 3 files changed +27
-5
lines changed Original file line number Diff line number Diff line change @@ -235,17 +235,31 @@ mod tests {
235
235
} ;
236
236
}
237
237
238
- mod dynamic {
238
+ #[ cfg( target_os = "windows" ) ]
239
+ mod macos {
240
+ use super :: * ;
241
+ impl_test_download ! ( "mkl-dynamic-lp64-seq" ) ;
242
+ impl_test_download ! ( "mkl-dynamic-ilp64-seq" ) ;
243
+ impl_test_download ! ( "mkl-static-lp64-seq" ) ;
244
+ impl_test_download ! ( "mkl-static-ilp64-seq" ) ;
245
+ }
246
+
247
+ #[ cfg( target_os = "macos" ) ]
248
+ mod macos {
239
249
use super :: * ;
240
250
impl_test_download ! ( "mkl-dynamic-lp64-seq" ) ;
241
251
impl_test_download ! ( "mkl-dynamic-lp64-iomp" ) ;
242
252
impl_test_download ! ( "mkl-dynamic-ilp64-seq" ) ;
243
253
impl_test_download ! ( "mkl-dynamic-ilp64-iomp" ) ;
244
254
}
245
255
246
- #[ cfg( all ( target_os = "linux" , target_arch = "x86_64" ) ) ]
247
- mod static_ {
256
+ #[ cfg( target_os = "linux" ) ]
257
+ mod linux {
248
258
use super :: * ;
259
+ impl_test_download ! ( "mkl-dynamic-lp64-seq" ) ;
260
+ impl_test_download ! ( "mkl-dynamic-lp64-iomp" ) ;
261
+ impl_test_download ! ( "mkl-dynamic-ilp64-seq" ) ;
262
+ impl_test_download ! ( "mkl-dynamic-ilp64-iomp" ) ;
249
263
impl_test_download ! ( "mkl-static-lp64-seq" ) ;
250
264
impl_test_download ! ( "mkl-static-lp64-iomp" ) ;
251
265
impl_test_download ! ( "mkl-static-ilp64-seq" ) ;
Original file line number Diff line number Diff line change @@ -114,6 +114,14 @@ impl Entry {
114
114
targets. seek ( opt_mkl. join ( "lib/intel64" ) ) ;
115
115
}
116
116
117
+ // Default setting for Windows installer
118
+ let windows_mkl =
119
+ PathBuf :: from ( "C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows" ) ;
120
+ if windows_mkl. exists ( ) {
121
+ targets. seek ( windows_mkl. join ( "mkl/lib/intel64" ) ) ;
122
+ targets. seek ( windows_mkl. join ( "compiler/lib/intel64" ) ) ;
123
+ }
124
+
117
125
if targets. found_any ( ) {
118
126
return Ok ( Self { config, targets } ) ;
119
127
} else {
Original file line number Diff line number Diff line change @@ -128,8 +128,8 @@ mod mkl {
128
128
pub const EXTENSION_STATIC : & ' static str = "lib" ;
129
129
pub const EXTENSION_SHARED : & ' static str = "lib" ;
130
130
pub const PREFIX : & ' static str = "" ;
131
- pub const VERSION_YEAR : u32 = 2019 ;
132
- pub const VERSION_UPDATE : u32 = 5 ;
131
+ pub const VERSION_YEAR : u32 = 2020 ;
132
+ pub const VERSION_UPDATE : u32 = 1 ;
133
133
}
134
134
135
135
fn s3_addr ( ) -> String {
You can’t perform that action at this time.
0 commit comments