Skip to content

Commit 77191af

Browse files
authored
Remove Requires.jl (#2999)
This should not be required now that our minimum supported version is 1.10, which has package extension support.
1 parent 5d9474a commit 77191af

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
3232
Random123 = "74087812-796a-5b5d-8853-05524746bad3"
3333
RandomNumbers = "e6cf234a-135c-5ec9-84dd-332b85af5143"
3434
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
35-
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
3635
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
3736
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
3837
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
@@ -82,7 +81,6 @@ Random = "1"
8281
Random123 = "1.2"
8382
RandomNumbers = "1.5.3"
8483
Reexport = "1.0"
85-
Requires = "1.0"
8684
SparseArrays = "1"
8785
SparseMatricesCSR = "0.6.9"
8886
SpecialFunctions = "1.3, 2"

src/CUDA.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ import KernelAbstractions
1414

1515
using Adapt: Adapt, adapt, WrappedArray
1616

17-
using Requires: @require
18-
1917
using LinearAlgebra
2018

2119
using BFloat16s: BFloat16

src/initialization.jl

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -171,18 +171,6 @@ function __init__()
171171
Please consider using an official build from https://julialang.org/downloads/."""
172172
end
173173

174-
@static if !isdefined(Base, :get_extension)
175-
@require ChainRulesCore="d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" begin
176-
include("../ext/ChainRulesCoreExt.jl")
177-
end
178-
@require SpecialFunctions="276daf66-3868-5448-9aa4-cd146d93841b" begin
179-
include("../ext/SpecialFunctionsExt.jl")
180-
end
181-
@require EnzymeCore = "f151be2c-9106-41f4-ab19-57ee4f262869" begin
182-
include("../ext/EnzymeCoreExt.jl")
183-
end
184-
end
185-
186174
# enable generation of FMA instructions to mimic behavior of nvcc
187175
LLVM.clopts("-nvptx-fma-level=1")
188176

0 commit comments

Comments
 (0)