File tree 3 files changed +10
-7
lines changed
3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
name = " LinearSolve"
2
2
uuid = " 7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
3
3
authors = [" SciML" ]
4
- version = " 2.31.0 "
4
+ version = " 2.31.1 "
5
5
6
6
[deps ]
7
7
ArrayInterface = " 4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
Original file line number Diff line number Diff line change @@ -41,13 +41,16 @@ import PrecompileTools
41
41
import Krylov
42
42
using SciMLBase
43
43
import Preferences
44
- import CpuId
45
-
46
44
const CRC = ChainRulesCore
47
45
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
51
54
else
52
55
const usemkl = false
53
56
end
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ using LinearSolve, Aqua
6
6
Aqua. test_piracies (LinearSolve,
7
7
treat_as_own = [LinearProblem])
8
8
Aqua. test_project_extras (LinearSolve)
9
- Aqua. test_stale_deps (LinearSolve, ignore = [:MKL_jll ])
9
+ Aqua. test_stale_deps (LinearSolve, ignore = [:MKL_jll , :CpuId ])
10
10
Aqua. test_unbound_args (LinearSolve)
11
11
Aqua. test_undefined_exports (LinearSolve)
12
12
end
You can’t perform that action at this time.
0 commit comments