File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -38,24 +38,22 @@ PrecompileTools.@recompile_invalidations begin
38
38
39
39
# wrap
40
40
import Krylov
41
-
42
41
using SciMLBase
43
-
44
- using MKL_jll
45
-
46
42
import Preferences
47
43
end
48
44
49
- if Preferences. @load_preference (" TriggerMKLLBT" , true )
45
+ @static if Preferences. @load_preference (" TriggerMKLLBT" , true )
46
+ using MKL_jll
50
47
using MKL
48
+ const usemkl = MKL_jll. is_available ()
49
+ else
50
+ const usemkl = false
51
51
end
52
52
53
53
using Reexport
54
54
@reexport using SciMLBase
55
55
using SciMLBase: _unwrap_val
56
56
57
- const usemkl = MKL_jll. is_available ()
58
-
59
57
abstract type SciMLLinearSolveAlgorithm <: SciMLBase.AbstractLinearAlgorithm end
60
58
abstract type AbstractFactorization <: SciMLLinearSolveAlgorithm end
61
59
abstract type AbstractKrylovSubspaceMethod <: SciMLLinearSolveAlgorithm end
You can’t perform that action at this time.
0 commit comments