File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,6 @@ categories = ["science"]
22
22
keywords = [" linear-algebra" ]
23
23
build = " build.rs"
24
24
links = " openblas"
25
- exclude = [
26
- " source/benchmark/*" ,
27
- " source/ctest/*" ,
28
- " source/lapack-netlib/BLAS/TESTING/*" ,
29
- " source/lapack-netlib/CBLAS/testing/*" ,
30
- " source/lapack-netlib/TESTING/*.in" ,
31
- " source/lapack-netlib/TESTING/EIG/*" ,
32
- " source/lapack-netlib/TESTING/LIN/*" ,
33
- " source/reference/*" ,
34
- " source/test/*" ,
35
- " source/utest/*" ,
36
- ]
37
25
38
26
[features ]
39
27
default = [" cblas" , " lapacke" ]
Original file line number Diff line number Diff line change @@ -160,13 +160,13 @@ fn build() {
160
160
) ;
161
161
}
162
162
163
- let source =
164
- PathBuf :: from ( env ! ( "CARGO_MANIFEST_DIR" ) ) . join ( format ! ( "OpenBLAS-{}" , OPENBLAS_VERSION ) ) ;
163
+ let source = output. join ( format ! ( "OpenBLAS-{}" , OPENBLAS_VERSION ) ) ;
165
164
if !source. exists ( ) {
165
+ let crate_root = PathBuf :: from ( env ! ( "CARGO_MANIFEST_DIR" ) ) ;
166
166
Command :: new ( "tar" )
167
167
. arg ( "xf" )
168
- . arg ( format ! ( "OpenBLAS-{}.tar.gz" , OPENBLAS_VERSION ) )
169
- . current_dir ( env ! ( "CARGO_MANIFEST_DIR" ) )
168
+ . arg ( crate_root . join ( format ! ( "OpenBLAS-{}.tar.gz" , OPENBLAS_VERSION ) ) )
169
+ . current_dir ( & output )
170
170
. status ( )
171
171
. expect ( "tar command not found" ) ;
172
172
}
You can’t perform that action at this time.
0 commit comments