Skip to content

Commit 330c616

Browse files
authored
Remove deprecated lazy loading for extensions
Removed lazy loading of chainrules for Julia < 1.9 and related Requires imports.
1 parent f3f3bee commit 330c616

1 file changed

Lines changed: 0 additions & 28 deletions

File tree

src/LinearOperators.jl

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -27,32 +27,4 @@ include("TimedOperators.jl")
2727
include("utilities.jl")
2828
include("deprecated.jl")
2929

30-
# lazy loading of chainrules for Julia < 1.9
31-
@static if !isdefined(Base, :get_extension)
32-
import Requires
33-
end
34-
35-
@static if !isdefined(Base, :get_extension)
36-
function __init__()
37-
Requires.@require AMDGPU = "21141c5a-9bdb-4563-92ae-f87d6854732e" begin
38-
include("../ext/LinearOperatorsAMDGPUExt.jl")
39-
end
40-
Requires.@require ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" begin
41-
include("../ext/LinearOperatorsChainRulesCoreExt.jl")
42-
end
43-
Requires.@require CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" begin
44-
include("../ext/LinearOperatorsCUDAExt.jl")
45-
end
46-
Requires.@require LDLFactorizations = "40e66cde-538c-5869-a4ad-c39174c6795b" begin
47-
include("../ext/LinearOperatorsLDLFactorizationsExt.jl")
48-
end
49-
Requires.@require JLArrays = "27aeb0d3-9eb9-45fb-866b-73c2ecf80fcb" begin
50-
include("../ext/LinearOperatorsJLArraysExt.jl")
51-
end
52-
Requires.@require Metal = "dde4c033-4e86-420c-a63e-0dd931031962" begin
53-
include("../ext/LinearOperatorsMetalExt.jl")
54-
end
55-
end
56-
end
57-
5830
end # module

0 commit comments

Comments
 (0)