File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 11name = " LinearSolve"
22uuid = " 7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
33authors = [" SciML" ]
4- version = " 2.31.0 "
4+ version = " 2.31.1 "
55
66[deps ]
77ArrayInterface = " 4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
Original file line number Diff line number Diff line change @@ -41,13 +41,16 @@ import PrecompileTools
4141 import Krylov
4242 using SciMLBase
4343 import Preferences
44- import CpuId
45-
4644const CRC = ChainRulesCore
4745
48- if Preferences. @load_preference (" LoadMKL_JLL" , ! occursin (" EPYC" , CpuId. cpubrand ()))
49- using MKL_jll
50- const usemkl = MKL_jll. is_available ()
46+ @static if Sys. ARCH === :x86_64 || Sys. ARCH === :i686
47+ import CpuId
48+ if Preferences. @load_preference (" LoadMKL_JLL" , ! occursin (" EPYC" , CpuId. cpubrand ()))
49+ using MKL_jll
50+ const usemkl = MKL_jll. is_available ()
51+ else
52+ const usemkl = false
53+ end
5154else
5255 const usemkl = false
5356end
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ using LinearSolve, Aqua
66 Aqua. test_piracies (LinearSolve,
77 treat_as_own = [LinearProblem])
88 Aqua. test_project_extras (LinearSolve)
9- Aqua. test_stale_deps (LinearSolve, ignore = [:MKL_jll ])
9+ Aqua. test_stale_deps (LinearSolve, ignore = [:MKL_jll , :CpuId ])
1010 Aqua. test_unbound_args (LinearSolve)
1111 Aqua. test_undefined_exports (LinearSolve)
1212end
You can’t perform that action at this time.
0 commit comments