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
3838
3939 # wrap
4040 import Krylov
41-
4241 using SciMLBase
43-
44- using MKL_jll
45-
4642 import Preferences
4743end
4844
49- if Preferences. @load_preference (" TriggerMKLLBT" , true )
45+ @static if Preferences. @load_preference (" TriggerMKLLBT" , true )
46+ using MKL_jll
5047 using MKL
48+ const usemkl = MKL_jll. is_available ()
49+ else
50+ const usemkl = false
5151end
5252
5353using Reexport
5454@reexport using SciMLBase
5555using SciMLBase: _unwrap_val
5656
57- const usemkl = MKL_jll. is_available ()
58-
5957abstract type SciMLLinearSolveAlgorithm <: SciMLBase.AbstractLinearAlgorithm end
6058abstract type AbstractFactorization <: SciMLLinearSolveAlgorithm end
6159abstract type AbstractKrylovSubspaceMethod <: SciMLLinearSolveAlgorithm end
You can’t perform that action at this time.
0 commit comments