Skip to content

Commit

Permalink
excise Pkg dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Jun 4, 2019
1 parent 43574ae commit 543e69f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
LLVM = "929cbde3-209d-540e-8aea-75f648917ca0"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"

Expand Down
1 change: 0 additions & 1 deletion src/CUDAnative.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ using Adapt
using TimerOutputs
using DataStructures

using Pkg
using Libdl

const ext = joinpath(@__DIR__, "..", "deps", "ext.jl")
Expand Down
8 changes: 5 additions & 3 deletions src/compiler/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,11 @@ function Base.showerror(io::IO, err::InternalCompilerError)
end
end

println(io, "\nInstalled packages:")
for (pkg,ver) in Pkg.installed()
println(io, " - $pkg = $ver")
let Pkg = Base.require(Base.PkgId(Base.UUID((0x44cfe95a1eb252ea, 0xb672e2afdf69b78f)), "Pkg"))
println(io, "\nInstalled packages:")
for (pkg,ver) in Pkg.installed()
println(io, " - $pkg = $ver")
end
end

println(io)
Expand Down

0 comments on commit 543e69f

Please sign in to comment.