Skip to content

Commit

Permalink
Use the recently registered XRootD_cxxwrap_jll
Browse files Browse the repository at this point in the history
  • Loading branch information
peremato committed May 29, 2024
1 parent 65f4e33 commit 5df7aa5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version = "0.1.0"
[deps]
CxxWrap = "1f15a43c-97ca-5a2a-ae31-89f07a497df4"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
XRootD_cxxwrap_jll = "bb14ce0c-f071-543a-8ca1-cd3dc3e29ed0"
XRootD_jll = "b6113df7-b24e-50c0-846f-35a2e36cb9d5"

[compat]
Expand Down
6 changes: 3 additions & 3 deletions src/XRootD.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ module XRootD
include(joinpath(gendir, "jl/XRootD-export.jl"))
@wrapmodule(()->joinpath(gendir, "build/lib", "libXRootDWrap.$(Libdl.dlext)"))
else
#using XRootD_cxxwrap_jll
#include(XRootD_julia_jll.XRootD_exports)
#@wrapmodule(()->XRootD_julia_jll.libXRootDWrap)
using XRootD_cxxwrap_jll
include(XRootD_cxxwrap_jll.XRootD_exports)
@wrapmodule(()->XRootD_cxxwrap_jll.libXRootDWrap)
end

function __init__()
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Revise
using Test

using XRootD_jll
Expand All @@ -8,6 +7,7 @@ using XRootD.XrdCl
xrootd_server = run(XRootD_jll.xrootd(); wait=false)
sleep(1)

#---Test the XRootD.jl package---------------------------------------------------------------------
@testset "XRootD tests" verbose = true begin
include("testFileSystem.jl")
include("testFile.jl")
Expand Down

0 comments on commit 5df7aa5

Please sign in to comment.