File tree Expand file tree Collapse file tree 3 files changed +1
-13
lines changed Expand file tree Collapse file tree 3 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ LLVMExtra_jll = "dad2f222-ce93-54a1-a47d-0025e8a3acab"
8
8
Libdl = " 8f399da3-3557-5675-b5ff-fb832c97cbdb"
9
9
Preferences = " 21216c6a-2e73-6563-6e65-726566657250"
10
10
Printf = " de0858da-6303-5e67-8744-51eddeeeb8d7"
11
- Requires = " ae029012-a4dd-5104-9daa-d747884805df"
12
11
Unicode = " 4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
13
12
14
13
[weakdeps ]
@@ -24,7 +23,6 @@ LLVMExtra_jll = "=0.0.34"
24
23
Libdl = " 1.8"
25
24
Preferences = " 1.4"
26
25
Printf = " 1.8"
27
- Requires = " 1.3"
28
26
Unicode = " 1.8"
29
27
julia = " 1.10"
30
28
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module BFloat16sExt
3
3
using LLVM
4
4
using LLVM: API
5
5
6
- isdefined (Base, :get_extension ) ? ( using BFloat16s) : ( using .. BFloat16s)
6
+ using BFloat16s
7
7
8
8
# # constant values
9
9
Original file line number Diff line number Diff line change @@ -7,10 +7,6 @@ using Libdl
7
7
8
8
using CEnum
9
9
10
- if ! isdefined (Base, :get_extension )
11
- using Requires: @require
12
- end
13
-
14
10
15
11
# # source code includes
16
12
@@ -119,12 +115,6 @@ function __init__()
119
115
Please re-compile Julia and LLVM.jl (but note that USE_SYSTEM_LLVM is not a supported configuration)."""
120
116
end
121
117
122
- @static if ! isdefined (Base, :get_extension )
123
- @require BFloat16s = " ab4f0b2a-ad5b-11e8-123f-65d77653426b" begin
124
- include (" ../ext/BFloat16sExt.jl" )
125
- end
126
- end
127
-
128
118
_install_handlers ()
129
119
atexit (report_leaks)
130
120
end
You can’t perform that action at this time.
0 commit comments