Skip to content

Commit f43aaf2

Browse files
Merge pull request #537 from halentin/main
Remove CpuId-Dependency in favor of builtin function
2 parents 1c30db0 + ecdf424 commit f43aaf2

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ version = "2.33.0"
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
88
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
99
ConcreteStructs = "2569d6c7-a4a2-43d3-a901-331e8e4be471"
10-
CpuId = "adafc99b-e345-5852-983c-f28acb93d879"
1110
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
1211
EnumX = "4e289a0a-7415-4d19-859d-a7e5c4648b56"
1312
FastLapackInterface = "29a986be-02c6-4525-aec4-84b980013641"
@@ -73,7 +72,6 @@ CUDA = "5"
7372
CUDSS = "0.1, 0.2, 0.3"
7473
ChainRulesCore = "1.22"
7574
ConcreteStructs = "0.2.3"
76-
CpuId = "0.3.1"
7775
DocStringExtensions = "0.9.3"
7876
EnumX = "1.0.4"
7977
Enzyme = "0.11.15, 0.12"

src/LinearSolve.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ import PrecompileTools
4545
const CRC = ChainRulesCore
4646

4747
@static if Sys.ARCH === :x86_64 || Sys.ARCH === :i686
48-
import CpuId
49-
if Preferences.@load_preference("LoadMKL_JLL", !occursin("EPYC", CpuId.cpubrand()))
48+
if Preferences.@load_preference("LoadMKL_JLL", !occursin("EPYC", Sys.cpu_info()[1].model))
5049
using MKL_jll
5150
const usemkl = MKL_jll.is_available()
5251
else

test/qa.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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, :CpuId])
9+
Aqua.test_stale_deps(LinearSolve, ignore = [:MKL_jll])
1010
Aqua.test_unbound_args(LinearSolve)
1111
Aqua.test_undefined_exports(LinearSolve)
1212
end

0 commit comments

Comments
 (0)