File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 1
1
//! Execute make of OpenBLAS, and its options
2
2
3
3
use super :: * ;
4
- use std:: {
5
- fs,
6
- os:: unix:: io:: * ,
7
- path:: * ,
8
- process:: { Command , Stdio } ,
9
- } ;
4
+ use std:: { fs, path:: * , process:: Command } ;
10
5
use walkdir:: WalkDir ;
11
6
12
7
fn openblas_source_dir ( ) -> PathBuf {
@@ -227,14 +222,9 @@ impl Configure {
227
222
}
228
223
}
229
224
230
- let out = fs:: File :: create ( out_dir. join ( "out.log" ) ) . expect ( "Cannot create log file" ) ;
231
- let err = fs:: File :: create ( out_dir. join ( "err.log" ) ) . expect ( "Cannot create log file" ) ;
232
-
233
225
// This will automatically run in parallel without `-j` flag
234
226
Command :: new ( "make" )
235
227
. current_dir ( out_dir)
236
- . stdout ( unsafe { Stdio :: from_raw_fd ( out. into_raw_fd ( ) ) } ) // this works only for unix
237
- . stderr ( unsafe { Stdio :: from_raw_fd ( err. into_raw_fd ( ) ) } )
238
228
. args ( & self . make_args ( ) )
239
229
. check_call ( ) ?;
240
230
You can’t perform that action at this time.
0 commit comments