File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 1
1
2
2
function versioninfo (io:: IO = stdout )
3
- # get a hold of Pkg without adding a dependency on the package
4
- Pkg = let
5
- id = Base. PkgId (Base. UUID (" 44cfe95a-1eb2-52ea-b672-e2afdf69b78f" ), " Pkg" )
6
- Base. loaded_modules[id]
7
- end
8
- deps = Pkg. dependencies ()
9
- versions = Dict (map (uuid-> deps[uuid]. name => deps[uuid]. version, collect (keys (deps))))
10
-
11
3
if Sys. islinux ()
12
4
println (io, " Binary dependencies:" )
13
5
for jll in [oneL0. NEO_jll, oneL0. NEO_jll. libigc_jll, oneL0. NEO_jll. gmmlib_jll,
14
6
SPIRV_LLVM_Translator_unified_jll, SPIRV_Tools_jll]
15
7
name = string (jll)
16
- print (io, " - $(name[1 : end - 4 ]) : $(versions[name] ) " )
8
+ print (io, " - $(name[1 : end - 4 ]) : $(Base . pkgversion (jll) ) " )
17
9
if jll. host_platform != = nothing
18
10
debug = tryparse (Bool, get (jll. host_platform. tags, " debug" , " false" ))
19
11
if debug === true
You can’t perform that action at this time.
0 commit comments