File tree Expand file tree Collapse file tree 2 files changed +11
-14
lines changed Expand file tree Collapse file tree 2 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 121
121
include (" factorization_sparse.jl" )
122
122
end
123
123
124
- @static if ! isdefined (Base, :get_extension )
125
- function __init__ ()
126
- @require IterativeSolvers= " b77e0a4c-d291-57a0-90e8-8db25a27a240" begin
127
- include (" ../ext/LinearSolveIterativeSolversExt.jl" )
128
- end
129
- @require KrylovKit= " 0b1a1467-8014-51b9-945f-bf0ae24f4b77" begin
130
- include (" ../ext/LinearSolveKrylovKitExt.jl" )
131
- end
132
- @require MKL_jll= " 856f044c-d86e-5d09-b602-aeab76dc8ba7" begin
133
- include (" ../ext/LinearSolveMKLExt.jl" )
134
- end
135
- end
136
- end
137
-
138
124
const IS_OPENBLAS = Ref (true )
139
125
isopenblas () = IS_OPENBLAS[]
140
126
Original file line number Diff line number Diff line change @@ -5,4 +5,15 @@ function __init__()
5
5
else
6
6
IS_OPENBLAS[] = occursin (" openblas" , BLAS. get_config (). loaded_libs[1 ]. libname)
7
7
end
8
+ @static if ! isdefined (Base, :get_extension )
9
+ @require IterativeSolvers= " b77e0a4c-d291-57a0-90e8-8db25a27a240" begin
10
+ include (" ../ext/LinearSolveIterativeSolversExt.jl" )
11
+ end
12
+ @require KrylovKit= " 0b1a1467-8014-51b9-945f-bf0ae24f4b77" begin
13
+ include (" ../ext/LinearSolveKrylovKitExt.jl" )
14
+ end
15
+ @require MKL_jll= " 856f044c-d86e-5d09-b602-aeab76dc8ba7" begin
16
+ include (" ../ext/LinearSolveMKLExt.jl" )
17
+ end
18
+ end
8
19
end
You can’t perform that action at this time.
0 commit comments